[Dovecot] pop3 gives a permission denied error on chdir

Kenneth Gonsalves lawgon at au-kbc.org
Wed May 20 15:01:20 EEST 2009


On Wednesday 20 May 2009 16:58:22 Kenneth Gonsalves wrote:
> no
>
> > Anyway that
> > chdir() syscall really failed with that error message. The reason for
> > that is less clear then.. v1.1+ would give a much nicer error message
> > here telling exactly what is wrong..
>
> I have installed version 1.1.13, here is the mail log:

that log is a little confused as it is looking for PAM authentication also. 
After commenting out the PAM lines in the conf, I get this:

May 20 14:02:40 greenchilly dovecot: auth(default): new auth connection: 
pid=1634
May 20 14:02:54 greenchilly dovecot: auth(default): client in: 
AUTH^I1^IPLAIN^Iservice=pop3^Isecured^Ilip=127.0.0.1^Irip=127.0.0.1^Ilport=110^Irport=43572^Iresp=<hidden>
May 20 14:02:54 greenchilly dovecot: auth(default): 
sql(john at example.com,127.0.0.1): query: SELECT email as user, passwd as 
password FROM view_users WHERE email='john at example.com';
May 20 14:02:55 greenchilly dovecot: auth(default): client out: 
OK^I1^Iuser=john at example.com
May 20 14:02:55 greenchilly dovecot: auth(default): master in: 
REQUEST^I3^I1453^I1
May 20 14:02:55 greenchilly dovecot: auth(default): master out: 
USER^I3^Ijohn at example.com^Iuid=5000^Igid=5000^Ihome=/home/vmail/example.com/john
May 20 14:02:55 greenchilly dovecot: Fatal: 
chdir(/home/vmail/example.com/john) failed with uid 5000: Permission denied
May 20 14:02:55 greenchilly dovecot: pop3-login: Login: 
user=<john at example.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
May 20 14:02:55 greenchilly dovecot: child 1635 (pop3) returned error 89 
(Fatal failure)

-- 
regards
Kenneth Gonsalves
Associate
NRC-FOSS
http://nrcfosshelpline.in/web/


More information about the dovecot mailing list