Bug 441073 - Configuring to send using sendmail doesn't work until after restart
Summary: Configuring to send using sendmail doesn't work until after restart
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.15.3
Platform: Debian stable Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-17 08:41 UTC by David Jarvie
Modified: 2021-08-17 08:41 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 David Jarvie 2021-08-17 08:41:58 UTC
SUMMARY

I configured KMail in a new system installation, to use sendmail to send mails. However, mails failed to send until after a system restart.

STEPS TO REPRODUCE
1. Install and configure postfix as a sendmail mechanism. I tested that this was working by successfully sending emails via the command line.

2. Use KMail's settings dialog (Accounts section, Sending tab) to set up a sendmail transport. This was the first and only sending method which I configured.
 
OBSERVED RESULT

Attempting to send emails using KMail always failed. They just remained in the outbox. No error messages.

Using akonadiconsole, I restarted the Mail Dispatcher Agent. This made no difference.

Following a system restart overnight, mails now send successfully.

EXPECTED RESULT

It should not require a system restart in order for this configuration to start working. Whatever it was that needed to be reset by a system restart should automatically be done without user intervention, as soon as a sendmail transport is configured by the user.

This wasted quite a bit of time investigating the issue yesterday. This bug might prompt some people to abandon their attempt to use sendmail and switch to another method. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 11
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2