Olivier Sannier writes:

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

The systempw setting holds an encrypted password, so "userApassword" better be an encrypted string.

Use "userdbpw -md5 | userdbpw smtp/userA set systempw" to securely set encrypted passwords.

Furthermore, CRAM-MD5 cannot use encrypted passwords, you'll need to disable CRAM-MD5 or, in addition to setting systempw, set "hmac-md5pw" in a similar way, but with the -hmac-md5 instead of -md5.

Attachment: pgpNuGS9BSImX.pgp
Description: PGP signature

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