You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Paul Barnett <sp...@ptb.org> on 2004/04/28 02:51:35 UTC
Configuring SpamAssassin to query local blacklist
I've created my own blacklist, and built/configured rbldns to serve it.
But, SA doesn't appear to be querying the blacklist.
In /etc/mail/spamassassin/local.cf:
header LOCAL_BLACKLIST eval:check_rbl('s.ptb.org', 's.ptb.org.')
describe LOCAL_BLACKLIST Received from blacklisted IP address
tflags LOCAL_BLACKLIST net
score LOCAL_BLACKLIST 5.0
dig returns the expected response:
# dig @s.ptb.org 2.1.0.60.s.ptb.org
; <<>> DiG 9.2.3 <<>> @s.ptb.org 2.1.0.60.s.ptb.org
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10929
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;2.1.0.60.s.ptb.org. IN A
;; ANSWER SECTION:
2.1.0.60.s.ptb.org. 2048 IN A 127.0.0.2
;; Query time: 1 msec
;; SERVER: 192.168.1.2#53(s.ptb.org)
;; WHEN: Tue Apr 27 13:16:42 2004
;; MSG SIZE rcvd: 55
However, rbldns's log don't indicate any queries when messages arrive.
I've restarted spamd. I've also run spamassassin --lint. Is there
something else I'm missing?