Re: [exim] retry with a different router if delivery failed

Etusivu
Poista viesti
Vastaa
Lähettäjä: Heiko Schlittermann
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] retry with a different router if delivery failed
Felix Schwarz <felix.schwarz@???> (Sa 01 Okt 2016 22:06:04 CEST):
> Hi,
>
> I have a backend system which might not be available sometimes. Usually I can
> forward my messages from Exim directly with SMTP but sometimes this will fail.
> Currently Exim just puts the message in a queue and applies the regular timeouts.
>
> Ideally I'd prefer if Exim could place a message to a local maildir in case of
> a delivery failure (so the backend system would fetch these later using IMAP/POP).


Can't you use something like

backend:
    driver = …
    condition = ${if first_delivery}
    …


fallback:
    driver = …
    …


(Probably a fallback_transport would be good, but currently it doesn't
exist.)

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -