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??
thanks

Hi Bill!

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

Hello,

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

Hi
I face with the same issue since some time. I use Neon Unstable Edition (Kbuntu based distro). In my system are installed packages you mentioned:

dpkg -l | grep -i sasl
ii  libauthen-sasl-perl                                      2.1600-1.1                                                    all          Authen::SASL - SASL Authentication framework
ii  libsasl2-2:amd64                                         2.1.27+dfsg2-3ubuntu1.2                                       amd64        Cyrus SASL - authentication abstraction library
ii  libsasl2-modules:amd64                                   2.1.27+dfsg2-3ubuntu1.2                                       amd64        Cyrus SASL - pluggable authentication modules
ii  libsasl2-modules-db:amd64                                2.1.27+dfsg2-3ubuntu1.2                                       amd64        Cyrus SASL - pluggable authentication modules (DB)
ii  libsasl2-modules-kdexoauth2                              23.08.4+p22.04+vunstable+git20240220.1020-0                   all          Dummy transitional

Authentication method in my account (IMAP) is “XOAuth”.