Larry Gilson <[EMAIL PROTECTED]> writes:

> Hi David,
> 
> > -----Original Message-----
> > From: David Dyer-Bennet
> 
> > # Down-score foreign sources
> > header DDB_FOREIGN_FROM             From =~ /\.[a-z]{2}[, ]/i
> > describe DDB_FOREIGN_FROM   From includes two-char TLD
> > score DDB_FOREIGN_FROM 0.1
> > 
> > # Up-score okay English TLDs
> > header DDB_FOREIGN_FROM_GOOD        From =~ /\.(us|ca|uk|au|nz)[, ]/i
> > describe DDB_FOREIGN_FROM_GOOD      From includes us, ca, 
> > uk, au, nz TLD
> > score DDB_FOREIGN_FROM_GOOD -0.1
> > 
> > However, they *never* trigger.  
> > 
> > (Yes, I do see that the dot-twochars-comma-or-space sequence could hit
> > in comments on the from line, but from the examples I've seen it
> > doesn't look likely).
> 
> I don't understand why you end the regex with a comma or space.  The example
> below looks like a typical From line and ends in a closing carot.
> 
>   From: "Dude, Joe" <[EMAIL PROTECTED]>

The problem was I was thinking of the opposite order, with the email
first and *then* the comment; and of comma-delimited strings of pure
email addresses.  Which distracted me from the more common cases you
and others have pointed out.  Thanks!
-- 
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

Reply via email to