8 messages in net.sourceforge.lists.courier-users[courier-users] Trouble with Courier ...
FromSent OnAttachments
Jonathan HilgemanSep 19, 2002 6:21 pm 
troutSep 20, 2002 8:30 am 
Jonathan HilgemanSep 20, 2002 9:35 am 
Jonathan HilgemanSep 20, 2002 12:11 pm 
David RaschSep 20, 2002 12:38 pm 
Jonathan HilgemanSep 20, 2002 12:51 pm 
David RaschSep 20, 2002 1:05 pm 
Jonathan HilgemanSep 20, 2002 1:23 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Trouble with Courier IMAP+MySQL AuthActions...
From:Jonathan Hilgeman (jo@sitecreative.com)
Date:Sep 19, 2002 6:21:39 pm
List:net.sourceforge.lists.courier-users

Hi,

HISTORY LEADING UP TO THE PROBLEM: I'm new to IMAP administration - I've been using QMail and its POP3 server for a
while now (Maildir storage), and decided to try out IMAP. I already have a
recent version of MySQL installed and running fine. I just finished installing
Courier-IMAP 1.5.3 (just a plain ./configure, make, make check, su, make install
- no special options). It detected MySQL and installed the authdaemond.mysql
binary, which is good.

I edited the config files (both courier's and the authmysql.rc file - or
whatever its called) to make sure the program would have a valid MySQL
connection. I created a database called "mail" and added the suggested table
query straight from the bottom of the README.authmysql.html document, so
everything is set up - tables and all. I ran authdaemond and it automatically
selected the mysql binary and began running that normally.

PROBLEM: However, I've been reading and reading but I can't find any docs that say
anything about how to add a user to that table. I've tried adding a record
manually by taking a logical guess at what goes where, but it won't
authenticate. (A side note - I commented out the MD5/crypt authentication line
in the config file, and enabled the CLEAR field so I can input cleartext
passwords for now - until I get it all working). I want to add a user: Username: jonathan Password: somepass Maildir: /qmailboxes/jonathan/Maildir

WHAT I'VE TRIED: so this is what I put into the database: id: jonathan crypt: <nothing> clear: somepass name: jonathan uid: 0 gid: 0 home: /qmailboxes/jonathan maildir: Maildir quota: <blank>

What am I doing wrong here? Is it the UID/GID being 0 (root)?

- Jonathan