Bug 5068 - Add "uridnsbl_ignore_domains" feature to URIDNSBL plugin
Summary: Add "uridnsbl_ignore_domains" feature to URIDNSBL plugin
Status: RESOLVED WORKSFORME
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Plugins (show other bugs)
Version: 3.1.3
Hardware: All All
: P5 enhancement
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL: http://issues.apache.org/SpamAssassin...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-26 21:22 UTC by Anthony Messina
Modified: 2006-08-26 14:46 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
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 :)