how can I configure postfix to forward/redirect all incoming emails to another mail server (mail.domain.com).
You can use Transports. Put the following line into /etc/postfix/main.cf: Code: transport_maps = hash:/etc/postfix/transport Into /etc/postfix/transport, you put Code: * smtp:<destination mailserver> Then run Code: postmap /etc/postfix/transport /etc/init.d/postfix restart
Hi im kinda new to postfix my self so just want to double check were you add >>>>> transport_maps = hash:/etc/postfix/transport Regards rickie
sorry asbout the last post i actually meant is there a specific place in the main.cf file it should be placed, like the top of the file the bottom... Regards rickie
Hye I'm new to postfix and need to accomplish the same effect as above ( I need all emails coming to a certain domain to be forwarded to a single use under another domain.) so what I did, I added the domain to the transport table and the transport to the appropriate server. My problem is I am not clear on how I am to retrieve the mail sent to that domain. How does the mail know what user to go to? or how do I dictate what user all mail coming to domain blabla.com should go to on blabla2.com? -B
Relayhost You can also use: relayhost = smtp.server.com in main.cf to forward all external mail to a smart host