Log of /spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm
Parent Directory
|
Revision Log
Revision
818443 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 24 10:57:17 2009 UTC
(2 months ago)
by
jm
File length: 28973 byte(s)
Diff to
previous 728782
(
colored)
,
to
selected 573117
(
colored)
bug 6205: add test to ensure that all config settings are correctly handled when switching between users; add more config setting type metadata to enable those tests to work; and fix URIDetail to store config on the {conf} object, not on the plugin.
Revision
596095 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Nov 18 16:11:20 2007 UTC
(2 years ago)
by
jm
File length: 20394 byte(s)
Diff to
previous 585292
(
colored)
,
to
selected 573117
(
colored)
bug 5711: allow 'mass-check --reuse' without '--net' to reuse net-rule hits, and output mass-check results for scoreset 1; while lines that are not reusable use set 0. Also, fix a few tests to use 'tflags net' if they use network lookups (including calls to lookup_ptr().) Fix nightly mass-checks on the zone to use --reuse to gain this.
Revision
585292 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 17 00:04:48 2007 UTC
(2 years, 1 month ago)
by
mmartinec
File length: 20272 byte(s)
Diff to
previous 583551
(
colored)
,
to
selected 573117
(
colored)
AsyncLoop: replaces sharp clipping on a lower timeout value with a
smooth quadratic transition curve from an initial to a minimal timeout
value; updated documentation accordingly. Adjust actual timeout value
to timer resolution (ceiling) if Time::HiRes module is not available.
Conf+AsyncLoop: to a configuration variable rbl_timeout add two optional
parameters: a minimal timeout value, and a zone name if a timeout
specification should only apply to the specified zone or its subdomains;
update documentation accordingly.
Revision
573117 -
(
view)
(
annotate)
-
[selected]
Modified
Thu Sep 6 00:27:12 2007 UTC
(2 years, 2 months ago)
by
dos
File length: 20015 byte(s)
Diff to
previous 571893
(
colored)
it's an array/list of hashes, not an array/list of arrays
Revision
571893 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Sep 1 23:16:38 2007 UTC
(2 years, 2 months ago)
by
mmartinec
File length: 20015 byte(s)
Diff to
previous 567684
(
colored)
,
to
selected 573117
(
colored)
Removed hundred of assignments of an empty list or hash to a
just created empty array or hash. Explanation: operator 'my' brings
to life scalars with an undefined value, lists with no elements,
and hashes with no keys. The following assignments are thus redundant:
my $x=undef; my @x=(); my %x=(); Interestingly noone does the first,
but there were about 100 cases of second and third. Even as a stylistic
measure I don't think it counts, as it was not used systematically,
and only in minority of cases.
Revision
527859 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 12 09:42:35 2007 UTC
(2 years, 7 months ago)
by
jm
File length: 19856 byte(s)
Diff to
previous 527786
(
colored)
,
to
selected 573117
(
colored)
add a deprecation message for 'uridnsbl_timeout'; since it was a public config setting in released code, there's a good chance users are using it, and removing it entirely would result in lint errors for them
Revision
527786 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 12 06:25:50 2007 UTC
(2 years, 7 months ago)
by
dos
File length: 19554 byte(s)
Diff to
previous 527740
(
colored)
,
to
selected 573117
(
colored)
bug 5384: uridnsbl interaction with skip_rbl_checks in 3.2.0, differing behavior from 3.1.8
- remove the uridnsbl_timeout option, it wasn't being used ever since the
M::SA::AsyncLoop code was implemented
- move the "query_launch_time" from M::SA::Dns into M::SA::AsyncLoop and have
it set whenever $async->start_lookup is called so that code dealing with DNS
timeouts isn't scattered all over the place (and via undocumented methods)
- add a method to M::SA::AsyncLoop to get the start time of the last DNS query
so that M::SA::Dns can (continue to) take care of timing out DNS queries
Revision
527740 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 12 01:28:35 2007 UTC
(2 years, 7 months ago)
by
dos
File length: 19793 byte(s)
Diff to
previous 518664
(
colored)
,
to
selected 573117
(
colored)
bug 5410: config options that cause DNS lookups should be privileged
(and timeouts should require admin privs)
The following config options (all offered by plugins) can now only be used in
user_pref files (or equivalent) if allow_user_rules is enabled:
MIMEHeader.pm: setting => 'mimeheader',
ReplaceTags.pm: setting => 'replace_tag',
ReplaceTags.pm: setting => 'replace_pre',
ReplaceTags.pm: setting => 'replace_inter',
ReplaceTags.pm: setting => 'replace_post',
ReplaceTags.pm: setting => 'replace_rules',
ReplaceTags.pm: setting => 'replace_start',
ReplaceTags.pm: setting => 'replace_end',
URIDetail.pm: setting => 'uri_detail',
URIDNSBL.pm: setting => 'uridnsbl',
URIDNSBL.pm: setting => 'urirhsbl',
URIDNSBL.pm: setting => 'urirhssub',
The following config options (all offered by plugins) can now only be used in
site config files:
ASN.pm: setting => 'asn_lookup',
DCC.pm: setting => 'dcc_timeout',
DKIM.pm: setting => 'dkim_timeout',
DomainKeys.pm: setting => 'domainkeys_timeout',
Pyzor.pm: setting => 'pyzor_timeout',
Razor2.pm: setting => 'razor_timeout',
Razor2.pm: setting => 'razor_config',
SPF.pm: setting => 'spf_timeout',
URIDNSBL.pm: setting => 'uridnsbl_timeout',
URIDNSBL.pm: setting => 'uridnsbl_max_domains',
The following config option can now only be used in site config files:
Conf.pm: setting => 'rbl_timeout',
Revision
391177 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 3 23:33:53 2006 UTC
(3 years, 7 months ago)
by
jm
File length: 23253 byte(s)
Diff to
previous 215895
(
colored)
,
to
selected 573117
(
colored)
bug 3109: simple short-circuiting of 'definite ham' or 'definite spam' messages based on individual short-circuit rules using the 'shortcircuit' setting, by Dallas Engelken <dallase /at/ nmgi.com>
Revision
169520 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue May 10 20:46:26 2005 UTC
(4 years, 6 months ago)
by
felicity
File length: 22739 byte(s)
Diff to
previous 169506
(
colored)
,
to
selected 573117
(
colored)
no point in calling extract_message_metadata from the URIBL plugin since the calling function is called from extract_... also, setup for HTML URI canonification when metadata->html hasn't been set yet.
Revision
169506 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue May 10 18:36:02 2005 UTC
(4 years, 6 months ago)
by
felicity
File length: 22854 byte(s)
Diff to
previous 169334
(
colored)
,
to
selected 573117
(
colored)
move the URI canonification around some more. get_uri_list() now just puts together canonfied parsed and html uri lists, html canonification happens in extract_metadata, extract_metadata only runs once now and is called multiple times whenever canonfied html uris are needed. modified around t/uri_html.t to not need a temp file, just run through get_uri_list() internally and not call a full SA, and avoid the whole debug output reading bit.
Revision
161778 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 18 17:40:09 2005 UTC
(4 years, 7 months ago)
by
jm
File length: 23063 byte(s)
Diff to
previous 161157
(
colored)
,
to
selected 573117
(
colored)
bug 4260: DNS code rewritten to use a custom single-socket event-based model instead of using the one provided by Net::DNS. This will reduce the number of file descriptors consumed by SA (bugs 2352, 3387, 3924), and additionally avoids bug 3997, where Net::DNS mixes up DNS response packets, resulting in false positives.
Revision
160273 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 6 09:53:21 2005 UTC
(4 years, 7 months ago)
by
quinlan
File length: 23175 byte(s)
Diff to
previous 158898
(
colored)
,
to
selected 573117
(
colored)
bug 4242: don't lookup private or invalid IPs, if NS record is an A record
then just look it up directly in DNSBLs
bug 4013: add IP address host checking to urirhsbl and urirhssub
Revision
155151 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Feb 24 03:25:58 2005 UTC
(4 years, 9 months ago)
by
felicity
File length: 22222 byte(s)
Diff to
previous 149177
(
colored)
,
to
selected 573117
(
colored)
bug 3976: rework how uris are parsed out of the message. the urirbl plugin now orders the domains to query, based on where in the message the uri was found. separate out anchor uris which have text between open and close and those that don't. removed uri html metadata since there is now a different/better way to get it.
Revision
125719 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jan 20 05:56:47 2005 UTC
(4 years, 10 months ago)
by
quinlan
File length: 19570 byte(s)
Diff to
previous 57557
(
colored)
,
to
selected 573117
(
colored)
bug 3997: workarounds for DNS question/answer crossover issue that try to
limit number of crossovers that will incorrectly trigger another rule by
looking more carefully at answers in cases where it seems most likely
Revision
57557 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Nov 13 03:42:10 2004 UTC
(5 years ago)
by
felicity
File length: 19127 byte(s)
Diff to
previous 56728
(
colored)
,
to
selected 573117
(
colored)
remove the various dbg() functions in almost all of the modules and just use a typeglob to point at the main dbg() that they all call. this removes the extra overhead of having excess functions and function calls for dbg() which is called a bajillion times. also, make the plugins use the documented M::SA::Plugin::dbg(), which is also a typeglob so the plugins point the same place for now...
Revision
47438 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 29 01:30:45 2004 UTC
(5 years, 1 month ago)
by
felicity
File length: 18964 byte(s)
Diff to
previous 47380
(
colored)
,
to
selected 573117
(
colored)
bug 3734: URIBL rules should be body evals not header evals -- we get the URIs out of the body not the header. it impacts the autolearning head/body points thing, and is otherwise just annoyingly misplaced.
Revision
43564 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 9 03:40:18 2004 UTC
(5 years, 2 months ago)
by
jm
File length: 18333 byte(s)
Diff to
previous 22225
(
colored)
,
to
selected 573117
(
colored)
bug 3759: plugins loaded from the site config path were not getting their parse_config() methods called; fix by invalidating certain method caches when a new plugin is registered. also, INHIBIT_CALLBACKS as a return type wasn't working, because it forces plugins to only support numeric return types. not good. removed; implementors should use the alternative $self->inhibit_further_callbacks() API. also removed a redundant sort() call
Revision
9571 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 17 17:32:54 2004 UTC
(5 years, 8 months ago)
by
parker
Original Path:
incubator/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm
File length: 13492 byte(s)
Diff to
previous 9520
(
colored)
,
to
selected 573117
(
colored)
Bug 2912 - Allow test order to be controlled by "priority" setting
Added ability to assign priority to tests (ignored for RBL tests).
Meta tests must have a priority of at least 500. Moved all (except
starting of RBL queries) test methods into priority loop. Optimized
test methods to make up for speed lost by running methods multiple
times for each message. Set AWL test to priority 1000 to make sure
that it runs after all other tests have been run.
Revision
7002 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 5 02:07:24 2004 UTC
(5 years, 8 months ago)
by
jm
Original Path:
incubator/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm
File length: 13614 byte(s)
Diff to
previous 7001
(
colored)
,
to
selected 573117
(
colored)
a few changes from last night I hadn't checked in yet:
- Fixed fd leak in URIBL code, which was pretty serious after a big mass-check
run. my bad!
- URIBL code now correctly disables itself if mass-check --rules is used and it
is not selected; previously it did not.
- added more paranoia to envelope-from retrieval, to deal with the case where
an intermediate relay added an X-Envelope-From header (for example) then
relayed into a mailing list, which in turn used a new env-from. old code
would have picked up X-Envelope-From, even though that was no longer
appropriate. New code checks for Received headers before that hdr, and
ignores it if they exist.
- SPF now working well; only FPs I now get are from ISPs who've set up over-
permissive SPF records (*cough BlueYonder.co.uk cough*) and from a couple
of domains with buggy SPF records.
- added another (infrequent) Received line format (I think it's TIS -- now NAI
-- fwtk).
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.