On 3/12/25 16:31, Doug Hardie via Postfix-users wrote:
My mail server is over 13 years old. Rather than waiting for it to fail, I have provisioned a replacement. It has the identical configration as the production server. It has been tested on my local LAN and works just the same as the production server. My plan for the switch over is to shutdown postfix on the production server and wait a few minutes. Hopefully the queue will be empty at that point. However, I suspect that mailq will show some messages waiting to be delivered. What is the best way to move any queued messages to the new server? If mailq shows no messages, it that adequate to believe there will be no lost messages?
In your place, I would stop both postfix servers, verify the new one's spool is empty, and then rsync /var/spool/postfix (or wherever yours is located) over. Then start only the new postfix, and it SHOULD pick up precisely where the old one left off.
-- Phil Stracchino Fenian House Publishing ph...@caerllewys.net p...@co.ordinate.org Landline: +1.603.293.8485 Mobile: +1.603.998.6958 _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org