Kmail receives emails but wont send emails

I am trying to use kmail as my mail email program. i have set up kmail and am receiving emails just fine. when I try to send an email I get the error message " failed to transport message SASL(-4). no mechanism available. no worthy mechs found " i am not sure where to go in settings to correct this. any ideas??

Hi Bill!

I replied to you on before realising this new forums :slight_smile:


Do you happen to use Kubuntu?
I believe this might be a packaging issue. Make sure to have instlalled the corresponding libsasl2 packages.

I don’t have a Kubuntu system at hand but I believe at least libsasl2-2 and libsasl2-modules-kdexoauth2 should be installed.

These are the packages I see from a Jammy contaner:

root@ubuntu-jammy:/# apt-cache search sasl | sort -V | grep sasl2
cyrus-sasl2-doc - Cyrus SASL - documentation
libsasl2-2 - Cyrus SASL - authentication abstraction library
libsasl2-dev - Cyrus SASL - development files for authentication abstraction library
libsasl2-modules - Cyrus SASL - pluggable authentication modules
libsasl2-modules-db - Cyrus SASL - pluggable authentication modules (DB)
libsasl2-modules-gssapi-heimdal - Pluggable Authentication Modules for SASL (GSSAPI)
libsasl2-modules-gssapi-mit - Cyrus SASL - pluggable authentication modules (GSSAPI)
libsasl2-modules-kdexoauth2 - library to integrate with Cyrus SASL
libsasl2-modules-ldap - Cyrus SASL - pluggable authentication modules (LDAP)
libsasl2-modules-otp - Cyrus SASL - pluggable authentication modules (OTP)
libsasl2-modules-sql - Cyrus SASL - pluggable authentication modules (SQL)
sasl2-bin - Cyrus SASL - administration programs for SASL users database

thx for getting back to me. i am using pop os as main OS, with a plasma Desktop ( which I love). I have been using Thunderbird but wanted to use Kmail instead as I think I can set up a “group” where I send the same 25 people an email every week. outgoing mail server looks to be ok, but i can’t think of what else it could be. also, gmail works ( but i am trying to stay away from all google stuff), as well as thunderbird ( ie i can send an receive emails just fine but I can’t seem to set up a group email with thunderbird). thanks

PoP is also Ubuntu-based so it’s worth a shot checcking what sasl packages you have installed and see if installing some more helps.

dkpg -l | grep -i sasl