Old 26th July 2011, 13:45
russel_sc russel_sc is offline
Junior Member
Join Date: Jul 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question Postfix - Mail bounce

Hi All.

It's highly appreciated if someone can tell me a solution for my below problem: -

I have a postfix mail server on ubuntu 10.04 lts behind a router. so all local users are fetching/sending mails through ms outlook using local IP. Sometimes when internet goes down and any mail send then it bounced back immediately saying domain not found. Can u please tell me how i configure to hold all mails in postfix server rather than bounce when internet fails and will pass through when restored the internet around 15-30 minutes?

Thank u.

Reply With Quote
Sponsored Links
Old 27th July 2011, 08:54
dipeshmehta dipeshmehta is offline
Senior Member
Join Date: Nov 2008
Location: Rajkot, India
Posts: 175
Thanks: 5
Thanked 13 Times in 13 Posts
Send a message via Yahoo to dipeshmehta Send a message via Skype™ to dipeshmehta

Check your postfix's main.cf for bounce_queue_lifetime parameter, if it is set to 0 then delivery attempts tried only once. (It is 5 days by default).
Reply With Quote
Old 27th July 2011, 13:01
russel_sc russel_sc is offline
Junior Member
Join Date: Jul 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

There is no any "bounce_queue_lifetime" parameter but smtpd_error_sleep_time = 0. Please tell if the "smtpd_error_sleep_time" is causing the problem or not?

Reply With Quote
Old 27th July 2011, 13:54
Ben Ben is offline
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts

Did you google for the given keywords / configuration parameters?

Then you'd have come across: http://www.postfix.org/postconf.5.html

The Postfix main.cf configuration file specifies a very small subset of all the parameters that control the operation of the Postfix mail system. Parameters not explicitly specified are left at their default values.
So this is the reason, both of these switches CAN be explicitly set in your main.cf. But if not set, then the default value is used.

According to the above documentation, I'd say changing smtpd_error_sleep_time back to 1 (default) won't help here.

Maybe it helps to see your main.cf and the exact error message from the logs. As for my understanding "bounce_queue_lifetime" (which is set to 5d by default) should work for this, as the message is kept for 5 days until it gets back to the original sender.
Reply With Quote


postfix - mail bounce

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
How cai remove amavis from postfix ? gabrix Server Operation 16 2nd October 2012 10:58
Email being accepted but not delivered punto Installation/Configuration 8 25th May 2011 01:13
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 15:33
Need help get mail to work (can't recieve and apperently can't send) omega13a Installation/Configuration 19 20th August 2009 22:06
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 12:14

All times are GMT +2. The time now is 09:01.

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