On Thu, 16 Jun 2011 08:05:53 -0700 (PDT)
raiden031 <midnite...@yahoo.com> 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 it should hit whenever there is any From address
> populated regardless of whether there's a .com or not.


The rule is looking for an email address without a dot in it.

[if-unset: f...@bar.com] means that if From:addr has no value then use
f...@bar.com instead. This prevents the rule from being hit if there is
no From email address. AFAIK this isn't standard perl, but it is
documented in Mail::SpamAssassin::Conf

Most uses of this feature seem a bit gratuitous to me. 

Reply via email to