The sync is optional, but if you have dovecot/postfix alive and
active, it could receive new emails while the backup was running, so a
sync would be needed to update the changes since backup was run.
This is why I do it twice, once after backup, to catch any during the
*longer* backup run,
Please also see https://doc.dovecot.org/admin_manual/migrating_mailboxes/ if
you already haven't.
Aki
> On 05/02/2023 22:16 EET Kenneth Irving wrote:
>
>
> Patrick: thanks a lot!
>
> So it's not enough to do a 'backup', it's also necessary to 'sync' the
> mailboxes, but using the old mail_
Patrick: thanks a lot!
So it's not enough to do a 'backup', it's also necessary to 'sync' the
mailboxes, but using the old mail_location, that is
mail_location = mbox:~/mail:INBOX=/var/mail/%u
Otherwise the command doesn't find the mailbox. It said source and
destination were the same! That
#copy mailbox, using new mail_location setting
doveadm backup -u "${USER}" maildir:/home/${USERNAME}/Maildir/
doveadm sync -u "${USER}" maildir:/home/${USERNAME}/Maildir/
#Update user to use maildir instead of old method, update sql?
mail_location=maildir:/home/${USERNAME}/Maildir/
doveadm
Hello. I have an email server for testing purposes, using postfix 3.5.17
and dovecot 2.3.13.
Initially, I configured postfix to use mailboxes, but now I've changed it
to maildir.
Emails arrive fine, and dovecot manages them well by pop3 or imap. No
problems there.
But I still have a lot