Hi everyone,
When I'm trying to synchronise my e-mails from a backup with doveadm sync, I get an error.
Doveadmin sync command:
doveadm -D sync -1 -f -a "Virtual/All" -R -u user@example.net -n inbox mdbox:/var/spool/mail/example.net/user_backup
Error message:
dsync: Error: cmd sync: Both source and destination mail_path and mail_index_path point to same directory: /var/spool/mail/example.net/user//mail/mailboxes (name space inbox { mail_path } is set explicitly?)
Relevant config section:
namespace inbox { separator = / inbox = yes
# "home" is set in userdb mail_path = %{home}/mail mail_index_path = %{home}/index/inbox
mailbox ... { ... } mailbox ... { ... } } mail_driver = mdbox
According to the config, the two directories are explicitly set to be different. I verified and they exist and they are not symlinks. Do you know what causes this issue?
Version: 2.4.2
Thank you,
Ákos
Hi everyone,
When I'm trying to synchronise my e-mails from a backup with doveadm sync, I get an error.
Doveadmin sync command:
doveadm -D sync -1 -f -a "Virtual/All" -R -u [1]user@example.net -n inbox mdbox:/var/spool/mail/example.net/user_backup
Error message:
dsync: Error: cmd sync: Both source and destination mail_path and mail_index_path point to same directory: /var/spool/mail/example.net/user//mail/mailboxes (name space inbox { mail_path } is set explicitly?)
Relevant config section:
namespace inbox { separator = / inbox = yes
# "home" is set in userdb
mail_path = %{home}/mail
mail_index_path = %{home}/index/inbox
mailbox ... { ... }
mailbox ... { ... }
} mail_driver = mdbox
According to the config, the two directories are explicitly set to be different. I verified and they exist and they are not symlinks. Do you know what causes this issue?
Version: 2.4.2
Thank you,
Akos
References
Visible links
- mailto:user@example.net