On 10/21/2011 12:16 PM, Bret Miller wrote:
> You could say
> header  __LOCAL_MAILENGINE ALL =~ /mailengine.+\.com/i
>
> to match anything between mailengine and .com.

The problem there is that this would match something like
"mailengineblah.aol.com".  This may or may not cause any issues, but it
is better to use the negative character class, [^.]+, to avoid the issue
and keep the match from spanning over parts of the domain name.

-- 
Bowie

Reply via email to