On Thu, Jan 23, 2003 at 09:56:14AM -0500, Debbie D wrote:
> header FROM_ARMY             From =~ /army.mil/i
> describe FROM_ARMY   From ARMY

Ok.

> which did not wuite do the trick as there are a bunch of sub-domains that
> the mail could be FROM.. so I changed it to:

doesn't matter, the above matches "army.mil" anywhere in the string,
so "from: [EMAIL PROTECTED]", "from: [EMAIL PROTECTED]" or even "from:
[EMAIL PROTECTED]" would be hit.

> header FROM_ARMY             From =~ /*.army.mil/i
> describe FROM_ARMY   From ARMY
> which evidently was not to SA's liking because it stopped all testing past
> that rule.

That's a file glob, not a regular expression.  It would be ".*" not "*",
but as I said above, it's unnecessary unless you want to force something
before the army.mil.

A better way to do this though is whitelist_from or (if possible)
whitelist_from_rcvd.  Something like "whitelist_from [EMAIL PROTECTED]"
(whitelist uses globs, not RE) or "whitelist_from_rcvd [EMAIL PROTECTED]
army.mil" or something.

The Mail::SpamAssassin::Conf man page has more information. :)

-- 
Randomly Generated Tagline:
"Where's Roxanne?  Not here today...  She might have a lab... Those poor
  Calc. 2 kids ..."               - Prof. Farr

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to