View Single Post
  #1  
Old 19th November 2012, 15:02
ivowolfen ivowolfen is offline
Junior Member
 
Join Date: Nov 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Filter outgoing e-mails

Is it possible to filter outgoing e-mails of user and redirect them to specified addresses depends on recipient address. More specific, there are 4-5 "white list" email addresses, where the user can send and the others must be redirected to 1 "catch all" address. I try to do something with content filter, but only partially - redirected every mail from this to user from "whitelist":
Header checks:
/(From:.*user@mydomain.com)(.*To:user1@whitelist.co m)/m REDIRECT user1@whitelist.com
/(From:.*user@mydomain.com)(.*To:user2@whitelist.co m)/m REDIRECT user2@whitelist.com
...
But how to catch others, not in the whitelist, and redirect them to user@catchall.com .
If i add /^From: .*user@mydomain.com/ REDIRECT user@catchall.com,AFTER the other rules, nothing happens, if i add it BEFORE, every mail goes to catchall.
Sorry for my bad english and thank you in advance!
Reply With Quote
Sponsored Links