Loading ...
Sorry, an error occurred while loading the content.

225653Re: regexp sender_bcc map not working

Expand Messages
  • Noel Jones
    Aug 31, 2007
    • 0 Attachment
      At 12:03 PM 8/31/2007, Marco De Vitis wrote:
      >I need to forward a copy of all messages sent from users of a domain,
      >except for one user (let's call him "goofy"), to a different address.
      >So I created this file:
      > if /^From:.*@mydomain.(com|it)/
      > !/^From:.* goofy@mydomain/ anotheraddress@...
      > endif

      the lookup key is the sender address, not a header. Don't include
      the From part.
      Also don't forget to escape the periods \. and add a $ anchor at
      the end of the expression.

      if /@mydomain\.(com|it)$/
      !/^goofy@mydomain$/ anotheraddress@...

      Noel Jones
    • Show all 4 messages in this topic