Glenn Sieb said:
> Ok.. I just went through the docs and read that using authdaemond.mysql =
> authdaemond.plain + mysql support... so....
>
> When I have this enabled now... I cannot log in to *ANY* accounts, neither
> PAM nor MySQL (tho I have yet to be able to log into a MySQL account)

I have uninstalled & rebuilt Courier-IMAP.. now using authdaemond.mysql
works for authenticating .plain users...

But when I go to authenticate against mysql, I get:

authtest -s imap [EMAIL PROTECTED]
chdir "/var/vmail/test.wingfoot.org/glenn": No such file or directory

Now, the actual directory *SHOULD* be:

"/var/vmail/test.wingfoot.org/[EMAIL PROTECTED]"

My authmysqlrc:

#DEFAULT_DOMAIN          wingfoot.org
MYSQL_CRYPT_PWFIELD     password
MYSQL_DATABASE          postfix
MYSQL_USER_TABLE        mailbox
MYSQL_UID_FIELD         '88'
MYSQL_GID_FIELD         '88'
MYSQL_HOME_FIELD        '/var/vmail'
MYSQL_LOGIN_FIELD       username
MYSQL_MAILDIR_FIELD     maildir
MYSQL_NAME_FIELD        name
MYSQL_OPT               0
MYSQL_USERNAME          postfix
MYSQL_PASSWORD          <changed for privacy>
# MYSQL_PORT            0
# MYSQL_QUOTA_FIELD     quota
MYSQL_SERVER            'localhost'
MYSQL_SOCKET            /tmp/mysql.sock

My mailbox table:

| username                | password                           | name     
   | maildir                                    | domain            |
create_date         | change_date         | active |
+-------------------------+------------------------------------+--------------+--------------------------------------------+-------------------+---------------------+---------------------+--------+
| [EMAIL PROTECTED] | <md5hash of a password here> | Glenn        |
test.wingfoot.org/[EMAIL PROTECTED]/ | test.wingfoot.org |
2003-06-25 19:26:19 | 2003-06-26 00:14:53 |      1 |

Any idea what I'm doing wrong? :(

Thanks,
Glenn
---
The original portions of this message are the copyright of the author
(c)1998-2002 Glenn E. Sieb.    ICQ UIN: 300395    IRC Nick: Rainbear
"All acts of Love and Pleasure are Her rituals"-Charge of the Goddess



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to