Laurent CARON
2011-Jun-20 13:37 UTC
[Dovecot] Invalid cross-device link while trying to delete folder - Dovecot 2.0.7
Hi, I'm having the following setup. 2 datastores mounted as: /home/ and /data/mail2/ I have 2 namespaces: namespace archives-baie { prefix = INBOX.Extra-001. hidden = no list = yes inbox = no location = maildir:/data/mail2/%u/Maildir type = private } namespace { inbox = yes location prefix = INBOX. type = private } When trying to trash some folder from the second namespace, I get the following error in the logs: imap(USER): Error: rename(/data/mail2/USER/Maildir/.Archives.20112, /home/USER/Maildir/.Trash.20112) failed: Invalid cross-device link In my config I have: maildir_copy_with_hardlinks = no Do you have a clue about this issue ? Thanks
Timo Sirainen
2011-Jun-28 01:03 UTC
[Dovecot] Invalid cross-device link while trying to delete folder - Dovecot 2.0.7
On Mon, 2011-06-20 at 15:37 +0200, Laurent CARON wrote:> When trying to trash some folder from the second namespace, I get the > following error in the logs: > > > imap(USER): Error: rename(/data/mail2/USER/Maildir/.Archives.20112, > /home/USER/Maildir/.Trash.20112) failed: Invalid cross-device linkIt's Thunderbird that's trying to rename the mailbox to under Trash instead of actually deleting it. And since Dovecot's only choice to actually handle that would be to copy all the mails between the storages, it instead simply fails.