KMail not sending mail anymore

"Erik Quaeghebeur" <[email protected]> Mon, 21 Oct 2024 09:20:40 +0200
Newsgroups gmane.comp.kde.users.pim
Message-ID <[email protected]>
Dear list,


Since yesterday evening, KMail won't send any mails for me anymore. I'm using version 24.08.1 and nothing changed in my software setup since before the problems started. I can compose the email, then instruct it to send (Ctrl-Enter), and then nothing happens. The mail just stays in the local mailbox outbox. Also when I then reselect it there and try to send it again, it doesn't do anything. I also do not get any error dialog or so. Neither the SMTP server nor the EWS account work, so I assume it is somewhere earlier in the pipeline.

I've tried restarting akonadi, akonadictl fsck, rebooting, restarting the mail dispatcher agent. None of these things work. In my logs, every time I try, I see lines of the form

09:07:52.067729 akonadi_maildispatcher_agent[8825]: org.kde.pim.maildispatcher: Item  736430 does not have the required attribute Address
09:07:52.007752 akonadi_maildispatcher_agent[8825]: org.kde.pim.maildispatcher: Item  736430 does not have the required attribute Address

Such lines are there also sometimes without me trying to send, but requesting a send triggers them for sure. Also in the logs nearby those lines are lines like

09:07:41.610439 akonadiserver[8745]: org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection kmail2-300522753 (0x5a3b8cf37860) : Item query returned empty result set

Does anyone have any idea what might be the problem and how I can fix it or work around it?


Best regards,

Erik