Check maillog and see if spamdyke it's working.
Here's an example, i hope it helps you.

May  4 14:44:16 v1ps spamdyke[19462]: INFO: querying
212.84.112.59.in-addr.arpa with DNS server 206.212.246.2:53 (attempt 1)
May  4 14:44:16 vps spamdyke[19463]: INFO: querying
212.84.112.59.in-addr.arpa with DNS server 206.212.246.2:53 (attempt 1)
May  4 14:44:16 v1ps spamdyke[19462]: INFO: received DNS packet: 131 bytes
May  4 14:44:16 v1ps spamdyke[19462]: INFO: received DNS response: PTR
May  4 14:44:16 v1ps spamdyke[19462]: INFO: found PTR record for
212.84.112.59.in-addr.arpa: 59-112-84-212.dynamic.hinet.net
May  4 14:44:16 v1ps spamdyke[19463]: INFO: received DNS packet: 131 bytes
May  4 14:44:16 v1ps spamdyke[19463]: INFO: received DNS response: PTR
May  4 14:44:16 v1ps spamdyke[19463]: INFO: found PTR record for
212.84.112.59.in-addr.arpa: 59-112-84-212.dynamic.hinet.net
May  4 14:44:17 v1ps spamdyke[19462]: INFO: querying
212.84.112.59.zen.spamhaus.org with DNS server 206.212.246.2:53 (attempt 1)
May  4 14:44:17 v1ps spamdyke[19463]: INFO: querying
212.84.112.59.zen.spamhaus.org with DNS server 206.212.246.2:53 (attempt 1)
May  4 14:44:17 v1ps spamdyke[19462]: INFO: received DNS packet: 403 bytes
May  4 14:44:17 v1ps spamdyke[19462]: INFO: received DNS response: A
May  4 14:44:17 v1ps spamdyke[19463]: INFO: received DNS packet: 403 bytes
May  4 14:44:17 v1ps spamdyke[19462]: INFO: found A record for
212.84.112.59.zen.spamhaus.org: 127.0.0.11
May  4 14:44:17 v1ps spamdyke[19463]: INFO: received DNS response: A
May  4 14:44:17 v1ps spamdyke[19463]: INFO: found A record for
212.84.112.59.zen.spamhaus.org: 127.0.0.11
May  4 14:44:26 v1ps spamdyke[19462]: DENIED_RBL_MATCH from:
[EMAIL PROTECTED] to: [EMAIL PROTECTED] origin_ip:
59.112.84.212origin_rdns:
59-112-84-212.dynamic.hinet.net auth: (unknown)
May  4 14:44:26 v1ps spamdyke[19463]: DENIED_RBL_MATCH from:
[EMAIL PROTECTED] to: [EMAIL PROTECTED] origin_ip:
59.112.84.212origin_rdns:
59-112-84-212.dynamic.hinet.net auth: (unknown)

2008/5/3 Eric Shubert <[EMAIL PROTECTED]>:

> The old RBLSMTPD is doing the lookup before passing it on to spamdyke, so
> spamdyke is never receiving it. You need to remove "$RBLSMTPD $BLACLISTS"
> to
> disable the toaster's stock blacklist processing.
>
> You didn't use qtp-install-spamdyke, did you? It would have modified your
> run file to look like this:
> #!/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 20000000 \
>     /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
>
> I think that's a little cleaner than burying spamdyke in $SMTPD as you
> have
> done. If you use the above run script, be sure to change /etc/spamdyke to
> /etc/mail, or move your spamdyke.conf file appropriately.
>
>
> slamp slamp wrote:
> > I have a question. I have the line below in my config.
> >
> > check-dnsrbl=zen.spamhaus.org
> >
> > So spamdyke should check if the sender is listed correct? and it
> > should never need to pass the traffic to qmail?
> >
> > My observation so far seems that spamdyke is not doing this and my
> > qmail install (qmailtoaster) is still doing the dns rbl checking.
> >
> > My qmail smtp log says this:
> >
> > 2008-05-03 10:27:50.146011500 rblsmtpd: 201.12.53.18 pid 27047: 451
> > http://www.spamhaus.org/query/bl?ip=201.12.53.18
> >
> > And nothing in the corresponding spamdyke maillog.
> >
> > log-level=2
> >
> >
> > smtp run file.
> >
> > #!/bin/sh
> > QMAILDUID=`id -u vpopmail`
> > NOFILESGID=`id -g vpopmail`
> > MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> > BLACKLIST=`cat /var/qmail/control/blacklists`
> > SMTPD="/usr/bin/spamdyke -f /etc/mail/spamdyke.conf
> /var/qmail/bin/qmail-smtpd"
> > TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
> > RBLSMTPD="/usr/bin/rblsmtpd"
> > HOSTNAME=`hostname`
> > VCHKPW="/home/vpopmail/bin/vchkpw"
> > REQUIRE_AUTH=0
> >
> > exec /usr/bin/softlimit -m 20000000 \
> >      /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD"
> \
> >      -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
> >      $RBLSMTPD $BLACKLIST $SMTPD $VCHKPW /bin/true 2>&1
> > _______________________________________________
> > spamdyke-users mailing list
> > spamdyke-users@spamdyke.org
> > http://www.spamdyke.org/mailman/listinfo/spamdyke-users
>
>
> --
> -Eric 'shubes'
> _______________________________________________
> spamdyke-users mailing list
> spamdyke-users@spamdyke.org
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
>
_______________________________________________
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to