Le 5 mars 2011 à 18:46, Noel Jones a écrit : > On 3/5/2011 5:23 AM, N Z wrote: >> Hello, >> >> I'm using 2.8.0. I've added a new transport in master.cf : >> >> slow unix - - n - - smtp >> -o syslog_name=slow >> >> and the following in main.cf >> >> slow_destination_rate_delay = 20 >> slow_destination_concurrency_limit = 3 >> slow_destination_recipient_limit = 2 >> >> and finally the following in my transport table : >> >> wanadoo.fr slow: >> >> The issue is that I have only 1 message sent to wanadoo.fr every 20s, I >> expected to see 3 with this settings, so... what I am doing wrong ? > > > A non-zero *_destination_rate_delay enforces a concurrency limit of 1. This > also implies the minimum delay is 1 message per second, or no sub-second > delays. This isn't terribly clear in the docs.
Good catch, this explain my situation, thanks ! Just read the doc again and, well, I don't understand why I didn't catched it by myself... > > To limit this destination to ~3 messages every 20 seconds, set the delay to 6 > or 7. Yes, I'll try. I hope that the upstream will accept it, they have a very low (and weird) rate policy > >> >> I have warnings like this one in logs that are certainly related to the >> issue : >> >> warning: mail for wanadoo.fr is using up 1301 of 1500 active queue entries > > The warning is because you have so much mail queued for that destination. > Hopefully you can send mail out at a greater rate than it's coming in. I have the option to add several outgoing servers so it is not a problem, but the first step was to fix a low rate or they block our gateway completely. > >> also postconf does not show those slow_* added values in main.cf, is this >> correct ? > > Yes. > Thanks again. > > -- Noel Jones
