Yesterday, I decided to implement RBL checks in SA because I wanted to use SA as a test platform to evaluate a given RBL before moving that RBL into sendmail for blocking.
In my local.cf, I changed skip_rbl_checks to 0 and added score RCVD_IN_SBL 1. Although I was only testing via command-line spamassassin -D -t < foo.txt, I still restarted spamd. When running rbl=-9, the only RBL I see is a single line, debug: RBL: success for 1 of 1 queries which seems to imply that the check was done, but it's not scoring it. The message only has a single received-from line and the address *is* listed in sbl.spamhaus.org. Received: from www2.expyoffers.com (exchng-143.colo15.reliablehosting.com [216.131.110.143] (may be forged)) by ****** (8.12.10/8.12.10) with SMTP id i02JK0TI014087 for <*******>; Fri, 2 Jan 2004 14:20:01 -0500 UPDATE 1: As a side note (and after having dug some more), I note that I'm also getting debug: received-header: relay 216.131.110.143 trusted? yes in spite of having no trusted networks defined. According to the docs, that should automatically disable the RBL tests. I even tried adding clear_trusted_networks to my local.cf. UPDATE 2: I solved the problem. Apparently, trusted_networks defaults to ALL rather than NONE, as described in the documentation (on SA 2.60). After setting clear_trusted_networks trusted_networks 192.168.0/24 in my local.cf, the RBL tests started working. Even though my problem is solved, I never found any of this information in the list archive, so I'm posting this message anyway in case someone else can find it useful. -- Frank Pineau Hey, you know those Roman hackers? Man, were they I III III VII!
signature.asc
Description: This is a digitally signed message part