If you have it forced to "yes" and DNS becomes unavailable it's going to time out and assume no listing. The problem is that it's going to have to time out each and every RBL in the list, instead of only one timeout for the initial test. You really only want to force this to "yes" if you have good, nearly 100% available DNS resolution.
If your DNS availability is flaky, then it's not surprising if you're getting erratic results from spamassassin's RBL checks.
Basically if your SpamAssassin is processing any significant amount of email, you probably want to have at least a caching DNS server running on the same machine and a good stable internet connection. This increases the effectiveness of the RBL by providing good, reliable DNS lookups and saves some network traffic by caching resolver results.
At 08:59 PM 2/10/2003 +0100, Mark wrote:
----- Original Message ----- From: "Matt Kettler" <[EMAIL PROTECTED]> To: "Spam List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, February 10, 2003 7:44 PM Subject: Re: [SAtalk] RBL problems> Note: the particular MX it tries may vary, or it might skip this part > if you have dns_available forced on in your config, but either way, you > MUST see "debug: is Net::DNS::Resolver unavailable? 0" and either > "debug: is DNS available? 1" or "debug: dns_available set to yes in > config file, skipping > test" for RBLs to work. Interesting. What happens if I set $self->{dns_available} = "yes";? Suppose DNS is temporarily off-line (a few seconds or so), will having forced its availability to "yes" break anything? As is, SA trying to resolve RBLs, assuming DNS is available, not finding any, and flag a message as spam? Or time-out horribly for each message? I ask, because it seems reasonable to leave it set to "test". Otherwise, why not always set it to yes, if failing DNS yields the same result as a failed test? - Mark
------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk