[Dovecot] no such file or directory

Timo Sirainen tss at iki.fi
Fri Jan 9 07:44:43 EET 2004


On Thu, 2004-01-08 at 18:13, Arnold Cano wrote:
> >>Jan  7 18:52:16 www1 imap(arnoldc): utime() failed with index file 
> >>/home/arnoldc/Maildir/.INBOX/.imap.index: No such file or directory
..
> I'm not intentionally deleting anything. Could it be that the file or 
> directory is never getting created? 

I don't think so.. It should have failed earlier then.

> Is there something else I can try? 

Does the .INBOX/ directory exist there? Is there anything under it? What
if you create them manually? Or if there is something, try deleting it?
Is there anything else in logs?

> Do the permissions of the maildir or parent folders matter? I thought 
> that since dovecot runs in root (unless chrooted) that couldn't be it 
> but I'm out of ideas.

No, Dovecot uses several processes and only one or two of them run as
root. The imap process which actually handles the mailboxes runs as the
user who logged in.

> I tried telneting into the server with no success either...
> 
> * OK dovecot ready.
> LOGIN arnoldc ********
> LOGIN BAD Error in IMAP command received by server.

IMAP wants a tag before each command. So use "1 login" or something.

You could also try running the imap binary directly:

/usr/local/libexec/dovecot/imap
1 select inbox

and see if it gives the same error messages.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20040109/1c5c32bf/attachment-0001.bin>


More information about the dovecot mailing list