Re: [exim] retry configuration

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: W B Hacker
Dátum:  
Címzett: exim users
Tárgy: Re: [exim] retry configuration
Graeme Fowler wrote:
> On Mon, 2009-04-20 at 23:55 +0300, Catalin Constantin wrote:
>> With Exim the only issue is retry. It does not retry to deliver the
>> email soon enough.
>
> So... change the retry rules. If you have the defaults, they are:
>
>> begin retry
>>
>> # This single retry rule applies to all domains and all errors. It specifies
>> # retries every 15 minutes for 2 hours, then increasing retry intervals,
>> # starting at 1 hour and increasing each time by a factor of 1.5, up to 16
>> # hours, then retries every 6 hours until 4 days have passed since the first
>> # failed delivery.
>>
>> # WARNING: If you do not have any retry rules at all (this section of the
>> # configuration is non-existent or empty), Exim will not do any retries of
>> # messages that fail to get delivered at the first attempt. The effect will
>> # be to treat temporary errors as permanent. Therefore, DO NOT remove this
>> # retry rule unless you really don't want any retries.
>>
>> # Address or Domain    Error       Retries
>> # -----------------    -----       -------

>>
>> *                      *           F,2h,15m; G,16h,1h,1.5; F,4d,6h

>
> Run exim such that it runs the queue every 2 minutes and change the
> retry rule to something which suits you for yahoo.*:
>
> yahoo.com * F,6h,6m; G,24h,10m,1.4; F,7d,12h
>
> In other words: for yahoo.com, retry every 6 minutes up to 6 hours;
> after this retry at 10 minutes and then grow the interval by a factor of
> 1.5 up to 24 hours (giving 13 retries in the next 18 hours); then retry
> every 6 hours after the first 24 hours up to a maximum of 7 days.
>


JFWIW, mine (where a same-workday fail is preferred over a'maybe in 4
days' delivery, so there is time to pick up the phone or send a fax):

*                        *         F,10m,2m; G,2h,5m,1.1; F,4h,30m


And starting Exim with q55s

likewise:

auto_thaw                        = 20m


Queue-runners are excluded from logging, lest they fill the disk, with;

log_selector = +all -all_parents -queue_run -arguments


> You can tune this. Perhaps, by default, Postfix does more (or less?)
> aggressive retries. Under normal operation I see nothing playing silly
> beggars with yahoo.* (or hosted domains such as btinternet) but every
> once in a while they do something that causes swathes of the Internet to
> get delayed.
>
> As an aside, did you contact Yahoo at all about this?
>
> Graeme
>
>


FWIW, Catalin has sent a tst message through one of my 'uber paranoid'
boxen which was found to be sufficently short of bad attributes it could
jog under the white line on a motorway w/o raising a bump.

Bill