SUMMARY Every time I'm sending email I get a pop up that says: "5.5.1 Error: already authenticated", followed by another one that says "successfully sent" STEPS TO REPRODUCE 1. I don't know any other step than to send a mail... OBSERVED RESULT see above EXPECTED RESULT I'd expect EITHER sending to fail, OR to succeed, but not fail first, succeed right after... SOFTWARE/OS VERSIONS Operating System: openSUSE Leap 15.2 KDE Plasma Version: 5.19.90 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.1 Kernel Version: 5.3.18-lp152.44-default OS Type: 64-bit Processors: 8 × Intel® Core™ i7-4771 CPU @ 3.50GHz Memory: 31.3 GiB of RAM Graphics Processor: GeForce GTX 1050/PCIe/SSE2 ADDITIONAL INFORMATION Email accounts are all IMAP, sending is smtp with TLS. No other mail client shows this weird behaviour, nothing on the server has been changed in years.
I found something to reproduce the weird "already authenticated" message. If I "fetch all mail" just before sending the message appears; If i don't, it doesnt (unless of course kmail had just now automatically fetched mail).
When your provider has a "grace period" that allows to do other actions once authenticated, then in this window, if you do other action that otherwise would request a new authentication. This is the very same principle as with openSUSE sudo. If you perform two action fast, it does not ask you the password within the grace period. When your MTA send the password in automatic the server(!) is answering you: you are already authenticated. So the new authentication is not necessary and logically "fails". The error here is on how your mail provider did recently set the smtp authentications. You should investigate with the support of your mail supplier. I doubt this is an error of Kmail. If ever, the others MTAs that do not pop up the error will have a log file. Look in their log file, I am quite sure you will find the very same error there.
the mail server in question is my OWN mailserver, and I have not made any changes to it. The notification only showed up a few weeks ago after a huge KDE/Plasma upgrade.
Good, so you can give the information the next time so one does not loose the time to write things that can be ruled out. You said "TLS" so I suppose SSL/TLS on 587 as setting in Kmail as opposed to STARTTLS? Just to avoid somebody else looses your time.
(In reply to stakanov.s from comment #4) > You said "TLS" so I suppose SSL/TLS on 587 as setting in Kmail as opposed to > STARTTLS? > > Just to avoid somebody else looses your time. ssl/tls on port 465. kmail autodetects it that way w/o problems.
...it just got weird. I have two computers running plasma, on both kmail is configured the same way, on computer #2 i can't reproduce this.