Hi,

I'm trying to configure courier so that the only way to login in SMTP is 
via the users I defined in the userdb system, but I cannot figure out 
how to make this work, my smtp clients just get "535 Authentication 
failed" replies.
Here is what I did:

- Edited /usr/lib/courier/etc/esmptd and set the ESMTPAUTH value to 
"LOGIN CRAM-MD5"
- Ran the following commands :
userdb smtp/userA set systempw=userApassword home=/home/mail/smtp/userA
makeuserdb
courier restart
- I ensured that the /home/mail/smtp/userA folder exists and is 
accessible by the user courier is running under (courier)

I'm using the Thunderbird email client to do the tests, and I have setup 
the account to send "userA" as the login, "userApassword" as the 
password and not to use any SSL/TLS as I want to implement this later on 
once the basic stuff works.
I also changed it to use "smtp/userA" as the login name, but to no avail.
I also changed the ESMTPAUTH value to include PLAIN as the first one, 
but still no luck.
The list of authentication modules installed in courier is the default 
full list, but even limiting it to only authuserdb did not help either.
I do see the incoming connection in the log file, but it clearly states 
that there is an authentication error. And in the error file, I get the 
following message :
courieresmtp: authdaemon: failed to connect to mysql server 
(server=mysql.example.com, userid=admin): Unknown MySQL server host 
'mysql.example.com' (1)

The thing is that I only need userdb access, I don't see why it keeps 
trying on the MySQL side.

What am I doing wrong here?

Thanks in advance for any help
Regards
Olivier

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to