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