Hi all, 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? Thanks, Daniel Bruno -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070804/242c7826/attachment-0001.html>
> Relaying denied. Proper authentication required. > > Any idea of the error?Logs are very bad. They are always telling and everybody hates tellers.
Daniel Bruno spake the following on 8/4/2007 5:58 AM:> Hi all, > > I have a problem with Sendmail in CentOS 5. I want use authentication > for external access. I configure my sendmail.mc <http://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? > > Thanks, > > Daniel BrunoSince you gave very little info, all I can give you is a very generic answer. Yes, I might have an idea of the answer, but you need to be more specific with your question. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
> > > 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 BE HAPPY. Thanks,> > Daniel Bruno > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >-- Thank you Indunil Jayasooriya -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070806/72721eca/attachment-0001.html>
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: netwiz at crc.id.au Web: http://www.crc.id.au Phone: (03) 9017 0597 - 0404 087 474