[Dovecot] dovecot failing to chdir in home

Stefano Maffulli smaffulli at gmail.com
Wed Oct 20 11:08:05 EEST 2004

Hi all,

I have been fiddling with dovecot and things seem to be stuck on this problem:

Oct 20 11:21:35 mail dovecot: chdir(studiosala.net/federico/) failed
with uid 1001: Permission denied
Oct 20 11:21:35 mail dovecot: child 22150 (pop3) returned error 89

This is the telnet session that generates it:

mail:~# telnet localhost pop3
Connected to localhost.localdomain.
Escape character is '^]'.
+OK dovecot ready.
user federico at studiosala.net
+OK Logged in.
Connection closed by foreign host.

I am stuck: the UID/GID that postfix uses for dropping the mail in
/varm/mail/domains/ is 1001/1001.  The query string to mysql (the
backend where I have stored the users) is (from mysql log, so it is

682 Query       SELECT 1001 AS uid, 1001 AS gid, '/var/mail/domains/'
AS mail, maildir AS home FROM mailbox WHERE username =
'ale at studiosala.net'

mail:/etc# ls -lad /var/mail
drwxrwsr-t  3 root mail 4096 2004-10-19 23:49 /var/mail
mail:/etc# ls -lad /var/mail/domains/
drwxr-sr-t  4 vmail vmail 4096 2004-10-20 07:03 /var/mail/domains/

I am not sure of how to proceed from here, any hint appreciated.


More information about the dovecot mailing list