Bug 5068

Summary: Add "uridnsbl_ignore_domains" feature to URIDNSBL plugin
Product: Spamassassin Reporter: Anthony Messina <amessina>
Component: PluginsAssignee: SpamAssassin Developer Mailing List <dev>
Status: RESOLVED WORKSFORME    
Severity: enhancement    
Priority: P5    
Version: 3.1.3   
Target Milestone: Undefined   
Hardware: All   
OS: All   
URL: http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5066
Whiteboard:

Description Anthony Messina 2006-08-26 21:22:09 UTC
Thank you to felicity[at]apache[dot]org for explaining bug 5066.

Please see http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5066

Would it be possible to add the functionality to have an
"uridnsbl_ignore_domains" parameter to /etc/mail/spamassassin/local.cf or users'
user_prefs files so that sites and/or individuals could decide whether certain
domains should be excluded from URIDNSBL lookups?

For example:
# /etc/mail/spamassassin/local.cf
uridnsbl_ignore_domains = *.so, command.com, ...

Citing bug 5066, it IS correct for URIDNSBL to try to lookup libplain.so, for
example, but a site with many users subscribed to the info-cyrus mailing list,
for example, will have TONS of failed (and useless) DNS queries.

Perhaps the site admin or an individual user might want to evaluate whether or
not his URIDNSBL plugin should just skip those domains.
Comment 1 Theo Van Dinter 2006-08-26 21:34:57 UTC
(In reply to comment #0)
> Would it be possible to add the functionality to have an
> "uridnsbl_ignore_domains" parameter to /etc/mail/spamassassin/local.cf or users'
> user_prefs files so that sites and/or individuals could decide whether certain
> domains should be excluded from URIDNSBL lookups?

Such as 'uridnsbl_skip_domain' ?   ;)

> For example:
> # /etc/mail/spamassassin/local.cf
> uridnsbl_ignore_domains = *.so, command.com, ...

uridnsbl_skip_domain allows specific domains to be skipped, but not
globs/wildcards/RE's since it's a hash lookup.
Comment 2 Anthony Messina 2006-08-26 21:46:04 UTC
i'll be damned! you guys have thought of everything! thanks :)