This is a discussion on Different relay for different senders within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hi all, I was wondering if I can setup postfix so that whenever user1@mydomain.com sends an email it ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all,
I was wondering if I can setup postfix so that whenever user1@mydomain.com sends an email it uses relayhost1 and whenever user2@mydomain.com sends an email it uses relayhost2? I know I can setup a transport so that the relay is selected depending on the destination domain. Instead, I want the FROM: field in the email to dictate which relay is used. Thanks, Ivan C. |
|
|||
|
My edit - I didn't realize email addresses where editted. Should read
user1 (at) mydomain.com and user2 (at) mydomain.com icorretj@gmail.com wrote: > Hi all, > > I was wondering if I can setup postfix so that whenever > user1 (at) mydomain.com sends an email it uses relayhost1 and whenever > user2 (at) mydomain.com sends an email it uses relayhost2? > > I know I can setup a transport so that the relay is selected depending > on the destination domain. Instead, I want the FROM: field in the > email to dictate which relay is used. > > > Thanks, > > Ivan C. |