On Fri, Nov 21, 2025 at 10:31:56AM -0500, Tyler Amick wrote: > I am unexpectedly moving house in a couple days, and my on-prem mail-server > is going to have to be down while I move. I don't want to miss any emails > while this is occurring. I have a mail relay running in a VPS that forwards > all sent/received envelopes to/from my on-prem mail server via a wireguard > tunnel (workaround for residential ISP). > > Both servers run OpenSMTPD. The on-prem server is not directly reachable > from the internet, and it sends and receives all mail through that relay. > I've attached the configs for both systems. > > I figured the least invasive way is likely to hold inbound envelopes on my > relay indefinitely (or as close to that as possible) even if they bounce.
Just set something like: queue ttl 90d bounce warn-interval 91d > The way I picture doing this is by tweaking the queue to hold envelopes for > longer than 4 days with a much faster retry interval that doesn't increase > over time. Why do you feel the need to change the retry interval, especially for one that is faster, (more frequent)? Just flush the queue manually once your on-premisis mailserver is back up and running.
