It looks as though cur/new/tmp are owned by user dovecot, rather than the user whose mail it is. In my (similar, prolly) setup, maildirs are owned by their owners. Dovecot is executed as the user reading the mail.
Amy! On Mon, 14 Feb 2005 02:19:09 +0000 Simon Windsor simon.windsor@cornfield.org.uk wrote:
Hi
I am replacing my current mail system, using Exim/Postgres/WU-IMAP to another host using Dovecot.
Everything has gone well, until I have tried to access some test mails via POP.
The error message I am getting is
Feb 14 03:03:57 wpc1273 pop3(simonw@orion-w-t.co.uk): lstat (/home/dovecot/users/orion-w-t.co.uk/simonw/cur) failed: Permission denied Feb 14 03:03:57 wpc1273 pop3(simonw@orion-w-t.co.uk): Couldn't open INBOX: Internal error occured. Refer to server log for more information. [2005-02-14 03:03:57]
The file permissions are
drwx------ 2 dovecot dovecot 4096 Feb 13 23:24 cur drwx------ 2 dovecot dovecot 4096 Feb 14 02:53 new drwx------ 2 dovecot dovecot 4096 Feb 14 02:53 tmp
The UID/GID I am using is 1001, and the orion-w-t.co.uk/simonw directories are owned by that uid/gid.
Can anyone provide advice on what I have to do to get POP, and eventually IMAP working?
Many thanks
Simon
-- Simon Windsor
Eml: simon.windsor@cornfield.org.uk Tel: 01454 617689 Mob: 07960 321599
-- Amelia A. Lewis amyzing {at} talsever.com Songs and fame are vain endeavor-- only two things fail us never, only two things last forever-- sorrow and love, sorrow and love .... -- The Last Song of Sirit Byar