View Single Post
  #1  
Old 8th October 2008, 19:20
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 202
Thanks: 68
Thanked 14 Times in 12 Posts
Default IMAP Error: Account's mailbox directory is not owned by the correct uid or gid

Hi

I was forced to renew webs from zip backups from broken server on new one. Now when I would like to use IMAP it returns this error (tested as described on http://www.courier-mta.org/authlib/R...authdebug.html)

Code:
telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc.  See COPYING for distribution information.
a login username password
* BYE [ALERT] Fatal error: Account's mailbox directory is not owned by the correct uid or gid:
Connection closed by foreign host.
Error doesn't include any uid or gid so I don't know correct value.

Unfortunatelly zip doesn't support of preserve permissions so I manually changed owner and group of Maildir directory and its content to current user. I tested chmod to 777 to but without success. So at this time I cannot use IMAP. POP3 works fine.
Another strange thing is permissions of courierpop3dsizelist file. Its group changes from correct usergroup to 10027 number sometime. Probably old group id from old server?

I would like to use IMAP again but I didn't find any helpfull sollution. Any idea will be appreciated.

SupuS
Reply With Quote
Sponsored Links