[Dovecot] Moving mail dirs

Timo Sirainen tss at iki.fi
Tue Sep 28 18:14:27 EEST 2004


On 28.9.2004, at 16:08, Mark Lidstone wrote:

> Sep 28 14:03:36 <hostname> imap(<user1>): stat() failed with file
> /home/<user1>/.Maildir/new: No such file or directory
> Sep 28 14:03:36 <hostname> imap(<user2>): utime() failed with index 
> file
> /home/<user2>/.Maildir/.INBOX/.imap.index: No such file or directory
>
> What have I missed?  Or am I not supposed to move maildirs once they're
> in use?

Restarting Dovecot doesn't kill the existing processes which are still 
using the old directories and since they're gone they begin 
complaining.

Correct way to do moving would be:

kill dovecot
killall imap
move directories
start dovecot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20040928/24f6ed0d/PGP.pgp


More information about the dovecot mailing list