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!

2 incoming mail servers

Status
Not open for further replies.

ejesus

IS-IT--Management
Jul 25, 2006
2
ES
Hi all,

My old mail server runs Postfix and now I am setting up an Exchange 2003 Server in the same subnetwork. I want my old mail server to be the mail server receiving all the message, but i would like to automatically send a copy to the new SMTP agent in the Exchange Server. Both server have to be configured with the same domain and i don't know how to perform the redirection.

Can you help me?
Thanks!
 
Autoreply!

I did the following:

1) I created a file with the format:

user1@mydomain relay:myexchangesmtpserver@mydomain
user2@mydomain relay:myexchangesmtpserver@mydomain

2) I then ran:

> postmap /mydir/thefile

3) I added to my "main.cf":

transport_maps: hash:/mydir/thefile

Now all the messages sent to "user1" and "user2" are redirected to the SMTP agent in my Exchange box. It is not exactly what I wanted, but it is useful to test the Exchange server.

Bye!
 
I could be wrong, but I believe that this configuration will cause all messages to be sent to the Exchange server only, not a copy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top