Re: problem converting mailbox to maildir with doveadm

2023-02-05 Thread Patrick Domack
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,

Re: problem converting mailbox to maildir with doveadm

2023-02-05 Thread Aki Tuomi
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_

Re: problem converting mailbox to maildir with doveadm

2023-02-05 Thread Kenneth Irving
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

Re: problem converting mailbox to maildir with doveadm

2023-02-05 Thread Patrick Domack
#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

problem converting mailbox to maildir with doveadm

2023-02-05 Thread Kenneth Irving
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