Hey list,
I have some issues when I add zen.spamhaus.org to the spamdyke config:
dns-blacklist-entry=zen.spamhaus.org
dns-blacklist-entry=bl.spamcop.net
dns-blacklist-entry=dnsbl.sorbs.net
ip-blacklist-file=/etc/spamdyke/blacklist_ip
ip-whitelist-file=/etc/spamdyke/whitelist_ip
log-level=debug
log-target=stderr
rdns-blacklist-file=/etc/spamdyke/blacklist_rdns
rdns-whitelist-file=/etc/spamdyke/whitelist_rdns
recipient-blacklist-file=/etc/spamdyke/blacklist_recipients
recipient-whitelist-file=/etc/spamdyke/whitelist_recipients
reject-empty-rdns
graylist-dir=/var/qmail/graylist
greeting-delay-secs=0
graylist-max-secs=2678400
graylist-min-secs=180
tls-certificate-file=/var/qmail/control/servercert.pem
local-domains-file=/var/qmail/control/rcpthosts
graylist-level=always-create-dir
reject-missing-sender-mx
reject-unresolvable-rdns
sender-blacklist-file=/etc/spamdyke/blacklist_senders
sender-whitelist-file=/etc/spamdyke/whitelist_senders
That's my config. Everytime I try to connect with the zen... enable the
connection takes a while to get established. As soon as I remove the zen
it's working normally again. Here is the output from spamdyke set to
debug when connecting:
2008-10-16 20:02:35.065690500 spamdyke[12562]:
DEBUG(filter_rdns_missing()@filter.c:848): checking for missing rDNS;
rdns: RDNS
2008-10-16 20:02:35.065694500 spamdyke[12562]:
DEBUG(filter_rdns_whitelist_file()@filter.c:956): searching rDNS
whitelist file(s); rdns: RDNS
2008-10-16 20:02:35.065698500 spamdyke[12562]:
DEBUG(filter_rdns_blacklist_file()@filter.c:1059): searching rDNS
blacklist file(s); rdns: RDNS
2008-10-16 20:02:35.065701500 spamdyke[12562]:
DEBUG(filter_ip_whitelist()@filter.c:1127): searching IP whitelist
file(s); ip: IP
2008-10-16 20:02:35.065722500 spamdyke[12562]:
DEBUG(filter_ip_blacklist()@filter.c:1177): searching IP blacklist
file(s); ip: IP
2008-10-16 20:02:35.065725500 spamdyke[12562]:
DEBUG(filter_rdns_resolve()@filter.c:1318): checking rDNS resolution;
rdns: RDNS
2008-10-16 20:02:35.066363500 spamdyke[12562]:
DEBUG(filter_dns_rbl()@filter.c:1527): checking DNS RBL(s); ip: IP
Even on excessive the output looks the same. A config test returned
this:
Testing configuration...
WARNING: Running tests as superuser root(0), group root(0). These test
results may not be valid if the mail server runs as another user.
SUCCESS: spamdyke binary (./spamdyke) is not owned by root and/or is not
marked setuid.
INFO: Running command to test capabilities: /var/qmail/bin/qmail-smtpd
DEBUG(exec_command_argv()@exec.c:480): executing
command: /var/qmail/bin/qmail-smtpd
SUCCESS: /var/qmail/bin/qmail-smtpd appears to offer TLS support but
spamdyke will intercept and decrypt the TLS traffic so all of its
filters can operate.
SUCCESS: /var/qmail/bin/qmail-smtpd appears to offer SMTP AUTH support.
spamdyke will observe any authentication and trust its response.
INFO(config-file): Testing file read: /etc/spamdyke/spamdyke.conf
SUCCESS(config-file): Opened for reading: /etc/spamdyke/spamdyke.conf
INFO(graylist-level): Testing graylist directory: /var/qmail/graylist
SUCCESS(graylist-level): Graylist directory tests
succeeded: /var/qmail/graylist
INFO(ip-blacklist-file): Testing file read: /etc/spamdyke/blacklist_ip
SUCCESS(ip-blacklist-file): Opened for
reading: /etc/spamdyke/blacklist_ip
INFO(ip-whitelist-file): Testing file read: /etc/spamdyke/whitelist_ip
SUCCESS(ip-whitelist-file): Opened for
reading: /etc/spamdyke/whitelist_ip
INFO(local-domains-file): Testing file
read: /var/qmail/control/rcpthosts
SUCCESS(local-domains-file): Opened for
reading: /var/qmail/control/rcpthosts
INFO(rdns-blacklist-file): Testing file
read: /etc/spamdyke/blacklist_rdns
SUCCESS(rdns-blacklist-file): Opened for
reading: /etc/spamdyke/blacklist_rdns
INFO(rdns-whitelist-file): Testing file
read: /etc/spamdyke/whitelist_rdns
SUCCESS(rdns-whitelist-file): Opened for
reading: /etc/spamdyke/whitelist_rdns
INFO(recipient-blacklist-file): Testing file
read: /etc/spamdyke/blacklist_recipients
SUCCESS(recipient-blacklist-file): Opened for
reading: /etc/spamdyke/blacklist_recipients
INFO(recipient-whitelist-file): Testing file
read: /etc/spamdyke/whitelist_recipients
SUCCESS(recipient-whitelist-file): Opened for
reading: /etc/spamdyke/whitelist_recipients
INFO(sender-blacklist-file): Testing file
read: /etc/spamdyke/blacklist_senders
SUCCESS(sender-blacklist-file): Opened for
reading: /etc/spamdyke/blacklist_senders
INFO(sender-whitelist-file): Testing file
read: /etc/spamdyke/whitelist_senders
SUCCESS(sender-whitelist-file): Opened for
reading: /etc/spamdyke/whitelist_senders
INFO(tls-certificate-file): Testing TLS by initializing SSL/TLS library
with certificate and key
SUCCESS(tls-certificate-file): Opened for
reading: /var/qmail/control/servercert.pem
SUCCESS(tls-certificate-file): Certificate and key loaded; SSL/TLS
library successfully initialized
SUCCESS: Tests complete. No errors detected.
And, last but not least, my run file:
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 52428800 \
/usr/local/bin/tcpserver -v -R -H -l 0 \
-x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
/usr/local/bin/spamdyke --config-file /etc/spamdyke/spamdyke.conf \
/var/qmail/bin/qmail-smtpd \
/home/vpopmail/bin/vchkpw /bin/true 2>&1
Also tried:
/usr/local/bin/tcpserver -v -R -P -H -l 0 \
in the run file.
Firewall is not blocking anything. Any help on this is appreciated,
would like to use zen too since it is really good.
Cheers,
Sebastian
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users