I am using Mutt with Office365, and get a ton of annoying
disconnections, either with short periods of idle time, as in the log
below, or sometimes even while doing sync operations. 
 
The relevant parts of my config are:
set folder="imaps://outlook.office365.com"
set spoolfile= +INBOX
set postponed= +Drafts
set record= +"Sent Items"
set trash= "Deleted Items"
set trash= "Deleted Items"
# See if this helps with timeouts
set imap_keepalive=900

I have 'mailboxes !' in my .muttrc; even though '!' is shortcut for 
inbox in Mutt, it's not an actual valid IMAP name, is it? Is mutt 
literally doing a status on '!' here?

[2016-02-26 16:50:48] 6> a0042 STATUS "!" (UIDNEXT UIDVALIDITY UNSEEN RECENT)
a0043 STATUS "hadoop" (UIDNEXT UIDVALIDITY UNSEEN RECENT)
[2016-02-26 16:50:48] 6< a0042 NO ! doesn't exist.

Right after, my mutt debug log has this:

[2016-02-26 16:50:48] SSL error: error:0B07C065:x509 certificate 
routines:X509_STORE_add_cert:cert already in hash table
[2016-02-26 16:50:48] Connection to outlook.office365.com closed
[2016-02-26 16:50:50] imap_cmd_step: Error reading server response.
[2016-02-26 16:50:50] Mailbox closed
[2016-02-26 16:50:51] mx_check_mailbox: null or invalid context.
[2016-02-26 16:50:51] mutt_num_postponed: using old IMAP postponed count.

>From searching online, it seems like this may be a problem others have
experienced (https://github.com/ork/mutt-office365/issues/6)

Reply via email to