Hi list,
I have a new QMToaster box that I cannot make graylisting work.
I run the spamdyke test and produced no errors.
I used this same config in other box and worked perfectly for a couple of
years.
The graylisting folder is in the same folder as the Maildirs, so i think
permissions are OK.

What am I missing?

Here the config files and results:


** SPAMDYKE.CONF **
cat /etc/spamdyke/spamdyke.conf
tls-certificate-file=/var/qmail/control/servercert.pem
reject-empty-rdns=yes
reject-unresolvable-rdns=yes
log-level=verbose
local-domains-file=/var/qmail/control/rcpthosts
policy-url=http://www.domain.com/policy.html
max-recipients=15
idle-timeout-secs=400
graylist-level=only
graylist-dir=/home/vpopmail/graylist
graylist-min-secs=300
graylist-max-secs=1814400
ip-whitelist-file=/var/qmail/control/whiteiplist
greeting-delay-secs=5
sender-blacklist-file=/var/qmail/control/sender-blacklist
sender-whitelist-file=/var/qmail/control/whitelist
ip-blacklist-file=/var/qmail/control/ip-blacklist
dns-blacklist-entry=zen.spamhaus.org
dns-blacklist-entry=bl.spamcop.net

** RUN FILE: **
cat /var/qmail/supervise/smtp/run
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SPAMDYKE="/usr/local/bin/spamdyke"
SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 64000000 \
     /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
     -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
     $SPAMDYKE --config-file $SPAMDYKE_CONF \
     $SMTPD $VCHKPW /bin/true 2>&1
 
** TEST COMMAND: **
 # /usr/bin/softlimit -m 64000000 /usr/bin/tcpserver -u 89 -g 89 -v -R -H -l
hostname -x /etc/tcprules.d/tcp.smtp.cdb -c 25  0 smtp
/usr/local/bin/spamdyke --config-file /etc/spamdyke/spamdyke.conf
--config-test --config-test-smtpauth-username [email protected]
--config-test-smtpauth-password usrpwd /var/qmail/bin/qmail-smtpd
/home/vpopmail/bin/vchkpw /bin/true 2>&1

** TEST RESULT: **
tcpserver: status: 0/25
tcpserver: status: 1/25
tcpserver: pid 16494 from 67.100.192.205
tcpserver: ok 16494 hostname:200.80.54.24:25 :67.100.192.205::2938
spamdyke 4.1.0+TLS+CONFIGTEST+DEBUG (C)2010 Sam Clippinger, samc (at)
silence (dot) org
http://www.spamdyke.org/

Use -h for an option summary or see README.html for complete option details.

Testing configuration...
WARNING: Running tests as user vpopmail(89), group vchkpw(89). Is this the
same user and group the mail server uses?
SUCCESS: spamdyke binary (/usr/local/bin/spamdyke) is not owned by root
and/or is not marked setuid.
INFO: Running command to test capabilities: /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(dns-resolv-conf): Testing file read: /etc/resolv.conf
SUCCESS(dns-resolv-conf): Opened for reading: /etc/resolv.conf
INFO(graylist-level): Testing graylist directory: /home/vpopmail/graylist
INFO(graylist-level): Local domain has no domain directory; no graylisting
will take place for the domain: aiconkk.com
SUCCESS(graylist-level): Graylist directory tests succeeded:
/home/vpopmail/graylist
INFO(hostname-file): Testing file read: /var/qmail/control/me
SUCCESS(hostname-file): Opened for reading: /var/qmail/control/me
INFO(ip-blacklist-file): Testing file read: /var/qmail/control/ip-blacklist
SUCCESS(ip-blacklist-file): Opened for reading:
/var/qmail/control/ip-blacklist
INFO(ip-whitelist-file): Testing file read: /var/qmail/control/whiteiplist
SUCCESS(ip-whitelist-file): Opened for reading:
/var/qmail/control/whiteiplist
INFO(local-domains-file): Testing file read: /var/qmail/control/rcpthosts
SUCCESS(local-domains-file): Opened for reading:
/var/qmail/control/rcpthosts
INFO(sender-blacklist-file): Testing file read:
/var/qmail/control/sender-blacklist
SUCCESS(sender-blacklist-file): Opened for reading:
/var/qmail/control/sender-blacklist
INFO(sender-whitelist-file): Testing file read: /var/qmail/control/whitelist
SUCCESS(sender-whitelist-file): Opened for reading:
/var/qmail/control/whitelist
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.
tcpserver: end 16494 status 0
tcpserver: status: 0/25

** l /home/vpopmail/
total 28
drwxr-xr-x  2 vpopmail vchkpw 4096 Aug 24 03:33 bin
drwxr-xr-x  4 vpopmail vchkpw 4096 Aug 24 02:58 doc
drwx------ 38 vpopmail vchkpw 4096 Aug 24 03:33 domains
drwxr-xr-x  2 vpopmail vchkpw 4096 Aug 24 03:33 etc
drwxr-xr-x 34 vpopmail vchkpw 4096 Aug 25 18:02 graylist
drwxr-xr-x  2 vpopmail vchkpw 4096 Aug 24 03:33 include
drwxr-xr-x  2 vpopmail vchkpw 4096 Aug 24 03:33 lib


Thanks!
Sergio

_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to