Bug 4526

Summary: Opening claws-mail with offline imap takes {ages}
Product: Claws Mail Reporter: Emilian <emil.nowak>
Component: UIAssignee: users
Status: RESOLVED INVALID    
Severity: normal    
Priority: P3    
Version: 3.99.0   
Hardware: PC   
OS: Linux   

Description Emilian 2021-08-19 08:48:22 UTC
From multiple accounts I have in claws-mail. I have one IMAP account that for some reason is unavialable (host unreachable for some reason).

Now when I  try to open claws nothing apppears in UI for around minute. I cannot access my other accounts. I swtiched back to console killed claws-mail process.

Run with strace and then I could figured out what is going on.

This behavior with block IO to imap is very user-unfriendly. IMHO it should open UI, and do this operation in background displaying some indication that given account is offline or something.

My claws-mail version is 3.17.8
Comment 1 Paul 2021-08-19 09:21:18 UTC
build with NetworkManager support to automatically handle online/offline mode.
Comment 2 Emilian 2021-08-19 09:26:39 UTC
But it is not mine network offline. It is rather this server. Will network manager help with that ?
Comment 3 Paul 2021-08-19 09:37:24 UTC
reduce the value of 'Socket I/O timeout' on /Configuration/Preferences/Other/Miscellaneous.
Comment 4 Emilian 2021-08-19 10:18:12 UTC
Ok, thanks.
But this is rather workaround - it delay will be just shorter.
What do You think about making this network process in background?
 I know it is rather huge rebuild.