On 06/08/2007, at 1:49 PM, Indunil Jayasooriya wrote:
I have a problem with Sendmail in CentOS 5. I want use authentication for external access. I configure my sendmail.mc:

TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl

But when send a message, show this message:

Relaying denied. Proper authentication required.

Any idea of the error?

YES,

define(`confAUTH_OPTIONS', `A')dnl
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl

Then, These two are needed.

   chkconfig saslauthd on
    /etc/init.d/saslauthd start


Also make sure you have the cyrus-sasl-md5 package installed if you want to use MD5 auth. By default, PLAIN auth information is disabled in sendmail...

--
Steven Haigh

Email: [EMAIL PROTECTED]
Web: http://www.crc.id.au
Phone: (03) 9017 0597 - 0404 087 474




_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to