tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tpop3d-discuss]Permission problems with tpop3d


From: Kevin Bonner
Subject: Re: [tpop3d-discuss]Permission problems with tpop3d
Date: Thu, 11 Mar 2004 10:04:24 -0500
User-agent: KMail/1.5.4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 11 March 2004 06:54, Rob Fulton wrote:
> If we try and run with the more secure permissions, we get the following
> errors in the tpop3d.log :
>
> maildir_build_index: opendir(new): Permission denied
>
> This fault appears to be caused by the opendir call in maildir.c, as far as
> we can tell, if the directory isn't openable as group mail, the call fails,
> even if the actual server can open it due to it being openable by user
> mail.
>
> Has anyone come across this problem or a fix?

I assume you have 'auth-mysql-mail-group: mail' in your tpop3d.conf file, as 
the group permissions are working correctly.

Make sure your auth-mysql-pass-query or auth-mysql-apop-query is returning the 
desired username/uid to run as.  An example would be:

        SELECT CONCAT( [blah blah blah] ), CONCAT('{crypt}',master.passwd),
                'mail', 'maildir'
        FROM ....

The third item returned from the query is mail.  I believe this can be either 
a user name or the actual uid to run as.

Kevin Bonner
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAUH/9/9i/ml3OBYMRAiU4AJ9IDSLyhaWGupKkeU/9GSXH036XfQCfbPj1
XqZvEy5xHL36qTjWhmIjZrI=
=PGN/
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]