Hi
I have large number of email (~TB) and want to put the index in a separate, rapid drive
Initially, I have
mail_location = mdbox:/files/mail/%d/%n
If I put
mail_location = mdbox:/files/mail/%d/%n:INDEX=/data/mailindexes/%d/%n
then dovecot gets totally lost and tries to reach mailboxes content and tree from the INDEX location instead of the original location
What is wrong ?
Thank you
Hi I have large number of email (~TB) and want to put the index in a separate, rapid drive
Initially, I have mail_location = mdbox:/files/mail/%d/%n
If I put mail_location = mdbox:/files/mail/%d/%n:INDEX=/data/mailindexes/%d/%n then dovecot gets totally lost and tries to reach mailboxes content and tree from the INDEX location instead of the original location
What is wrong ? Thank you
On 30/03/2024 06:30 EET Joan Moreau jom@grosjo.net wrote: Hi I have large number of email (~TB) and want to put the index in a separate, rapid drive Initially, I have mail_location = mdbox:/files/mail/%d/%n If I put mail_location = mdbox:/files/mail/%d/%n:INDEX=/data/mailindexes/%d/%n then dovecot gets totally lost and tries to reach mailboxes content and tree from the INDEX location instead of the original location What is wrong ? Thank youHi I have large number of email (~TB) and want to put the index in a separate, rapid drive Initially, I have mail_location = mdbox:/files/mail/%d/%n If I put mail_location = mdbox:/files/mail/%d/%n:INDEX=/data/mailindexes/%d/%n then dovecot gets totally lost and tries to reach mailboxes content and tree from the INDEX location instead of the original location What is wrong ? Thank you To do that kind of a change, mailbox migration is required. Aki
On 30/03/2024 11:33 EET Joan Moreau jom@grosjo.net wrote: To do that kind of a change, mailbox migration is required. Meaning ?> To do that kind of a change, mailbox migration is required. Meaning ? A mail migration with doveadm sync. See https://doc.dovecot.org/admin_manual/ migrating_mailboxes/ on migration. You can also do same host migration if you have sufficient disk space, by providing new location in migration config, or in doveadm sync/backup command (whichever you prefer). Aki
On 30/03/2024 12:30 EET Aki Tuomi via dovecot dovecot@dovecot.org wrote: On 30/03/2024 11:33 EET Joan Moreau jom@grosjo.net wrote: To do that kind of a change, mailbox migration is required. Meaning ?> To do that kind of a change, mailbox migration is required. Meaning ? A mail migration with doveadm sync. See https://doc.dovecot.org/ admin_manual/ migrating_mailboxes/ on migration. You can also do same host migration if you have sufficient disk space, by providing new location in migration config, or in doveadm sync/backup command (whichever you prefer). Aki Alternatively you can also move index files to correct locations by hand. I strongly recommend trying out with a test setup first. Aki
participants (2)
-
Aki Tuomi
-
Joan Moreau