Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th March 2009, 14:17
mccyberix mccyberix is offline
Member
 
Join Date: Aug 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default Smarthost is rejecting all the Mails if the Primary MX is down!

I have setup a Mailgateway (Spam and Virusfilter) based on the 2 Howto's "Virtual Users and Domains with Postfix, Courier and MySQL" and "How to Fight Spam Using Your Postfix Configuration"... This configuration works really fine for me accept to one thing. The Mailgateway relays mails to my internal Mailserver but when the internal Mailserver is down the sender gets a ‘Mail can not be Delivered’ Error message. So my question is it possible to configure the Mailgateway to keep the mails in Queue and deliver them later when the internal Mailserver is up again instead of sending back the error Messages.

Last edited by mccyberix; 15th March 2009 at 15:59.
Reply With Quote
Sponsored Links
  #2  
Old 15th March 2009, 17:08
id10t id10t is offline
Senior Member
 
Join Date: Nov 2008
Posts: 240
Thanks: 2
Thanked 22 Times in 22 Posts
Default

Do you have secondary MX record?
Reply With Quote
  #3  
Old 15th March 2009, 17:35
mccyberix mccyberix is offline
Member
 
Join Date: Aug 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thx for reply!

no at this time not, I just want the relaying mailgateway to keep the mails for the internal mailserver in case that the endpointserver is down, this behaivior should be simillar to the function of an backup mx but has nothing to do with the dns rec's...
Reply With Quote
  #4  
Old 16th March 2009, 02:04
id10t id10t is offline
Senior Member
 
Join Date: Nov 2008
Posts: 240
Thanks: 2
Thanked 22 Times in 22 Posts
Default

Well, backup MXs (and all MX records) are part of DNS records... so you will need a backup MX record added to your DNS info.
Reply With Quote
  #5  
Old 16th March 2009, 10:01
mccyberix mccyberix is offline
Member
 
Join Date: Aug 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

ok, but this should not be a backup mailserver therefore I don't think I will solve this with a DNS entry. The topology is like this:



The 2 Mailgateways are configured as Antispam/Virus scanners and they have a MySQL DB as Lookup Table where the 'transport' Entry for each domain points to the Internal Mailserver (SMTP:[xxx.xxx.xxx.xxx]), this entry is my problem because if the Internal Server goes down the mails will not be queued on one of the Mailgateways instead they just try to send the Mails to the Internal Server and when they not succeed they send an error message to the Sender. I need an option to configure the Mailgateway to keep the Mails in Queue until the Internal Mailserver is up again. This should be a kind of switch between Mailqueue and the SMTP Transport...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 09:11
SuSE + Postfix = some mails get lost v8hadas Installation/Configuration 4 29th November 2007 21:29
Using primary & Secondary Mail Servers. joelee HOWTO-Related Questions 2 27th July 2007 18:25
question with ISPConfig and MySQL 4.1 on Debian Sarge schmidtedv General 1 15th April 2007 13:13
Empty Recycle Bin jon335 General 40 6th May 2006 11:56


All times are GMT +2. The time now is 03:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.