| Summary: | Can't connect to a certain IMAP server | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] Akonadi | Reporter: | andrea.mueller <andrea.mueller> |
| Component: | IMAP resource | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | major | CC: | astib |
| Priority: | NOR | ||
| Version First Reported In: | 5.10.3 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
andrea.mueller@amuezuhause.de
2019-11-25 10:19:38 UTC
Even a bit weird as this report is quite old, this may match my observation to with my Kmail: Running Kubuntu 24.04: ``` kmail/noble-updates,now 4:23.08.5-0ubuntu5.1 amd64 [installed] full featured graphical email client kmailtransport-akonadi/noble,now 23.08.5-0ubuntu3 amd64 [installed,automatic] mail transport akonadi library ``` I found something - because I have TLS mitm proxy at disposal, I discovered that there is problem in PLAIN base64 calculation when composing the AUTH PLAIN payload. It should be: `<account_name>:<password> ` Problem is not related only to IMAP, but it's the case also for SMTP. What it does (IMAP - separator is not ':'): `<account_name><account_name><password>` What it does (SMTP - separator is missing) `<account_name><password>` If I replace AUTH PLAIN payloads with correctly composed ones, all works well. Since I replaced payload inline with mitm proxy, I guarantee it's not a password issue, or some user or server error/mistake. The problem is probably in the code which composes username and password into base64 payload. It _may_ be depending on CAPABILITIES sent from server, because my other IMAP/SMTP services work well. If time allows and also you help me and direct me to likely related code parts, I can do my own research and try to contribute with a patch. |