Martin Radford <[EMAIL PROTECTED]> writes on 1 September 2003 at 20:36:54 +0100 > At Mon Sep 1 18:14:56 2003, David Dyer-Bennet wrote: > > > # Down-score foreign sources > > header DDB_FOREIGN_FROM From =~ /\.[a-z]{2}[, ]/i > > This won't match > > From: <[EMAIL PROTECTED]> > > or > > From: [EMAIL PROTECTED]
True, and perhaps that's the basic problem. Especially that second one. I was thinking too much of complex cases and not enough of simple ones :-). > Perhaps you could try: > > header DDB_FOREIGN_FROM From =~ /\.[a-z]{2}\b/i But that *will* match 2-character internal pieces of the domain (like xx.foo.com). Okay, so the problem is in my patterns, and I know at least *some* of the things I'm overlooking. Thanks for the pointers! -- David Dyer-Bennet, <[EMAIL PROTECTED]>, <www.dd-b.net/dd-b/> RKBA: <noguns-nomoney.com> <www.dd-b.net/carry/> Photos: <dd-b.lighthunters.net> Snapshots: <www.dd-b.net/dd-b/SnapshotAlbum/> Dragaera mailing lists: <dragaera.info/> ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk