|
安装netqmail-1.06
daemontools-0.76.tar
ucspi-tcp-0.88.tar
vpopmail-5.4.27.tar
courier-authlib-0.58.tar
courier-imap-4.4.1.tar
sqwebmail-5.3.1.tar
发送失败是报454 oops, unable to write pipe and I can’t auth
参看 http://bianbian.org/technology/241.html 修改了,还是会报错,,,但第二次点击发送,就能发送成功,当然有时候要点3次发送
/var/qmail/rc内容
#!/bin/sh
# Using stdout for logging
# Using control/defaultdelivery from qmail-local to deliver messages by default
exec env - PATH="/var/qmail/binPATH" \
qmail-start "`cat /var/qmail/control/defaultdelivery`"
pop3 /run 脚本内容
#!/bin/sh
DOMAIN=`hostname`
exec /usr/local/bin/tcpserver -H -R 0 pop-3 /VDS/APPS/qmail/bin/qmail-popup $DOMAIN /VDS/APPS/vpopmail/bin/vchkpw /VDS/APPS/qmail/bin/qmail-pop3d Maildir 2>&1
smtpd /run 脚本内容
#!/bin/sh
DOMAIN='head -1 /var/qmail/control/me'
QMAILDUID='id -u qmaild'
NOFILESGID='id -g qmaild'
exec /usr/local/bin/softlimit -m 2000000 /usr/local/bin/tcpserver -H -R -p -x /etc/tcp.smtp.cdb -u $QMAILDUID -g $NOFILESGID 0 smtp /VDS/APPS/qmail/bin/qmail-smtpd /VDS/APPS/vpopmail/bin/vchkpw /bin/true /bin/cmd5checkpw /bin/true 2>&1 |
|