Ubuntu – Plain-text login with sendmail and SASL, Ubuntu 10.04

saslsendmailsmarthostUbuntuubuntu-10.04

I'm trying to configure sendmail with a smarthost. I mostly followed this guide (although I understand it is written for Scalix).

SMTP server uses plain-text authentication. However, when sendmail tries to relay an email, I see this error in sendmail.log:

May 17 01:55:28 myhost sm-mta[12153]: STARTTLS=client, relay=smtp.myserver.com., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
May 17 01:55:28 myhost sm-mta[12153]: s4GKkZNt010225: AUTH=client, available mechanisms do not fulfill requirements
May 17 01:55:28 myhost sm-mta[12153]: AUTH=client, relay=smtp.myserver.com., temporary failure, connection abort
May 17 01:55:28 myhost sm-mta[12153]: s4GKkZNt010225: to=<my@email>, delay=01:08:53, xdelay=00:00:01, mailer=relay, pri=840427, relay=smtp.myserver.com.

Why does it try to use TLS?

After some googling, I understand it has something to do with SASL library. I saw several advices on installing cyrus-sasl-plain package, but it is not available in Ubuntu 10.04.

What should I do?

Best Answer

OK, this solved my problem:

sudo apt-get install libsasl2-modules

This installed several modules, including liblogin and libplain and now everything works fine.

Related Topic