On Tue, 21 Jul 2015 at 12:35 Viktor Dukhovni <[email protected]>
wrote:

>
> But copying queue files is not recommended.  That takes some care
> to get right.  It is better to relay any queued mail from the old
> server to the new, or just turn off the inflow of new mail into
> the old server and let the queue "drain" until it is empty.
>
> Don't forget:
>
>         # postfix upgrade-configuration
>
> after copying old configs to a new server.  If you're on a Debian
> system, that's made more difficult by Debian's failure to ensure
> that "postfix-files" corresponds accurately to what is actually
> installed.  You might need to adjust $daemon_directory/postfix-files
> to match reality.
>

Due to special circumstances where I'm working, I will need to copy the
queues. You mention that it takes some care to get right. Would these be
the timestamps on the files? Because cp now has a -a (archive) option.

If the postfix is started with the old configs in place, is it necessary to
run postfix upgrade-configuration.

Ivan.

Reply via email to