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]>

--Larry



-------------------------------------------------------
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