You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2018/01/04 15:17:05 UTC
[Bug 7528] New: URILocalBL: uri_block_cc negative match
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7528
Bug ID: 7528
Summary: URILocalBL: uri_block_cc negative match
Product: Spamassassin
Version: 3.4.1
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Plugins
Assignee: dev@spamassassin.apache.org
Reporter: stephen-spamassassin@digitalnexus.org
Target Milestone: Undefined
Wishlist request: add an option to match all country codes except a specified
list.
Eg. uri_block_cc_allexcept cc1 cc2
Or, alter test format:
uri_block cc !~ /cc1|cc2/
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7528] URILocalBL: uri_block_cc negative match
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7528
Giovanni Bechis <gi...@paclan.it> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |giovanni@paclan.it
--- Comment #1 from Giovanni Bechis <gi...@paclan.it> ---
This is not exactly what you are looking for but, after r1829033, this meta
rule should do the trick:
---------------------------------------------------------------------------
ifplugin Mail::SpamAssassin::Plugin::URILocalBL
uri_block_cont __URI_ANY af as eu na oc sa
describe __URI_ANY Block uri located anywhere
uri_block_cc __URI_IT it
describe __URI_IT Block uri located in Italy
meta URI_BLOCK (__URI_ANY && !__URI_IT)
describe URI_BLOCK Block any uris but not those located in Italy
score URI_BLOCK 0.01
endif
---------------------------------------------------------------------------
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7528] URILocalBL: uri_block_cc negative match
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7528
Henrik Krohns <he...@hege.li> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hege@hege.li
--- Comment #3 from Henrik Krohns <he...@hege.li> ---
Added the feature to trunk:
Committed revision 1841740.
uri_block_cc BLOCK_ALL_EXCEPT_US_CA !us !ca
Not bothering to backport this feature alone to 3.4, since there has been so
many other changes to code. Unless we decide to also bring GeoDB etc to 3.4.
Keeping open until I manage to update "upgrade/new features" docs.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7528] URILocalBL: uri_block_cc negative match
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7528
stephen-spamassassin@digitalnexus.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stephen-spamassassin@digita
| |lnexus.org
--- Comment #2 from stephen-spamassassin@digitalnexus.org ---
Unfortunately the meta rule will not work: if there are 2 uri's, 1 in Italy,
and another in, say, China, then __URI_ANY and __URI_IT will both match.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7528] URILocalBL: uri_block_cc negative match
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7528
Henrik Krohns <he...@hege.li> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #6 from Henrik Krohns <he...@hege.li> ---
No objections from me, resolving this. Put some notes in UPGRADE.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7528] URILocalBL: uri_block_cc negative match
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7528
John Hardin <jh...@impsec.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jhardin@impsec.org
--- Comment #5 from John Hardin <jh...@impsec.org> ---
(In reply to Kevin A. McGrail from comment #4)
> I would like 3.4.3 to be more of a bug fix release to finalize the 3.4
> branch and keep new stuff to 4.0.
+1 from me on this policy.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7528] URILocalBL: uri_block_cc negative match
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7528
Kevin A. McGrail <km...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kmcgrail@apache.org
--- Comment #4 from Kevin A. McGrail <km...@apache.org> ---
I would like 3.4.3 to be more of a bug fix release to finalize the 3.4 branch
and keep new stuff to 4.0.
--
You are receiving this mail because:
You are the assignee for the bug.