This Domain(Admin5.com) is for Sale:

Qmail邮件伺服器安装过程

时间:2007-10-27  来源:不详  作者:林仙

#cdqmail-1.03
#patch-p1<../patch/qmail-103.patch
#patch-p1<../patch/qmailqueue-patch
#patch-p1<../patch/qmail-maildir .patch
#patch-p1<../patch/qmail-1.03.errno.patch
#patch-p1<../patch/qmail-1.03.qmail_local.patch


#viqmail-smtpd.c//将函数straynewline中的451改为553
//将451改为553是为避免当其它服务器给你发来无效格式的邮件时,你的服务器陷入循环应答。
#makesetupcheck
#./config-fasttest.com

  
  建立系统别名:

#cd~alias;touch.qmail-postmaster.qmail-mailer-daemon.qmail-root
#echotest.com>/var/qmail/control/helohost\\主机名(解决新浪拒收邮件问题)
#chmod644~alias/.qmail*
#echo"127.0.0.1:allow,RELAYCLIENT=""">/etc/tcp.smtp
#chmod4755/bin/checkpassword
#sed’s/Mailbox/Maildir\//’/var/qmail/boot/home>/var/qmail/rc
(修改/var/qmail/rc把./Mailbox改成./Maildir/使用Maildir的pop3收信方式)
#chmod755/var/qmail/rc


  停止sendmail服务:

#/etc/rc.d/init.d/sendmailstop
#rpm–e–nodepssendmail

织梦好,好织梦




  QmailWeb管理系统:

安装虚拟域



#groupaddvchkpw
#useradd-gvchkpwvpopmail
#mkdir~vpopmail/etc
#echo"127.0.0.:allow,RELAYCLIENT=\"\"">~vpopmail/etc/tcp.smtp
#echo":allow">/etc/tcp.smtp
#/usr/local/bin/tcprules/etc/tcp.smtp.cdb/etc/tcp.smtp.tmp</etc/tcp.smtp
#cd/usr/local/src
#tarxzvfvpopmail-5.2.1.tar.gz

#cdvpopmail-5.2.1
#./configure--enable-roaming-users=y--enable-default-domain=test.com--enable-passwd=n
#make
#makeinstall-strip


#crontab–e
40****/home/vpopmail/bin/clearopensmtp2>&1>/dev/null
#cd/home/vpopmail/bin
#./vadddomaintest.comeitop
#./vaddusertest@test.comtest
#chmod6755/home/vpopmail/bin/vchkpw


安装邮件列表

#tarxzvfezmlm-0.53-idx-0.41.tar.gz
#cdezmlm-0.53-idx-0.41
#make
#makeman
#makesetup

安装自动回复程序


#tarzxvfautorespond.tar.gz
#make(gcc-Wall-oautorespondautorespond.c)
#makeinstall(cpautorespond/usr/local/bin/autorespond)

看完这篇,您有何感觉呢?

文章评论

共有位Admini5网友发表了评论 查看完整内容

24小时热门信息