[tpop3d-discuss] authentication problem - file permissions

Adam Jackson adam at fordlaser.com
Tue, 23 Sep 2003 22:12:50 +1000


Hello, 

I guess you are probably getting sick of these type of questions, I have
searched the whole archives and nothing as fixed my problem.

Here is a snip from my maillog

Sep 23 22:14:34 oenq tpop3d[15139]: auth_mysql_new_user_pass: SQL query:
SELECT CONCAT('/var/mail/virtual/', 'forzda.com.au',
'/', 'admin'),                        CONCAT('{crypt}', crypt),
'mail', 'maildir'                               FROM users
WHERE id = 'admin'                          AND domain = 'forzda.com.au'
Sep 23 22:14:34 oenq tpop3d[15139]: authcontext_new_user_pass: began
session for `admin@forzda.com.au' with mysql; uid 8, gid 513
Sep 23 22:14:34 oenq tpop3d[15238]: maildir_new:
chdir(/var/mail/virtual/forzda.com.au/admin): Permission denied
Sep 23 22:14:34 oenq tpop3d[15238]: connection_sendresponse: client
[6]admin@forzda.com.au(210.49.43.179): sent `-ERR Unable to open
mailbox; it may be locked by another concurrent session.'

And here is my directory structure

drwxrwx---    4 postfix  hosting      4096 Sep 23 21:50 .
drwxr-xr-x    3 postfix  hosting      4096 Sep 18 12:43 ..
drwx------    5 forzda   hosting      4096 Sep 23 21:50 admin

And appropriate area's from tpop3d.conf

auth-pam-mail-group: hosting

auth-mysql-mail-group: hosting

And all the other configs..


Any idea's?

Thanks in advance

Adam