[Dovecot] Moving mail dirs
Mark Lidstone
mlidstone at bmtseatech.co.uk
Tue Sep 28 16:08:03 EEST 2004
Hi all,
This is probably a silly question, but I have a problem. I've had to
move my users maildirs from:
maildir:/home/%u/.Maildir
To
maildir:/data/mail/%u
I've updated the MTA to put mail to the correct place and it's working
fine. I've also changed the dovecot.conf file and restarted dovecot and
I thought that would be all I needed to do.
However, the users are getting lots of error messages, and looking in
the relevant logs shows lots of entries like:
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
(Sorry for changing usernames and hostname, but I'm neurotic about that
kind of thing)
What have I missed? Or am I not supposed to move maildirs once they're
in use?
Any help greatly appreciated,
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 00:09
To: dovecot at spam.turbolink.net
Cc: dovecot at procontrol.fi
Subject: [Dovecot] Re: More test46 feedback
On 28.9.2004, at 00:29, dovecot at spam.turbolink.net wrote:
> Here's another error message I just started getting with test46:
>
> Error: POP3(test2): file mbox-lock.c: line 493 (mbox_lock): assertion
> failed: (lock_type == F_RDLCK ||ibox->mbox_lock_type != F_RDLCK)
Could you get gdb backtrace from this? I know this happens when you try
to copy a message into the same mbox, but why would anyone do that?
> I haven't seen the combined X-Status/X-UID nor the other log
> corruption "Append with UID xxx, but next_uid = xxx" that I saw
> earlier.
That's good.
More information about the dovecot
mailing list