atom feed5 messages in net.sourceforge.lists.courier-users[courier-users] chdir: permission den...
FromSent OnAttachments
Kevin MurphyFeb 18, 2007 11:40 am 
Sam VarshavchikFeb 18, 2007 3:16 pm 
Kevin MurphyFeb 18, 2007 5:47 pm 
Sam VarshavchikFeb 18, 2007 6:13 pm 
Kevin MurphyFeb 18, 2007 6:25 pm 
Subject:[courier-users] chdir: permission denied with MySQL Auth backend
From:Kevin Murphy (lis@donoteat.us)
Date:Feb 18, 2007 11:40:45 am
List:net.sourceforge.lists.courier-users

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: kev@bumpahead.net: 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?

Any help is greatly appreciated. Thanks!

--Kevin