LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Postfix forward all inbound mail to another server (https://www.linuxquestions.org/questions/linux-software-2/postfix-forward-all-inbound-mail-to-another-server-337612/)

bourbon_beast 06-27-2005 08:53 AM

Postfix forward all inbound mail to another server
 
HI guys

I have two mail servers one of which is on a Linux box, Trustix and the other a Exchange 2003.

All is up and running expect one small link in the chain.

I have fetchmail polling all outside pop boxes, which then passes to postfix, which I would like to forward all message onto the exchange server, without keeping a copy locally.

The two servers are on fixed ip addresses. Postfix will do all the av and spam work and then forward to exchange server each message.

I have seen some stuff about relay host, but isn't that related to allowing other domains to send mail via my postfix box?

How do I do this, all message forewarding ?!?

Thanks

SolidSnake 06-27-2005 05:00 PM

Hi,
I think this may be what you want.

in your main.cf add
transport_maps = hash:/etc/postfix/transport
(change to correct path if its diffrent)

and in /etc/postfix/transport at the bottem add something like
* smtp:ex2k3.blah.blah.net

(some one correct if im rong)

bourbon_beast 06-28-2005 04:48 AM

Thanks not on the machine at the moment but will give a try and let you know. :)


All times are GMT -5. The time now is 05:47 AM.