Antonio Perez-Aranda
2010-Oct-07 10:53 UTC
[Dovecot] Visible temp files as Imap Folder in INBOX
Hi all, I'm using dovecot-1.2.15 and NFS as storage of Maildir . When I try over IMAP and Evolution to move a mail to another Imap Folder, a file like .nfs000000000159816c0000245 is created and when move operation is finished, the file is deleted. Sometimes, this file isn't deleted and then, you can see a new imap folder called .nfs000000000159816c0000245 when you restart your Evolution or another Imap Client. Is this file created by dovecot? maybe, must dovecot delete this file on login? I think thats is easy fix this with a Post-Login script but I think that dovecot must delete it
Marcus Rueckert
2010-Oct-07 12:30 UTC
[Dovecot] Visible temp files as Imap Folder in INBOX
On 2010-10-07 12:53:45 +0200, Antonio Perez-Aranda wrote:> I'm using dovecot-1.2.15 and NFS as storage of Maildir . When I try > over IMAP and Evolution to move a mail to another Imap Folder, a file > like .nfs000000000159816c0000245 is created and when move operation is > finished, the file is deleted. > > Sometimes, this file isn't deleted and then, you can see a new imap > folder called .nfs000000000159816c0000245 when you restart your > Evolution or another Imap Client. > > Is this file created by dovecot? maybe, must dovecot delete this file on login? > > I think thats is easy fix this with a Post-Login script but I think > that dovecot must delete itthose files/directories are created when you try to delete a file/directory on nfs, but it is still in use. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
> Sometimes, this file isn't deleted and then, you can see a new imap > folder called .nfs000000000159816c0000245 when you restart your > Evolution or another Imap Client.Something of a workaround, but there is an option to stat each file starting with a . and determing if it's directory or a file. This would at least prevent the temp file appearing as a folder (at the cost of more disk io) Ed W