Redirect specific e-mail address sent to a user, to another user.
- by Michael Pasqualone
I need to redirect e-mail within our MTA when the two following criteria are both true:
When an e-mail is:
Sent from: user@isp.com
Addressesd to: user@ourcompany.com
Result: redirect e-mail to user2@ourcompany.com.
I don't want to catch *@isp.com and redirect, and I don't want to redirect all e-mail addressed to user@ourcompany.com but only redirect when user@isp.com sends user@ourcompany.com an e-mail.
How do I achieve this within Postfix's configuration. And if it's not possible within Postfix, what may be the best solution?