On 2016-10-07, tristero tristero <tristero...@gmail.com> wrote: > Hello, > I'm trying to configure Mutt to access a gmail account. I had a look > at some tutorials and configurations and right now this is my .muttrc: > > set imap_user = "myu...@gmail.com" > set imap_pass = "xxxxxx" > > set smtp_url = 'smtp://myu...@smtp.gmail.com:587/' > set smtp_pass='xxxxxxx' > > set from = 'myu...@gmail.com' > set realname = 'Name' > > set folder="imaps://imap.gmail.com" > set spoolfile="imaps://imap.gmail.com/INBOX" > set record="imaps://imap.gmail.com/[Gmail]/Sent Mail" > set postponed="imaps://imap.gmail.com/[Gmail]/Drafts" > > set header_cache = "~/.mutt/cache/headers" > set message_cachedir = "~/.mutt/cache/bodies" > set certificate_file = "~/.mutt/certificates" > > set move = no > set smtp_authenticators = 'gssapi:login' > set imap_keepalive = 120 > set imap_idle=yes > set mail_check = 1
> The problem is that after a couple of minutes of inactivity, it > disconnects and it displays the message "Mailbox closed". I've already > looked around for a solution and as you can see at the end of my > configuration I tried setting a very small time interval to keepalive > and also mail_check, but still nothing. Here's what I use: set mail_check=90 set timeout=15 set imap_keepalive=30 AFAICT, I don't have imap_idle enabled. I use mutt with gmail/imap almost exclusively, and never notice any issues. But, I don't usually leave mutt sitting open when I'm not actually reading or sending mail. -- Grant Edwards grant.b.edwards Yow! I'm having an at EMOTIONAL OUTBURST!! But, gmail.com uh, WHY is there a WAFFLE in my PAJAMA POCKET??