Mam problem z qmail'em, nie chce filtrować poczty przez rblsmtp.
Wycinek skryptu uruchamiającego qmail'a:
Kod: Zaznacz cały
logger="splogger qmail 2" # facility mail == 2
#logger="|accustamp >>/var/log/qmail.log" # If you have accustamp installed.
logger=">>/var/log/qmail.log" # Does not give timing info.
# If you uncommented one of the lines that appends to /var/log/qmail.log, you
# need to uncomment the following two lines.
touch /var/log/qmail.log
chown qmaill /var/log/qmail.log
# If you want to use one or more of the Relay Black Lists, uncomment
# the appropriate lines.
#rblmsg=
#rblsmtpd=
rblmsg=" (with rblsmtpd)"
#rblsmtpd="/usr/bin/rblsmtpd -r relays.ordb.org"
#rblsmtpd="/usr/bin/rblsmtpd -b -r bl.spamcop.net"
#-r ralays.ordb.org"
rblsmtpd="/usr/bin/rblsmtpd -r sbl.spamhaus.org"
#
# End of configuration
#
test -x /usr/sbin/qmail-start || exit 0
test -x /usr/sbin/qmail-send || exit 0
case "$1" in
start)
sleep 3
echo -n "Starting mail-transfer agent: qmail" $rblmsg
sh -c "start-stop-daemon --start --quiet --user qmails \
--exec /usr/sbin/qmail-send \
--startas /usr/sbin/qmail-start -- \"$alias_empty\" $logger &"
# prevent denial-of-service attacks, with ulimit
#ulimit -v 8192
# $rblsmtpd \
sh -c "start-stop-daemon --start --quiet --user qmaild \
--exec /usr/bin/tcpserver -- -R -H \
-u `id -u qmaild` -g `id -g nobody` -x /etc/tcp.smtp.cdb 0 smtp $rblsmtpd \
/usr/sbin/qmail-smtpd domena.pl /bin/cmd5checkpw /bin/true 2>&1 \
| $logger &"
# Uncomment the following lines to automatically start the pop3 server
sh -c "start-stop-daemon --start --quiet --user root \
--exec /usr/bin/tcpserver -- -R -H \
0 pop-3 /usr/sbin/qmail-popup `hostname`.`dnsdomainname` \
/usr/bin/checkpassword /usr/sbin/qmail-pop3d Maildir &"
echo "."
;;
stop)
W logach nie ma śladu o rblsmtp.
Testowy mail z adresu nelson-sbl-test@crynwr.com dochodzi.
Jakieś propozycje?
Pozdrawiam