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