Sendmail: sasl2/AUTH
hello!
I am having a heck of a time getting Sendmail to authenticate using Cyrus saslauthd I've isolated my problem to either saslauthd or Sendmail. by the way, i use a sendmail DUAL configuration with amavisd here are some config files/outputs: Code:
# sendmail -d0.1 Code:
#less sendmail-rx.mc Code:
root 311 1 0 13:48:28 ? 0:00 /opt/csw/sbin/saslauthd -a pam Code:
#less Sendmail.conf Code:
# ll /var/opt/csw/saslauthd Code:
# ldd /usr/lib/sendmail Code:
#testsaslauthd -u user -p pass when i try to authentificate i get: Code:
mta-rx: [ID 801593 mail.error] k6DCm1ID002220: AUTH failure (PLAIN): generic failure (-1) SASL(-1): generic failure: Password verification failed Code:
mta-rx: [ID 801593 mail.warning] k6DCnNJu002290: AUTH failure (LOGIN): generic failure (-1) SASL(-1): generic failure: checkpass failed If someone can just point me in the right direction...:) Thanks! Alex |
Run the command 'testsaslauthd' to see if sasl is working first. If it logs you in then you can isolate the problem to being something other than sasl.
|
hi!
i've already tried it, see above :) |
i've made some more tests:
i've started saslauthd in debug mode and when i run Code:
# testsaslauthd -u user -p pass Code:
# saslauthd -a pam -d doesn't sendmail know from saslauthd (?!) |
You should drop sendmail and try postfix - it's more secure, faster and easier to setup.
|
Here's a link that's basically a tutorial for this:
http://www.jonfullmer.com/smtpauth/ One big difference I see in the 2 is your Sendmail.conf file. I set this up today for the first time (well, I setup TLS as well) and it looks good as far as I can tell. I have to ask the obligatory sendmail question. Did you convert your .mc file to the sendmail.cf and restart? |
There's a good article on this at http://www.linuxquestions.org/questi...d.php?t=224543. I have it running on on 2 systems here (without amavisd though). Unless you're new to sendmail I don't recommend changing MTA's over what is probably a configuration issue.
|
All times are GMT -5. The time now is 01:33 AM. |