Kevin Murphy writes:

Already did, here's the output:

[EMAIL PROTECTED] ~]# authtest kevin@<domain name filtered> <password filtered>
Authentication succeeded.

      Authenticated: kevin@<domain name filtered>  (uid 503, gid 503)
     Home Directory: /home/mail/<domain name filtered>/kevin
            Maildir: (none)
              Quota: (none)
Encrypted Password: (none)
Cleartext Password: <password filtered>
            Options: (none)

Now, look at the ownership and the permissions of this directory, and the Maildir subdirectory.

Also look at this directory's parent directory's permissions, and it's parent directory, all the way back to /.

This is a simple file/directory permissioning issue.




On Feb 18, 2007, at 6:17 PM, Sam Varshavchik wrote:

Kevin Murphy writes:

Hello,
I built and installed courier 0.54.2 RPMs on Fedora Core 6. I then setup the authentication system to use MySQL, and setup a virtual domain with the maildirs living in /home/mail/[domain.com]/ [username] I created a courier user (503) and a courier group (503), chowned the entire /home/mail structure to courier:courier. I also configured the record in the passwd table for uid=503 and gid=503. Despite all of this, when I attempt to login to any of these accounts, I get the following entries in the log: Feb 18 14:08:27 mountaineer imapd: Connection, ip= [::ffff:<filtered IP address>] Feb 18 14:08:31 mountaineer imapd: kevin@<domain name filtered>: chdir(/home/mail/<filtered domain name>/kevin) failed!!
Feb 18 14:08:31 mountaineer imapd: error: Permission denied
Feb 18 14:08:31 mountaineer imapd: LOGIN FAILED, user=kevin@<filtered domain name>, ip=[::ffff:<filtered IP address>] Feb 18 14:08:31 mountaineer imapd: authentication error: Permission denied I have filtered out the IP address and domain, but rest assured that I have verified that the paths exist as configured, and the permissions are appropriate.
What on earth could I be missing?

You're missing any indication that your authentication database is set up correctly. You paraphrased how you think you've set up your mysql-based authentication, but you did not post your actual authentication data. There's a likely disconnect between what you think has happened, and what actually happened.

Use the authtest utility in the courier-authlib package to verify that your authentication configuration is set up properly.


---------------------------------------------------------------------- ---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV________________________________ _______________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier- users


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Attachment: pgpJbz9yVSKPa.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to