Re: [Exim] Retry Times for Bounce Messages

Página Inicial
Delete this message
Reply to this message
Autor: Mark Hynes
Data:  
Para: Matt Hubbard
CC: Exim Users
Assunto: Re: [Exim] Retry Times for Bounce Messages
On Jun 18, Matt Hubbard wrote:
> I've found that "ignore_bounce_errors_after" doesn't appear to work for
> short time periods, e.g. "2h". I see frozen error messages that are 12
> hours and older when this setting is set to "2h".
>
> On a related note, as a potential wish list item. Would it be possible
> to specify "retry rules" by sender (specifically the null sender '<>')?
>
> I have problems with bounce messages that do not get hard errors on
> delivery attempt accumulating on my mail queues. Ideally, I'd like to
> specify retry rules and give up on sending any kind of bounce after a
> certain time period.


You could use a router which matches messages with a null sender older than
the lenth of time you want to keep them, something like:

timeout_old_bounces:
driver = redirect
allow_fail
senders = :
condition = ${if >{$message_age}{345600}{1}{0}}
data = :fail: Unable to deliver message for a long period
no_more

where 345600 is the age in seconds (so 4 days in that example)

--
  Mark Hynes               mark.hynes@???
    Service Developer        http://www.uk.easynet.net/
      Easynet Ltd