Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-13-2009, 03:03 PM   #1
Registered: Apr 2004
Location: Queens, NY
Distribution: Red Hat, Solaris
Posts: 295

Rep: Reputation: 30
Postfix smtp_fallback_relay issues

Hi guys, I am having an issue with Postfix and hope members can help. We have been looking for ways to send external mail to a secondary smart host if our primary exchange server goes down. Ex: Transport file: smtp:[]

If mailtest goes down we need to find a new host to relay to. So I discovered the smtp_fallback_relay directive which is perfect and does the job we were looking for by allowing us to define:

smtp_fallback_relay = []

However we are seeing issues were mail from internal hosts from exchange destined towards external unreachable mail servers are also getting relayed back to our smtp_fallback_relay. Ex: I send message to someone@nonexistent.domain and the server rejects the message it will come back to our exchange host. How do I only use the smtp_fallback_relay for inbound mail messages only and exclude outbound mail from the exchange servers from using the fallback directive?

Old 10-13-2009, 04:44 PM   #2
never say never
Registered: Sep 2009
Location: Indiana, USA
Distribution: SLES, SLED, OpenSuse, CentOS, ubuntu 10.10, OpenBSD, FreeBSD
Posts: 195

Rep: Reputation: 37
2 Server Instances?

Exchange? YUK!

The only way I can think of to accomplish what I think you want to do is to use 2 instances of Postfix. One to process incoming mail on port 25 and another instance running on a different port say 2525 for outgoing mail from Exchange. This will of course mean you will have to direct Exchange to forward outgoing mail to port 2525 of your Postfix box. I think that will accomplish what you want.

Another option might be to have Exchange forward outgoing mail to your ISP's Mail Server.

Maybe someone else will have a better solution.


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
I am having issues trying to configure Postfix on RHEL5 Wheddod Linux - Software 9 10-07-2008 06:51 AM
postfix mapping issues ryedunn Linux - Newbie 4 03-06-2006 08:02 PM
Postfix $myorigin issues clickster Linux - Software 3 06-14-2005 10:45 AM
Postfix + Procmail delivery issues lhoff Mandriva 0 02-28-2004 10:23 PM
mail server issues - POSTFIX macdafoe Linux - Newbie 2 09-14-2003 10:09 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:40 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