On Tue, Jan 18, 2022 at 1:59 AM Leonardo Boselli via Exim-users < [email protected]> wrote:
> I have two hosts a.example.com and p.example.com . > mail for example com arrive to A, but for some users is forwarded to > [email protected] . > Nothing special until here, you do with a procmail option at user level. > The problem is that host p could be disconnected, sometime also for > weeks, or even if conencted could refuse messges.. > Normally if you forward to a disconnected host after some time (one day ?) > you get a messge telling that you cannot connect it and after some days > gives up and bounces the message, and do it immediately if it get a 5xx > error. > What i want to do is that when sending a message to p.example.com > whatever > thing happens (no route to host/ dns error / no response / closed port / > 4xx or 5xx error), anything different than an accepted message, the > message remains in the queue and is tried again every 24 hours, > indefinitely. > What is easier way ? > > -- > Leonardo Boselli > tel:+393488605348 > > Hi Leonardo, If I were you, I'd approach the problem a different way. I remember doing something like that with intermittently connected hosts. I would instead just queue the messages and let p.example.com to request for their delivery when its connection comes up. Please refer to this link for the details: https://plonk.de/sw/odmr/index.php -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' :-) -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
