LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-02-2003, 05:10 PM   #1
prozach
Member
 
Registered: Feb 2002
Distribution: Fedora RedHat Core 2
Posts: 58

Rep: Reputation: 15
SMTP AUTH, SASL and Sendmail not getting along


Ok, I'm trying to switch from pop-before-smtp over to SMTP auth with RedHat Fedora linux running sendmail. The testsaslauthd returns success when i type in a userid/password I'm running saslauthd like this:

/usr/sbin/saslauthd -m /var/run/saslauthd -a shadow

Currently my senmail.mc file (as far as the smtp auth goes) looks like this:

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

(i've tried all 3 sets they all return the same problem). My Sendmail.conf file looks like:

pwcheck_method: saslauthdb

And sendmail doesnt allow me to authenticate either by telnetting to port 25 or by using a clinet like Outlook or mozilla or whatever and setting it to login to the server for outgoing mail. I've set the sendmail loglevel=14 and attempted to authenticate to port 25 and it’s giving me this message:

Dec 2 16:46:46 BigBox sendmail[16094]: NOQUEUE: connect from root@localhost
Dec 2 16:46:46 BigBox sendmail[16094]: STARTTLS=server, Diffie-Hellman init, key=512 bit (1)
Dec 2 16:46:46 BigBox sendmail[16094]: STARTTLS=server, init=1
Dec 2 16:46:46 BigBox sendmail[16094]: AUTH: available mech=GSSAPI PLAIN LOGIN DIGEST-MD5 CRAM-MD5 ANONYMOUS, allowed mech=EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
Dec 2 16:46:46 BigBox sendmail[16094]: hB2MkkG7016094: Milter: no active filter
Dec 2 16:47:33 BigBox sendmail[16094]: hB2MkkG7016094: AUTH failure (login): no mechanism available (-4) SASL(-4): no mechanism available: checkpass failed
Dec 2 16:47:33 BigBox sendmail[16094]: hB2MkkG7016094: root@localhost did not issue MAIL/EXPN/VRFY/ETRN during connection to stdin

Off this set of commands:

ehlo localhost
250-prozach.com Hello root@localhost, pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
250-STARTTLS
250-DELIVERBY
250 HELP
auth login
334 VXNlcm5hbWU6
XXXXXXXXXXXXXXXXX (x’ed out base 64 UID)
334 UGFzc3dvcmQ6
XXXXXXXXXXXXXXXXX (x’ed out base 64 pwd)
535 5.7.0 authentication failed


My software versions are:
sendmail-8.12.10-1.1.1
cyrus-sasl-2.1.15-6
cyrus-sasl-md5-2.1.15-6
cyrus-sasl-gssapi-2.1.15-6
cyrus-sasl-devel-2.1.15-6
cyrus-sasl-plain-2.1.15-6


Does anyone have any ideas…
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail SMTP AUTH Howto SiegeX Slackware 169 01-12-2015 06:43 AM
sendmail 8.13.4-2 smtp auth nightmare kz26 Linux - Security 1 10-30-2005 01:57 PM
SMTP Auth for sendmail wolftechmn Linux - Networking 4 11-27-2003 01:17 PM
Sendmail / SMTP Auth cleaner416 Linux - Networking 3 10-06-2003 10:40 AM
Sendmail & smtp auth ROAR Linux - Software 1 10-05-2003 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration