[exim] Re: How to use a smarthost after a permanent error on…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: [exim] Re: How to use a smarthost after a permanent error on direct delivery
On 04/10/2024 10:14, Giuseppe Sacco via Exim-users wrote:
> Or any other solution that I do not currently see.


How about a condition on your main-outbound router
using en expansion with a "first_delivery" test,
and a router after that one sending all outbounds
to your smarthost?

To be fair, you'd take a retry time on each of
the latter. You might do some cleverness with
a DB write during the latter (a condition option
used only for the DB write side-effect would be one way)
to update your list. Then you'd only take
the hit for the first one to a new destination.
--
Cheers,
Jeremy


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/