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
telnet localhost 143
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.