Aaron Crosman on 20 Apr 2007 15:51:12 -0000


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

[PLUG] Debian 4 with Exim+Mailman+MySQL+Courier


It's been a while since I was active on this list; sorry to start back
with a question, not an answer.

I'm working on setting up a mail server, which primarily serves to
handle mailman lists, but also handles mailing lists from a couple of
remote databases.  These databases (primarily ebase) need to have an
SMTP server to send from, and their automatic bounce and unsubscription
handling requires an email address it can check.  To avoid problems with
our main server we generally do this all on the same box.

To prevent myself from having to create actual system users for each of
the remote databases, I would like to use virtual users in a MySQL
database.  All the pieces of this have documentation, which I has gotten
me a long way (exim is happy to handle both mailman lists and inbound
virtual users), but I can't get Courier to authenticate for the pop
clients.  When I test the pop3 connection using telnet I get:
-ERR Temporary problem, please try again later

And it logs:
Apr 20 11:19:51 server courierpop3login: user@server.org:
chdir(/var/vusers_mail/user) failed!!
Apr 20 11:19:51 server courierpop3login: error: Permission denied
Apr 20 11:19:51 server courierpop3login: LOGIN FAILED,
user=user@server.org, ip=[::ffff:172.17.201.205]
Apr 20 11:19:51 server courierpop3login: authentication error:
Permission denied

It looks like the permissions on the maildirs is wrong, but since all
the directions I can find for setting the permissions on maildirs assume
you're setting them up for real users I'm not sure what they are
supposed to be.  Currently they are all owned by the user that exim runs
under (Debian-exim).  Should Courier run under the same user?  Or should
I be setting up a group for both users?  Anyone know which is the
preferred method?  

This is all running on Debian 4.0.
Any ideas or direction would be greatly appreciated.
Aaron

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug