Re: [exim] Inject email into Exim, get Return Code if Tempor…

Top Pagina
Delete this message
Reply to this message
Auteur: Jasen Betts
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] Inject email into Exim, get Return Code if Temporarily Delayed
On 2014-10-15, mark david mcCreary <mark@???> wrote:
> I would like give Exim a message to deliver to a remote host, and get
> notified if Exim received a 4xx - Temporary Delay.
>
> That is, if the messages is delivered successfully or bounces (5xx),
> that is fine.
>
> But I don't want messages sitting on the queue because there was a
> temporary error. I want the spool queue to be empty at all times.


The spool will still contain messages that are in transit, so it will
be empty at most times. but not all times.

> Does anybody have any ideas on how this might be possible with Exim ?


given that you want the spool to be empty at all times, a notification
alone is not enough, you also want to discard the original... sounds
like a retry rule is what you want, (or more a "don't retry" rule I
guess)

so, set the retry timeout to zero:

http://exim.org/exim-html-current/doc/html/spec_html/ch-retry_configuration.html

I've never tried tr write an empty retry rule, perhaps it can be
written like this:

* *
or perhaps like this:

* * F,0s,0s

--
umop apisdn