#!/bin/sh
SIMSCAN_DEBUG=2
export SIMSCAN_DEBUG
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 16000000 \
/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
1.增加了SIMSCAN_DEBUG=2
export SIMSCAN_DEBUG,這樣可以對郵件流程進行比較細的分析,
2.把-m 8000000改為了16000000,這下不會有 421 421 out of memory (#4.3.0) 錯誤了.
3.把cat /var/qmail/control/simcontrol
:clam=yes,spam=yes,spam_passthru=yes,attach=.vbs:.scr:.wsh:.hta:.pif
改為no了,這樣垃圾郵件將會被服務器拒絕.
阅读(2448) | 评论(0) | 转发(0) |