Kmail sending produces SASL(-4) authentication errir

I just migrated to OpenSUSE Tumbleweed from Ubuntu. I used Thunderbird in Ubuntu, but wanted to go native KDE in Tumbleweek. Kmail did a great job importing emails and accounts from Tbird. After cleaning up all the little details, I thought everything was working great until I tried to send a message. Kmail returned the following error:

Failed to transport message. An error occurred during authentication: SASL(-4): no mechanism available: No worthy mechs found

I have checked the SMTP server settings and all seem fine. I tried using several different accounts with different SMTP servers, all of which require authentication, but nothing worked. I even had Kmail autodetect the server settings, and that seemed to work fine, but still no success. I installed Thunderbird and it works fine. I actually prefer TBird because of its unified inbox, but I want to use the Kcontact system now. Any ideas?

Sounds like you’ve narrowed your problem down to a Kmail configuration.

Although the following link is very old, the last posting is likely relevant… Verify your Kmail auth settings
http://www.linuxquestions.org/questions/linux-networking-3/unable-to-send-mails-via-kmail-no-worthy-mechs-308923/

TSU

Thank you for the link. I tried everything there but with no success. Thunderbird continues to operate normally, so I’ll just stick with it for now. Thank you for taking time to help me.

Are you using GMail by chance?
Google made some changes recently that broke kmail, should be fixed in 17.04.0. Unfortunately that’s still stuck in staging, it may take a while until it hits Tumbleweed…

Yes, some of the accounts are Gmail, but most are not. The bulk are generic IMAP accounts on commercial servers. None are working. I’m SHOCKED that Google changed an API that broke apps. :open_mouth: That’s my shocked face.

Although, Thunderbird still works fine. I will give Kmail 17.04.0 a try when it’s released. Thank you for the heads up!