Created attachment 103443 [details] IMAP protocol logs Trojita 0.7.1 on Arch Linux accessing outlook.com Notified approximately every five minutes of a Network Error with the following error message: `Socket disconnected: The underlying socket is having troubles when processing connection to imap-mail.outlook.com:993: The remote host closed the connection.` INBOX empties following this error. Highlighting INBOX restores emails until next periodic close.
try lower the imap idle timeout to (apparently) "2" in the imap page of the settings dialog.
Yeah, this is either the IMAP server imposing a ~150 second timeout for IDLE (the standard requires at least thirty minutes), or some network middlebox along the way breaking the TCP connection -- and that sounds much more likely, given that the server doesn't send a "* BYE". Are you sure that there's nothing like a crappy wifi router or an overly restrictive NAT box on your connection? If so, then activating the option that Thomas suggested will help Trojita work on despite the network flakiness.
(In reply to Thomas Lübking from comment #1) > try lower the imap idle timeout to (apparently) "2" in the imap page of the > settings dialog. This seems to have solved this issue. Thank you both!
I wrote too soon. The issue remains.
The 150 seconds looked too compelling :) Please attach two or three more logs of connection breaks. Then add "IDLE" to the extension blacklist and also elaborate on mentioned possible network instabilities (though IDLE support on outlook.com seems fairly new and the entire thing far from a real IMAP server - maybe even less one than gmail)
The IMAP protocol states that the minimal timeout is 30 minutes. If your server (or some network middlebox) imposes shorter, non-standard timeouts, you can as a workaround use the timeout value as per comment #1. If that still doesn't work as you suggest, please attach a new log and reopen.