Καράμπης Παναγιώτης
2004-Nov-13 16:00 UTC
[Dovecot] Fatal: chdir(homedir) failed: Permission denied
hello all i run dovecot as my imap server on my university and squirrel as webmail. But squirrel returns an error: ERROR : Connection dropped by imap-server CAPABILITY i tail my /var/log/dovecot and this is the output with whatever user i try to log in and view mails: dovecot: Nov 13 17:51:27 Fatal: chdir(/home/epp719) failed with uid 2975: Permission denied dovecot: Nov 13 17:51:27 Error: child 17554 (imap) returned error 89 ---------------------------------------------------------------------- i give the: root@(host edited):/root# ls -lad /home/epp719 drwx---r-x 4 epp719 users 368 2004-11-13 17:49 /home/epp719 and directory exists i tried also changing permissions on dir but same things happen. both .qmail and Maildir exist in the home directory. I attach the dovecot.conf file... any help is appreciated! PS: Sorry about my english its not my native language.. oh i forgot squirrel gets data and attachments from mysql... -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: dovecot.conf URL: <http://dovecot.org/pipermail/dovecot/attachments/20041113/e1587c11/attachment-0001.pl>
Matthias Andree
2004-Nov-13 23:52 UTC
[Dovecot] Fatal: chdir(homedir) failed: Permission denied
???????? ?????????? <epp719 at epp.teicrete.gr> writes:> hello all i run dovecot as my imap server on my university and squirrel as webmail. But squirrel returns an error: > ERROR : Connection dropped by imap-server > CAPABILITY > > i tail my /var/log/dovecot and this is the output with whatever user i try to log in and view mails: > > dovecot: Nov 13 17:51:27 Fatal: chdir(/home/epp719) failed with uid 2975: Permission denied > dovecot: Nov 13 17:51:27 Error: child 17554 (imap) returned error 89 > ---------------------------------------------------------------------- > i give the: > root@(host edited):/root# ls -lad /home/epp719Panagiotis, if the user epp719 and dovecot are in a common group, that may be the cause why it isn't working.> drwx---r-x 4 epp719 users 368 2004-11-13 17:49 /home/epp719 > and directory exists i tried also changing permissions on dir but same things happen. > both .qmail and Maildir exist in the home directory.What are the permissions of the / and /home directories? ls -lad /home -- can dovecot execute the / and /home directories? If these are drwx------ or similar, that might be the problem. Hope that helps. -- Matthias Andree
Καράμπης Παναγιώτης
2004-Nov-15 08:39 UTC
[Dovecot] Fatal: chdir(homedir) failed: Permission denied
matthias thnx a lot for your hint. We are 2 admins on this box and this makes things complicated. /home 's permissions where 705 and that's the reason for this. Solved thank u again mate:) ________________________________ ???: Matthias Andree [mailto:matthias.andree at gmx.de] ????????: ??? 14/11/2004 1:52 ?? ????: ???????? ?????????? ????.: dovecot at dovecot.org ????: Re: [Dovecot] Fatal: chdir(homedir) failed: Permission denied ???????? ?????????? <epp719 at epp.teicrete.gr> writes:> hello all i run dovecot as my imap server on my university and squirrel as webmail. But squirrel returns an error: > ERROR : Connection dropped by imap-server > CAPABILITY > > i tail my /var/log/dovecot and this is the output with whatever user i try to log in and view mails: > > dovecot: Nov 13 17:51:27 Fatal: chdir(/home/epp719) failed with uid 2975: Permission denied > dovecot: Nov 13 17:51:27 Error: child 17554 (imap) returned error 89 > ---------------------------------------------------------------------- > i give the: > root@(host edited):/root# ls -lad /home/epp719Panagiotis, if the user epp719 and dovecot are in a common group, that may be the cause why it isn't working.> drwx---r-x 4 epp719 users 368 2004-11-13 17:49 /home/epp719 > and directory exists i tried also changing permissions on dir but same things happen. > both .qmail and Maildir exist in the home directory.What are the permissions of the / and /home directories? ls -lad /home -- can dovecot execute the / and /home directories? If these are drwx------ or similar, that might be the problem. Hope that helps. -- Matthias Andree