On 10/20/2015 10:04 PM, RW wrote:
On Tue, 20 Oct 2015 13:29:45 -0500 (CDT)
sha...@shanew.net wrote:


I already have rules that score for these tlds in received or envelope
from, but I'm getting tired of making the regular expression longer
and longer (in two different places), and I know there's a smarter
way.  Whether I'm smart enough to implement that smarter way is
another matter entirely.

Is there an existing (relatively simple) plugin that behaves similarly
that I could crib from?

You don't need a plugin, just autogenerate your rules from this:

http://data.iana.org/TLD/tlds-alpha-by-domain.txt

or put a choice of wildcarded TLDs in a rbldnsd zone and use a header check_rbl_envfrom rule for senders and URIBL.pm plugin lookups




Reply via email to