Re: Bizarre rule definitions

2011-06-16 Thread RW
On Thu, 16 Jun 2011 08:05:53 -0700 (PDT) raiden031 wrote: > > header FH_FROMEML_NOTLD From:addr !~ /\./ [if-unset: f...@bar.com] > describe FH_FROM_EML_NOTLD E-mail address doesn't have TLD (.com, > etc.) > > For instance, could someone explain how the above rule works? It > looks like to me

Re: Bizarre rule definitions

2011-06-16 Thread raiden031
7;t have TLD (.com, etc.) >> >> For instance, could someone explain how the above rule works? It looks >> like >> to me it should hit whenever there is any From address populated >> regardless >> of whether there's a .com or not. > > The '!~' form means that the rule matches when the regular expression > does NOT match. > > For example: > > From:addr !~ /\./ > > The above pattern will match on any from address that does NOT contain a > period. > > -- > Bowie > > -- View this message in context: http://old.nabble.com/Bizarre-rule-definitions-tp31861533p31862044.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: Bizarre rule definitions

2011-06-16 Thread Bowie Bailey
On 6/16/2011 11:05 AM, raiden031 wrote: > So I'm trying to understand the spamAssassin rules, and I found a couple of > things that don't make sense about the rules I downloaded. SpamAssassin uses Perl regular expressions. For more info, look that up on Google and you should be able to find plent

Re: Bizarre rule definitions

2011-06-16 Thread Martin Gregorie
On Thu, 2011-06-16 at 08:05 -0700, raiden031 wrote: > So I'm trying to understand the spamAssassin rules, and I found a couple of > things that don't make sense about the rules I downloaded. > Everything you're puzzled about are standard Perl regular expression syntax: to understand and write SA r

Bizarre rule definitions

2011-06-16 Thread raiden031
From address populated regardless of whether there's a .com or not. -- View this message in context: http://old.nabble.com/Bizarre-rule-definitions-tp31861533p31861533.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.