On Tue, Jul 22, 2003 at 11:44:38AM -0700, Justin Mason wrote: > It works like:
> header CHECK_DNSBL_NAME rbleval:check_rbl('setname', 'zone') > describe CHECK_DNSBL_NAME Insert CHECK_DNSBL_NAME description here > tflags CHECK_DNSBL_NAME net > header CHECK_RESULTS rbleval:check_rbl_results_for('setname', '127.0.0.4') > describe CHECK_RESULTS Insert CHECK_RESULTS description here > score CHECK_RESULTS 5 5 5 5 > The setname must match between the two -- as it's used to match one with > the other. SpamAssassin must be running without the -L switch. > If *any* A record exists in the zone, CHECK_DNSBL_NAME will fire -- so > you may need to set its score to 0.001 so it does not incur a hit, > if you don't want it to. Then CHECK_RESULTS will run after that > and examine the exact IP returned. > Note that your example used bl.odot.org and cbl.odot.org; this could > explain the failure assuming it wasn't a typo ;) > BTW, in 2.60, it looks like someone renamed > rbleval:check_rbl_results_for() -- it now seems to be called > rbleval:check_rbl_sub(). (this was probably not a good idea for backwards > compat reasons.) A-*Ha*! And then each header is checked against the DNSbl named 'zone', I take it, with IP addresses of the form a.b.c.d being reversed to d.c.b.a first, so that the lookup is done against d.c.b.a.zone. TYVM. My search for doc on this apparently sidestepped something important. Got a pointer? The "cbl"/"bl" thing was a typo, actually. Too much hurry. -- Mike Andrews [EMAIL PROTECTED] Tired old sysadmin since 1964 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk