Re: NDR's Not being Delivered Until 5 Days have Lapsed
On Wed, Apr 22, 2009 at 11:57:27AM -0400, wiskbr...@hotmail.com wrote: My users NDR's are not arriving until the 5 day retry period has lapsed, http://tools.ietf.org/html/rfc5321#section-4.5.4.1 creating issues whereby time critical emails are not getting out due to their unawareness of this matter. The customer has somewhat unrealistic expectations of email as an instant-messaging protocol. This said, retry times of ~2 days are not unreasonable. However, lowering this to hours or minutes is not. Here is some of my postconf output, hopefully the important/relevant parts: Don't make random configuration changes when you don't know what you are doing. Undo *all* the changes you made. They having to do with error handling in outgoing mail... unknown_hostname_reject_code = 550 unknown_local_recipient_reject_code = 450 Set this one to 550, to help remote senders not needlessly retry undeliverable mail they are sending to you. unknown_relay_recipient_reject_code = 550 unknown_virtual_alias_reject_code = 550 unknown_virtual_mailbox_reject_code = 550 Anything I must change here in order for outbound email to get quick NDR's? # Do not set lower! maximal_queue_lifetime = 2d -- 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.
Re: NDR's Not being Delivered Until 5 Days have Lapsed
On 4/22/2009 11:57 AM, wiskbr...@hotmail.com wrote: Hello; My users NDR's are not arriving until the 5 day retry period has lapsed, creating issues whereby time critical emails are not getting out due to their unawareness of this matter. I've tried several changes in my main.cf, none seem to do the trick for me. Here is some of my postconf output, hopefully the important/relevant parts: Always provide full postconf -n output... Anyway, I think what you want to set is delay_warning_time. I set mine to 15 minutes: delay_warning_time = 15m This was dictated by my boss... personally, I think 2 or maybe 4 hours is enough, but I agree, 5 days is way too long for me... I'd love to be able to provide ongoing warnings... 15m, then 4 hours, then 1 day, etc... but don't think this is possible in vanilla postfix (love to learn I'm wrong)... -- Best regards, Charles
RE: NDR's Not being Delivered Until 5 Days have Lapsed
From: victor.ducho...@... On Wed, Apr 22, 2009 at 11:57:27AM -0400, wiskbr...@... wrote: My users NDR's are not arriving until the 5 day retry period has lapsed, http://tools.ietf.org/html/rfc5321#section-4.5.4.1 Thanks, I've been needing to re-read lots of other RFC's lately :-( creating issues whereby time critical emails are not getting out due to their unawareness of this matter. The customer has somewhat unrealistic expectations of email as an instant-messaging protocol. This said, retry times of ~2 days are not unreasonable. However, lowering this to hours or minutes is not. Here is some of my postconf output, hopefully the important/relevant parts: Don't make random configuration changes when you don't know what you are doing. Undo *all* the changes you made. They having to do with error handling in outgoing mail... I've undone the one change that I had made, thanks. unknown_hostname_reject_code = 550 unknown_local_recipient_reject_code = 450 Set this one to 550, to help remote senders not needlessly retry undeliverable mail they are sending to you. Done, thanks! unknown_relay_recipient_reject_code = 550 unknown_virtual_alias_reject_code = 550 unknown_virtual_mailbox_reject_code = 550 Anything I must change here in order for outbound email to get quick NDR's? # Do not set lower! maximal_queue_lifetime = 2d Done, and am also considering Charles Marcus' response (attached below): [CM] Anyway, I think what you want to set is delay_warning_time. I set mine to 15 minutes: [CM] delay_warning_time = 15m Seems pretty reasonable to be, though I may set this to 90m instead. Thank you Victor and Charles. .vp
Re: NDR's Not being Delivered Until 5 Days have Lapsed
* wiskbr...@hotmail.com wiskbr...@hotmail.com: Hello; My users NDR's are not arriving until the 5 day retry period has lapsed, creating issues whereby time critical emails are not getting out due to their unawareness of this matter. Normal in certain cases (typoed domains, mostly). Why not use: delay_warning_time = 1h -- Ralf Hildebrandt Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.computerbeschimpfung.de The same people that tell you that a Linux program is as good as a WinNT program would also tell you it's better to wipe your ass with a belt sander instead of toilet paper. I can hear them now -- It may not look as good but it's faster and does a more thorough job!
RE: NDR's Not being Delivered Until 5 Days have Lapsed
From: ralf.hildebra...@... * wiskbr...@... : Hello; My users NDR's are not arriving until the 5 day retry period has lapsed, creating issues whereby time critical emails are not getting out due to their unawareness of this matter. Normal in certain cases (typoed domains, mostly). Why not use: delay_warning_time = 1h Great point. What about for undeliverable address: unknown user:? I set delay_warning_time to 120m and after 2 hours never received any warnings at all that my email was rejected due to being sent to an undeliverable address, user unknown in this case. Finally, prior to my change to delay_warning_time, postconf showed it set to 0, which I suppose does *not* mean instantly? .vp
Re: NDR's Not being Delivered Until 5 Days have Lapsed
On 4/22/2009, wiskbr...@hotmail.com (wiskbr...@hotmail.com) wrote: What about for undeliverable address: unknown user:? I set delay_warning_time to 120m and after 2 hours never received any warnings at all that my email was rejected due to being sent to an undeliverable address, user unknown in this case. Changing those settings will only affect new messages... messages already in the queue are still subject to the settings that existed when they were sent. If there aren't many messages in the queue, you could resubmit them with postsuper -r ALL... -- Best regards, Charles
RE: NDR's Not being Delivered Until 5 Days have Lapsed
From: cmar...@... On 4/22/2009, wiskbr...@... (wiskbr...@...) wrote: What about for undeliverable address: unknown user:? I set delay_warning_time to 120m and after 2 hours never received any warnings at all that my email was rejected due to being sent to an undeliverable address, user unknown in this case. Changing those settings will only affect new messages... messages already in the queue are still subject to the settings that existed when they were sent. If there aren't many messages in the queue, you could resubmit them with postsuper -r ALL... I had run postfix reload, then retried sending, same results... .vp
RE: NDR's Not being Delivered Until 5 Days have Lapsed
From: cmar...@... On 4/22/2009, wiskbr...@... (wiskbr...@...) wrote: What about for undeliverable address: unknown user:? I set delay_warning_time to 120m and after 2 hours never received any warnings at all that my email was rejected due to being sent to an undeliverable address, user unknown in this case. Changing those settings will only affect new messages... messages already in the queue are still subject to the settings that existed when they were sent. If there aren't many messages in the queue, you could resubmit them with postsuper -r ALL... I had run postfix reload, then retried sending, same results... Well, the remote side apparently had unknown_local_recipient_reject_code = 450, which I am assuming had me retrying, I too had this setup this way until this afternoon. I've just sent to a different recipient and one that I know has unknown_local_recipient_reject_code = 550 and in deed I received the bounce instantly. Does this mean that if a remote site has this set to 450 that I will keep trying for 5 days, or however long my maximal_queue_lifetime is set for? What do I do in the case of misconfigured (are they?) MTA's? Thanks, .vp
Re: NDR's Not being Delivered Until 5 Days have Lapsed
* wiskbr...@hotmail.com wiskbr...@hotmail.com: What about for undeliverable address: unknown user:? I set delay_warning_time to 120m and after 2 hours never received any warnings at all that my email was rejected due to being sent to an undeliverable address, user unknown in this case. Logs? Finally, prior to my change to delay_warning_time, postconf showed it set to 0, which I suppose does *not* mean instantly? It means: do not warn at all -- Ralf Hildebrandt Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.computerbeschimpfung.de I hate microsoft with a passion. They suck. I irrationally loathe the company, their products, and everything they stand for.
Re: NDR's Not being Delivered Until 5 Days have Lapsed
* wiskbr...@hotmail.com wiskbr...@hotmail.com: Does this mean that if a remote site has this set to 450 that I will keep trying for 5 days, or however long my maximal_queue_lifetime is set for? Exactly. What do I do in the case of misconfigured (are they?) MTA's? Wait 5 days. Or contact the idiot sysadmin on the receiving end. Oh, let me guess, they don't have a postmaster account or a proper WHOIS entry, either. -- Ralf Hildebrandt Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.computerbeschimpfung.de Windows 95 /n./ 32 bit extensions and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company that can't stand 1 bit of competition.