https://bugs.kde.org/show_bug.cgi?id=414488

Astib <as...@mag0.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |as...@mag0.net

--- Comment #1 from Astib <as...@mag0.net> ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to