SASL PLAIN authentication failed

I have tried off and on for several months now to get this fixed to no avail. Here’s the details
OS CentOS 5.2
User names with @
saslauthd flag -r set
I can log in just fine with webmin
I get the SASL PLAIN authentication failed error when I use thunderbird.

Running EHLO localhost 250-domain.tld gives me this:
250-b256.domain.tld
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN
250-AUTH=PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

I have read somewhere that the AUTH=PLAIN needs to be AUTH=LOGIN PLAIN

Any suggestions would be more than welcome…I need to get this fixed

Thanks

Howdy,

Make sure that in /etc/dovecot/dovecot.conf, that “disable_plaintext_auth” is set to “no”. Normally, that line is commented out by default, but setting it to “no” should allow plain text authentication.

-Eric

set that to no and still getting SASL PLAIN authentication failed in the mail log

Any other ideas?

Any chance you could log in and troubleshoot? I’ve been at this so long that I just want it fixed

Thanks

Hrm, I think I read through your post too fast, as we should be looking at Postfix/saslauthd rather than Dovecot.

What do you get if you type these two commands:

  1. ps auxw | grep saslauth

  2. cat /usr/lib/sasl2/smtpd.conf

Thanks,

-Eric

root 13850 0.0 0.0 46740 400 ? Ss Sep03 0:00 /usr/sbin/saslauthd -r -m /var/run/saslauthd -a pam
root 13851 0.0 0.0 46740 168 ? S Sep03 0:00 /usr/sbin/saslauthd -r -m /var/run/saslauthd -a pam
root 13852 0.0 0.0 46740 164 ? S Sep03 0:00 /usr/sbin/saslauthd -r -m /var/run/saslauthd -a pam
root 13853 0.0 0.0 46740 164 ? S Sep03 0:00 /usr/sbin/saslauthd -r -m /var/run/saslauthd -a pam
root 13854 0.0 0.0 46740 164 ? S Sep03 0:00 /usr/sbin/saslauthd -r -m /var/run/saslauthd -a pam
root 20657 0.0 0.0 61152 736 pts/0 S+ 14:41 0:00 grep saslauth

  1. mech_list: PLAIN LOGIN

Try to use this format at smtp server definitions under your email program:

user-domain.tld

And let me know if your email now is sent.

I came across this solution, but I’m trying to find a way to the server accept the format:
user@domain.tld when sending emails.

All help is appreciated!

I’m having this issue too.