I tried to set slow_destination_concurrency_failed_cohort_limit = 0, and send
20 messages with number of recipients is 5 for each message (I used a self
made JAVA program, and re-establish SMTP connection to my Postfix server for
each message), slow_destination_rate_delay = 300s, the first message has
been deferred but the rest of the messages in the active queue just been
deferred, the rest messages of the have also been deferred at once. Pls find
my configuration and logs below. Thx.

# master.cf
slow      unix  -       -       n       -       1       smtp
        -o syslog_name=postfix-slow
        -o smtp_helo_timeout=10

# main.cf
slow_destination_rate_delay = 300
slow_destination_concurrency_limit = 2
slow_destination_recipient_limit = 5
slow_connection_cache_destinations =
!yahoo.com,!yahoo.com.hk,!yahoo.com.cn,!yahoo.com.tw
slow_destination_concurrency_failed_cohort_limit = 0
slow_connection_cache_time_limit = 0
slow_never_send_ehlo = yes
slow_helo_timeout = 10
slow_connect_timeout = 5

# maillog
Jan 30 09:09:35 mailgw1 postfix-slow/smtp[15335]: A5C112EDDFE:
to=<jacky11287...@yahoo.com.hk>, relay=c.mx.mail.yahoo.com[216.39.53.3]:25,
delay=3.9, delays=0.1/0.1/3.7/0, dsn=4.0.0, status=deferred (host
c.mx.mail.yahoo.com[216.39.53.3] refused to talk to me: 421 Message from
(161.64.2.15) temporarily deferred - 4.16.50. Please refer to
http://help.yahoo.com/help/us/mail/defer/defer-06.html)
Jan 30 09:09:35 mailgw1 postfix-slow/smtp[15335]: A5C112EDDFE:
to=<jacky1128...@yahoo.com.hk>, relay=c.mx.mail.yahoo.com[216.39.53.3]:25,
delay=3.9, delays=0.1/0.1/3.7/0, dsn=4.0.0, status=deferred (host
c.mx.mail.yahoo.com[216.39.53.3] refused to talk to me: 421 Message from
(161.64.2.15) temporarily deferred - 4.16.50. Please refer to
http://help.yahoo.com/help/us/mail/defer/defer-06.html)
Jan 30 09:09:35 mailgw1 postfix-slow/smtp[15335]: A5C112EDDFE:
to=<jacky1128...@yahoo.com.hk>, relay=c.mx.mail.yahoo.com[216.39.53.3]:25,
delay=3.9, delays=0.1/0.1/3.7/0, dsn=4.0.0, status=deferred (host
c.mx.mail.yahoo.com[216.39.53.3] refused to talk to me: 421 Message from
(161.64.2.15) temporarily deferred - 4.16.50. Please refer to
http://help.yahoo.com/help/us/mail/defer/defer-06.html)
Jan 30 09:09:35 mailgw1 postfix-slow/smtp[15335]: A5C112EDDFE:
to=<jacky1128...@yahoo.com.hk>, relay=c.mx.mail.yahoo.com[216.39.53.3]:25,
delay=3.9, delays=0.1/0.1/3.7/0, dsn=4.0.0, status=deferred (host
c.mx.mail.yahoo.com[216.39.53.3] refused to talk to me: 421 Message from
(161.64.2.15) temporarily deferred - 4.16.50. Please refer to
http://help.yahoo.com/help/us/mail/defer/defer-06.html)
Jan 30 09:09:35 mailgw1 postfix-slow/smtp[15335]: A5C112EDDFE:
to=<jacky1128...@yahoo.com.hk>, relay=c.mx.mail.yahoo.com[216.39.53.3]:25,
delay=3.9, delays=0.1/0.1/3.7/0, dsn=4.0.0, status=deferred (host
c.mx.mail.yahoo.com[216.39.53.3] refused to talk to me: 421 Message from
(161.64.2.15) temporarily deferred - 4.16.50. Please refer to
http://help.yahoo.com/help/us/mail/defer/defer-06.html)
---> The above related to the first message, and below related to the rest
of messages in the active queue which have been deferred at time when the
first message has been deferred (You may notice the timestap) <---
Jan 30 09:09:35 mailgw1 postfix/error[15341]: B10952EDE00:
to=<jacky11287...@yahoo.com.hk>, relay=none, delay=4.1, delays=0.1/4/0/0.04,
dsn=4.0.0, status=deferred (delivery temporarily suspended: host
c.mx.mail.yahoo.com[216.39.53.3] refused to talk to me: 421 Message from
(161.64.2.15) temporarily deferred - 4.16.50. Please refer to
http://help.yahoo.com/help/us/mail/defer/defer-06.html)
Jan 30 09:09:35 mailgw1 postfix/error[15343]: D264E2EDDF2:
to=<jacky11287...@yahoo.com.hk>, relay=none, delay=4,
delays=0.12/3.8/0/0.06, dsn=4.0.0, status=deferred (delivery temporarily
suspended: host c.mx.mail.yahoo.com[216.39.53.3] refused to talk to me: 421
Message from (161.64.2.15) temporarily deferred - 4.16.50. Please refer to
http://help.yahoo.com/help/us/mail/defer/defer-06.html)
Jan 30 09:09:35 mailgw1 postfix/error[15342]: D570F2EDDF5:
to=<jacky11287...@yahoo.com.hk>, relay=none, delay=4,
delays=0.05/3.9/0/0.07, dsn=4.0.0, status=deferred (delivery temporarily
suspended: host c.mx.mail.yahoo.com[216.39.53.3] refused to talk to me: 421
Message from (161.64.2.15) temporarily deferred - 4.16.50. Please refer to
http://help.yahoo.com/help/us/mail/defer/defer-06.html)
Jan 30 09:09:35 mailgw1 postfix/error[15347]: 018862EDE01:
to=<jacky11287...@yahoo.com.hk>, relay=none, delay=3.9,
delays=0.11/3.7/0/0.08, dsn=4.0.0, status=deferred (delivery temporarily
suspended: host c.mx.mail.yahoo.com[216.39.53.3] refused to talk to me: 421
Message from (161.64.2.15) temporarily deferred - 4.16.50. Please refer to
http://help.yahoo.com/help/us/mail/defer/defer-06.html)
Jan 30 09:09:35 mailgw1 postfix/error[15345]: 00CAF2EDDFF:
to=<jacky11287...@yahoo.com.hk>, relay=none, delay=3.9,
delays=0.06/3.8/0/0.09, dsn=4.0.0, status=deferred (delivery temporarily
suspended: host c.mx.mail.yahoo.com[216.39.53.3] refused to talk to me: 421
Message from (161.64.2.15) temporarily deferred - 4.16.50. Please refer to
http://help.yahoo.com/help/us/mail/defer/defer-06.html)
Jan 30 09:09:35 mailgw1 postfix/error[15341]: B10952EDE00:
to=<jacky1128...@yahoo.com.hk>, relay=none, delay=4.2, delays=0.1/4/0/0.12,
dsn=4.0.0, status=deferred (delivery temporarily suspended: host
c.mx.mail.yahoo.com[216.39.53.3] refused to talk to me: 421 Message from
(161.64.2.15) temporarily deferred - 4.16.50. Please refer to
http://help.yahoo.com/help/us/mail/defer/defer-06.html)




Victor Duchovni wrote:
> 
> On Thu, Jan 29, 2009 at 12:47:42AM -0800, Jacky Chan wrote:
> 
>> 
>> Hi all,
>> 
>> I implemented slow transport with delay of 5 mins in Postfix 2.5, when my
>> client send a lot of messages at a time, I notice that Postfix active
>> queued
>> queued most of this messages. A symptom occurs when one of the slow
>> transport destination MX temporarly defered the current processing
>> messages
>> in the active queue, the rest of the pending messages will directly be
>> deferred. Is there any default cache setting been enabled? How can I
>> prevent
>> this from happening and thus to force the rest of the messages in the
>> active
>> queue to try deliver by trying another MX hosts of that slow transport
>> destination.
> 
> With Postfix 2.5:
> 
>     slow_destination_concurrency_failed_cohort_limit = 0
> 
> to turn off dead-destination detection entirely. Or
> 
>     slow_destination_concurrency_failed_cohort_limit = 10
> 
> to require 10 consecutive failures to declare the destination dead.
> 
>     http://www.postfix.org/SCHEDULER_README.html
> 
> Warning, the above tdocument contains advanced material.
> 
> -- 
>       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.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Defer-Retry-tp21722888p21739964.html
Sent from the Postfix mailing list archive at Nabble.com.

Reply via email to