On Tue, Mar 24, 2009 at 09:31:03AM +0530, Ashwin Muni wrote: > I have a query i want postfix not to try sending mails to a destination > which is dead. Does postfix maintains cache or is there any settings to be > done for it. Tried googleing found this two directives. But dont exactly > know it really works . > > minimal_backoff_time = 86400
Insane, restore this to the default setting. > maximal_backoff_time = 86400 Too high, anythind over an hour or two does not help much. Postfix automatically defers mail to dead destinations. It will allow a retry of a few messages no sooner than $minimal_backoff_time, but this does no harm. > Ex: I'm sending a mail to xyz.com and my server could not connect to the > xyz.com smtp server. My mail gets deffered and then it tries as per my > setting but later another user of mine tries to send mail to the same domain > and it happens again. I dont want postfix to try instead it can check the > cache for the domain and not try delivering it. You are chasing phantom problems. The default settings are fine, and what you are proposing is extremely fragile. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.