- 论坛徽章:
- 0
|
问题已解决
谢谢红雨大哥,按您的方法做,现在qmail-scanner已经开始工作了~~好高兴
郁闷好久的问题终于解决了~~~万分感谢
不过不知道是我水平不行还是怎么着觉得你的脚本有一点点错
现修改如下:希望以后碰到相同问题的人能够借鉴
# vi /var/qmail/supervise/qmail-smtpd/run
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
QMAILQUEUE=“var/qmail/bin/qmail-scanner-queue.pl” export QMAILQUEUE
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 40000000 \
/usr/local/bin/tcpserver -v -H -R -l 0 \
-x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
/var/qmail/bin/qmail-smtpd \
/home/vpopmail/bin/vchkpw /bin/true 2>&1
# vi /home/vpopmail/etc/tcp.smtp
127.0.0.1:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-queue"
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
# cd /home/vpopmail/etc; tcprules tcp.smtp.cdb tcp.smtp.tmp<tcp.smtp
# qmailctl stop; qmailctl start
再次感谢红雨大哥 |
|