qmail-pop3d
#!/bin/sh
PATH=/var/qmail/bin:/home/vpopmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH
sleep 10
#_host=`hostname`
#echo $_host
_fqdn='liuhe.test.com'
[ x$_fqdn = x ] && exit
echo $_fqdn
exec env - PATH=$PATH \
tcpserver -HRDl0 -u vpopmail -g vchkpw 0 pop3 \
qmail-popup $_fqdn vchkpw qmail-pop3d Maildir 2>&1
qmail-send
#!/bin/sh
PATH=/var/qmail/bin:/home/vpopmail/bin:/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin
export PATH
sleep 10
trigger=/var/qmail/queue/lock/trigger
if [ ! -p ${trigger} ]; then
mkfifo -m 622 ${trigger}
chown qmails:qmail ${trigger}
fi
exec env - PATH=$PATH \
qmail-start ./Maildir/ 2>&1
qmail-smtpd
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 8000000 \
/usr/local/bin/tcpserver -v -H -R -l 0 \
-x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
/usr/local/bin/rblsmtpd \
-r cblplus.anti-spam.org.cn \
/var/qmail/bin/qmail-smtpd \
/home/vpopmail/bin/vchkpw /bin/true 2>&1
阅读(1113) | 评论(0) | 转发(0) |