Bug 510905

Summary: Kmail2 wrongly sets local IMAP connection in offline mode if external net is down
Product: [Applications] kmail2 Reporter: dag
Component: foldersAssignee: kdepim bugs <pim-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 6.4.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description dag 2025-10-22 06:57:05 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Have two IMAP mail server server setups. One to my internal IMAP server and one to an external server. Today we had a service cutoff in the external internet connection and I noticed that kmail2 also set the internal IMAP server in offline mode. Verified with thunderbird that it could connect to the internal IMAP server just fine. Seems like a bug

STEPS TO REPRODUCE
1. Set up internal IMAP service
2. Configure two accounts in kmail2. One to the internal server and one to an external server
3. Disconnect internet and watch the internal server getting the "offline" sign

OBSERVED RESULT
No connection to internal serv

EXPECTED RESULT
The internal and reachable server should stay online

SOFTWARE/OS VERSIONS
Windows: No
macOS: No
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: fc41/ 6.4.4
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.8.3

ADDITIONAL INFORMATION