LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-13-2009, 02:03 PM   #1
keysorsoze
Member
 
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:

mailtest.example.com smtp:[192.168.99.99]

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 = [192.168.99.100]

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?

Thanks
 
Old 10-13-2009, 03:44 PM   #2
never say never
Member
 
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.
 
  


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


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

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