SA Bugzilla – Bug 1740
check_rbl does not clean up the list of IPs
Last modified: 2003-04-05 06:02:57 UTC
There appears to be a bug in Mail::SpamAssassin::EvalTests::check_rbl. Here @ips is not verified before do_rbl_lookup calls, so it may contain duplicates, empty (undefined) or corrupted entries (such as "[127.0.0.1"). For example, duplicates are causing dnsbl.njabl.org to time out already during the first call of do_rbl_eval_tests in PerMsgStatus.pm. Also, it would be nice if there was a configuration parameter (say, num_rbl_skip) which would allow to skip the first num_rbl_skip entries in @ips. Our ISP initially passes all incoming mail through a server running an antivirus, so the first three entries in @ips are always (ip-antivirus, localhost, ip-antivirus).
OK, corruption fixed, dups fixed, and 'trusted_networks' param added for the 2nd half. These are in CVS HEAD and will be in 2.60.