Bug 386106 - Kmail cannot use an SMTP server to send emails
Summary: Kmail cannot use an SMTP server to send emails
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-23 12:45 UTC by Kwanza.Pili
Modified: 2018-04-04 18:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kwanza.Pili 2017-10-23 12:45:14 UTC
I have tried both kmail versions 5.6.1 and 5.6.2 and neither is capable of using an SMTP server to send emails. When setting up a "sending" account, it fails to detect capabilities saying "Please verify port and authentication modes." It does not matter what authentication mode is selected. Trying to send email regardless simply "fails to transport message".

To be clear, using "telnet [smtp.server] 25" works perfectly as does the openssl command line equivalent for port 465. Moreover, all other mail tools (e.g. evolution, claws, and even the humble alpine) have no problem using the SMTP protocol. So this is a problem unique to kmail-4.6. Incidentally, even the ancient kmail version for kde-3.10 could use SMTP, yet the new one cannot!

I compiled all the KDE apps from source (v17.08.2). The libraries it uses are:
- KDE Frameworks 5.39.0
- Qt 5.9.2 (built against 5.9.2)
- The xcb windowing system
Comment 1 Kwanza.Pili 2017-11-02 14:54:38 UTC
I did a bit more investigation and I noticed several lines containing:
 Error loading plugin: "The shared library was not found" 
when I open the settings dialog. It does not specify which plugins it is trying to load. Does anyone have any clue what the are?
Comment 2 Kwanza.Pili 2017-11-02 20:05:43 UTC
A bit more information from some other log. I get the following:

org.kde.pim.messageviewer: plugin loading is not enabled in libmimetreeparser
:

Error loading plugin: "The shared library was not found."
org.kde.kcoreaddons: Expected a KPluginFactory, got a Grantlee::ScriptableTagLibrary
:

That seems to answer the plugin question. Assuming this is not related to the SMTP issue, I reckon the problem comes from the following errors:

org.kde.pim.mailtransport: Plugin  AkonadiMailTransportPlugin(0x5630e0e31490)  doesn't provide plugin
:
org.kde.pim.mailtransport: Tried to update password state of non-cloned transport.
:
org.kde.pim.mailtransport: 
org.kde.pim.mailtransport: Connecting to: "smtp...." : 25
org.kde.pim.mailtransport: Connecting to: "smtp...." : 465
:
org.kde.pim.mailtransport: Modes: QSet()
org.kde.pim.mailtransport: Capabilities: QSet()
org.kde.pim.mailtransport: Normal: QVector()
org.kde.pim.mailtransport: SSL: QVector()
org.kde.pim.mailtransport: TLS: QVector()

My guess is that whatever package provides mailtransport is broken.
I just wonder whether this is worth fixing, particularly if it is linked to the dreadful akonadi?