On Fri, Feb 20, 2015 at 11:15:58AM +0100, Zalezny Niezalezny wrote: > I dont want to route any E-mails. I simply would like to stop old server, > tar everything in the proper way and migrate on the new host. This is my > target.
Letting the legacy queue drain, either to the users mailboxes or to the new servers as smarthosts, is the preferred approach. Disable external input: smtpd_recipient_restrictions = defer Then if anything still remains in the queue (typically a few outbound bounces to dead destinations), if desired punt already queued mail to the new servers: new server: mynetworks = 127.0.0.1, <ip-addresses-of-old-servers> old servers: default_transport = smtp:[newsmtp.example.com] local_transport = $default_transport virtual_transport = $defaul_transport relay_transport = $default_transport Then flush the queues on the old servers. Moving the files can be done, but can be difficult to do right. Especially if the destination queues are not initially empty. The hard part is mailstore migration not mail queue migration, mail queues are best left to just drain after shutting off input. -- Viktor.