Bug 439939 - The managesieve interface doesn't work anymore manymore after KMail runs for a while
Summary: The managesieve interface doesn't work anymore manymore after KMail runs for ...
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: sieve (show other bugs)
Version: 5.19.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-16 10:26 UTC by Tobias Leupold
Modified: 2022-01-06 10:46 UTC (History)
1 user (show)

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 Tobias Leupold 2021-07-16 10:26:27 UTC
Editing sieve scripts via "Settings" → "Manage sieve scripts" stops working after KMail runs for a while (some days):

The dialog appears, but the only thing that happens is that the "busy" indicator besides the respective account spins. Nothing happens. Also, no request for a login is logged on the server side.

Restarting Akonadi (akonadictl restart) doesn't help.

When closing KMail and starting it again, the dialog works again and lists all scripts.

But: After some time (days?), the dialog becomes unfunctional again. This always happens, at least since 5.20.5/20.12.2, and still with 5.22.2/20.12.3.
Comment 1 Oleksandr Natalenko 2022-01-06 10:45:51 UTC
Happened to me as well.

Dovecot says the following:

```
auth: plain(?,1.2.3.4,<xxx>): Username character disallowed by auth_username_chars: 0xNN (username: XXXXXXXXX)
managesieve-login: Disconnected: Aborted login by logging out (auth failed, 1 attempts in 2 secs): user=<XXXXXXXXX>, method=PLAIN, rip=1.2.3.4, lip=5.6.7.8, TLS, session=<xxx>
```

Note the username. I've replaced it with XXXXXXXXX because dovecot log shows my password there instead of username. I think KMail sends it this way (erroneously).

Restarting KMail helps, yes.