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":
/(From:.*email@example.com)(.*To:firstname.lastname@example.org m)/m REDIRECT email@example.com
/(From:.*firstname.lastname@example.org)(.*To:email@example.com m)/m REDIRECT firstname.lastname@example.org
But how to catch others, not in the whitelist, and redirect them to email@example.com
If i add /^From: .*firstname.lastname@example.org/ REDIRECT email@example.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!