Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

redirect/divert smtp relay mail

Status
Not open for further replies.

gbcyoyo

IS-IT--Management
Jan 20, 2011
1
CA
hello,

I am trying to figure out a way to configure our postfix relay server to send to different relays for the same domain.
All our hosts are configured to use relay.abc.com

domaine name=abc.com
in aliases file root is directed to an email adress ex root: whatever.abc.com

I need to be able to redirect to a different smtp relay depending what the from is
Ex:relay.abc.com receives ALL email but when it comes from=root@blahblahblah.abc.com relay=relay.abc.com it goes through the normal way for delivery.

Now, when a from=root@halbhalbhalb@abc.com then I need this email to be forwarded to another smtp relay server that will take care of sending the email at the right place ex relay.abc.com redirects from=root@halbhalbhalb.abc.com to
relay=otherrelay.abc.com

thx for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top