Bug 494614 - KMail fails connecting to IMAP via SSL/TLS before using STARTTLS
Summary: KMail fails connecting to IMAP via SSL/TLS before using STARTTLS
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 6.2.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-12 19:51 UTC by Arek Guzinski
Modified: 2024-10-14 11:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arek Guzinski 2024-10-12 19:51:25 UTC
SUMMARY
When adding a new Account, I can not connect to my IMAP accounts via SSL/TLS at first. If trying to do so, I get the error message "Server is not available". If I connect once via STARTTLS, I can switch back to SSL/TLS and it works.
I tried this with 2* accounts on 2 different servers. I also tried this with Thunderbird, which has no problem.


STEPS TO REPRODUCE
1. Start KMail
2. Add an IMAP account, using SSL/TLS encryption.

To fix:
1. Set Encryption to STARTTLS
2. Wait a bit
3. Set Encryption to SSL/TLS

OBSERVED5 RESULT
see summary

EXPECTED RESULT
This should work immediately without a workaround.


SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-45-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 GRE


ADDITIONAL INFORMATION
* actually 3 accounts, but one does not fetch emails yet.. I'll see if I can find the problem tomorrow or have another bug to report
Comment 1 Arek Guzinski 2024-10-13 09:19:03 UTC
some more things that might be important:

- All Accounts have a different email domain than server domain, e.g. @ag.de1.cc vs. sslmailpool.ispgateway.de
- I did a clean reinstall of neon, but used my old home dir. At first akonadi would not even start, so I decided to delete ~/.config/akonadi* and ~/.local/akonadi* and set it up from scratch.