-   Linux - Networking (
-   -   Postfix relaying mail to internal mail server (

tradecraft1 10-28-2003 01:21 PM

Postfix relaying mail to internal mail server

I have an Exchange server running inside our network, exchange.mydomain.local at I am trying to set up Postfix to accept mail bound for and relay / forward it to the exchange server. It will accept email but it tries to deliver it locally.

I added " smtp:[]" to /etc/postfix/transport and ran postmap transport. I cant seem to figure out what changes to I need to stop mail from being delivered locally on the Postfix box.

Any suggestions?



chort 10-28-2003 01:47 PM

Hmm, according to my Postfix book you should just need:

an entry in /etc/postfix/transport smtp:

entry in /etc/postfix/
transport_maps = hash:/etc/postfix/transport

then I believe you need to run
postmap /etc/postfix/transport

One other thing I came across, you may want to set
default_transport = smtp

which should force Postfix to try SMTP delivery for anything not defined explicitly (this should defeat implicit local delivery).

WARNING: I have NOT tested ANY of the above. I'm just interpreting information from Postfix by Richard Blum, published by Sams.

tradecraft1 10-28-2003 03:01 PM

Thanks chort......adding the

transport_maps = hash:/etc/postfix/transport

fixed the issue.

Thanks for your quick reply.


All times are GMT -5. The time now is 02:24 AM.