Current time: 05-02-2024, 09:07 PM Hello There, Guest! (LoginRegister)


Post Reply 
The transport file
Author Message
peman Offline
Banned

Posts: 77
Joined: May 2008
Post: #6
RE: The transport file
Hello,

just to confirm. If i add lines to these files, i hope that nothing will happen with the other mail domains/accounts. we have several and its just about two domains that needs to be transported to our internal Exchange mail server. All the other domains will still be able to send their mails, right?

(10-23-2010 01:24 AM)kilburn Wrote:  1. You're right in that the transport maps is one of the places where you should setup this stuff. Remember that you must change BOTH /etc/ispcp/postfix/working/transport AND /etc/postfix/ispcp/transport. Basically, you should add a line there with something like:
Code:
domain.tld     smtp:[your.exchange.ip.address]
Notice that the brackets [] MUST be there (otherwise postfix would try to lookup the MX entry for your.exchange.ip.address and fail miserably).

2. Additionally, you must also remove (or comment) the domain from the local domains list (/etc/ispcp/postfix/working/domains AND /etc/postfix/ispcp/domains).

Once you've applied this changes, postmap the files and reload postfix:
Code:
postmap /etc/postfix/ispcp/{transport,domains}
/etc/init.d/postfix/reload

... and that's it. The server will relay any mails it receives for "domain.tld" to your exchange server.
07-07-2011 12:51 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
The transport file - peman - 10-22-2010, 05:13 AM
RE: The transport file - Nuxwin - 10-22-2010, 03:50 PM
RE: The transport file - kilburn - 10-23-2010, 01:24 AM
RE: The transport file - peman - 07-07-2011 12:51 AM
RE: The transport file - peman - 10-27-2010, 05:50 AM
RE: The transport file - peman - 10-27-2010, 05:50 AM
RE: The transport file - kilburn - 07-07-2011, 07:22 AM
RE: The transport file - peman - 07-13-2011, 01:10 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)