Re: Writing a new DNSBL rule

2006-11-08 Thread Andreas Pettersson

D.J. wrote:

Hi all.  So I've got a DNSBL I want to use with SpamAssassin that 
wasn't included in the stock install.  My question (and there's an 
alarming lack of anything useful in this area... wiki anyone on the SA 
site?) is if my syntax and placement are correct for what I've done.  
In my local.cf  file, I've added the following lines:


(see the code at http://www.daringone.net/salines.txt - the list 
bounced this message for spam for some reason with the lines added)


It looks like all the other ones, but I'm not entirely sure what 
everything exactly does in the coding... so I took an educated guess.  
Thanks for everyone's input.


- D.J. 



Try this instead

header __NEWDNSBL  eval:check_rbl('newdnsbl', 'dnsbl.newdnsbl.com.')
tflags __NEWDNSBL  net

header RCVD_IN_NEWDNSBLeval:check_rbl_sub('newdnsbl', '127.0.0.2')
describe RCVD_IN_NEWDNSBL  NEWDNSBL: Received via a relay in NEWDNSBL
tflags RCVD_IN_NEWDNSBLnet
score RCVD_IN_NEWDNSBL 1.5

--
Andreas




Writing a new DNSBL rule

2006-11-08 Thread D . J .
Hi all.  So I've got a DNSBL I want to use with SpamAssassin that
wasn't included in the stock install.  My question (and there's an
alarming lack of anything useful in this area... wiki anyone on the SA
site?) is if my syntax and placement are correct for what I've done. 
In my local.cf file, I've added the following lines:(see the code at 
http://www.daringone.net/salines.txt - the list bounced this message for spam for some reason with the lines added)It
looks like all the other ones, but I'm not entirely sure what
everything exactly does in the coding... so I took an educated guess. 
Thanks for everyone's input.
- D.J.