[Dovecot] Moving mail dirs

Mark Lidstone mlidstone at bmtseatech.co.uk
Tue Sep 28 18:28:21 EEST 2004


Ah!  My ignorance is outshone only by your helpfulness.  :)

Many thanks,

Mark Lidstone
IT and Network Support Administrator

BMT SeaTech Ltd
Grove House, Meridians Cross, 7 Ocean Way
Ocean Village, Southampton.  SO14 3TJ. UK
Tel: +44 (0)23 8063 5122         
Fax: +44 (0)23 8063 5144

E-Mail:  mailto:mark.lidstone at bmtseatech.co.uk
Website: www.bmtseatech.co.uk
========================================================================
==
Confidentiality Notice and Disclaimer: 
The contents of this e-mail and any attachments are intended only for
the
use of the e-mail addressee(s) shown. If you are not that person, or one
of those persons, you are not allowed to take any action based upon it
or
to copy it, forward, distribute or disclose the contents of it and you
should please delete it from your system. BMT SeaTech Limited does not
accept liability for any errors or omissions in the context of this
e-mail
or its attachments which arise as a result of Internet transmission, nor
accept liability for statements which are those of the author and not
clearly made on behalf of BMT SeaTech Limited.
========================================================================
==
  

-----Original Message-----
From: Timo Sirainen [mailto:tss at iki.fi] 
Sent: 28 September 2004 16:14
To: Mark Lidstone
Cc: dovecot at dovecot.org
Subject: Re: [Dovecot] Moving mail dirs


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



More information about the dovecot mailing list