i setup a user called vmail and put all the stuff in that directory.

along the format of:
/home/vmail/domainname/username

and used vmail's GID/UID numbers.

also i left maildir blank.

i haven't had any luck with getting the crypted passwords to work, does
anyone have any pointers for that?   i'd rather not have unencrypted
passwords around if possible and couldn't find documentation on that.


----- Original Message -----
From: "Jonathan Hilgeman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 9:20 PM
Subject: [courier-users] Trouble with Courier IMAP+MySQL Auth


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)?



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to