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.
Is there a solution to this?

Thank you

Reply via email to