Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-28-2003, 02:21 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
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?


Old 10-28-2003, 02:47 PM   #2
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
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.

Last edited by chort; 10-28-2003 at 02:54 PM.
Old 10-28-2003, 04:01 PM   #3
LQ Newbie
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks chort......adding the

transport_maps = hash:/etc/postfix/transport

fixed the issue.

Thanks for your quick reply.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SUSE as an internal mail server Sarcha SUSE / openSUSE 2 11-29-2005 09:51 AM
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 03:43 PM
postfix will not send internal mail fng_#1 Linux - Newbie 0 12-09-2004 04:30 PM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 04:41 PM
Postfix will only receive internal mail elgolferisto Linux - Software 10 10-06-2003 08:35 PM

All times are GMT -5. The time now is 11:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration