On 11/20/2011 10:02 PM, Sergio wrote: > > header __ENV_FROM_DHL Received =~ /envelope-from [^ @]+@dhl[^ > .]+\.com/i > header __FROM_DHL From =~ /\bdhl[^ .]+\.com/i
These will match any domain that starts with "dh" and ends with ".com". For example, they will match "someu...@dhalailama.com". Is this expected? If you just want to match a single character, then get rid of the +. header __ENV_FROM_DHL Received =~ /envelope-from [^ @]+@dhl[^ .]\.com/i header __FROM_DHL From =~ /\bdhl[^ .]\.com/i -- Bowie