- 论坛徽章:
- 0
|
我用的是 Linux AS4.0 ,qmail-1.03,vpopmail-5.4.13,ucspi-tcp-0.88,daemontools-0.76,
qmail rc
#!/bin/sh
# Using stdout for logging
# Using control/defaultdelivery from qmail-local to deliver messages by default
exec env - PATH="/var/qmail/bin PATH" \
qmail-start "`cat /var/qmail/control/defaultdelivery`"
pop3d run
#!/bin/sh
VPOPMAILUID=`id -u vpopmail`
VPOPMAILGID=`id -g vpopmail`
exec /usr/local/bin/tcpserver -l 0 -R -H -v \
-u"$VPOPMAILUID" -g"$VPOPMAILGID" 0 110 \
/var/qmail/bin/qmail-popup tigergroup.com.cn \
/home/vpopmail/bin/vchkpw \
/var/qmail/bin/qmail-pop3d Maildir 2>&1
smtpd run
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 6000000 \
/usr/local/bin/tcpserver -H -R -l 0 \
-x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
/var/qmail/bin/qmail-smtpd tigergroup.com.cn \
/home/vpopmail/bin/vchkpw /bin/true 2>&1
pop3ds run
#!/bin/sh
VPOPMAILUID=`id -u vpopmail`
VPOPMAILGID=`id -g vpopmail`
exec /usr/local/bin/tcpserver -l 0 -R -H -v \
-u"$VPOPMAILUID" -g"$VPOPMAILGID" 0 995 \
/usr/sbin/stunnel -f -p /var/qmail/control/servercert.pem \
-l /var/qmail/bin/qmail-popup -- qmail-popup tigergroup.com.cn \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1
[ 本帖最后由 bootsteven 于 2006-11-29 12:10 编辑 ] |
|