You are not logged in.
Just yesterday my mutt email was fine connecting to gmail via imap. I didn't touch .muttrc at all. Now when I run mutt it gives the "Connecting to imap.gmail.com ..." message and then times out with the "Connection to imap.gmail.com closed" error and I get an empty inbox. Any ideas on what I should be looking at?
Last edited by mutaphore (2015-01-18 19:19:22)
Offline
I would check two things. Can you get to your email via the web interface? I have known people to have had their accounts hijacked.
Also, can you connect to the imap server by hand? Try telnet imap.gmail.com 993 and see if it connects.
Last edited by ewaller (2015-01-18 17:01:19)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Check the settings in your gmail account -- I had to downgrade the security settings in mine to allow mutt to retrieve mail; I think they changed stuff recently.
Offline
Make sure your cert fingerprint is correct.
Offline
Thanks for all the responses. After digging around for 3 hrs, finally figured out it was related to the imap address. I had in my .muttrc:
set folder = imap://username@imap.gmail.com:993
instead of "imaps" with an "s":
set folder = imaps://username@imap.gmail.com:993
Adding the "s" after "imap" worked for me. But I'm noticing a slowdown of starting mutt. It usually take 2 seconds to get to the inbox, but now it takes 7 seconds on the "Connecting to imap.gmail.com" message before I connect to inbox. How do you downgrade security settings in gmail?
Last edited by mutaphore (2015-01-18 19:11:04)
Offline
How do you downgrade security settings in gmail?
On the gmail page at google.com, click on your user icon in the top-right corner, select the "Account" link then change the "Access for less secure apps*" bit to "Allowed"
* Grrr...
Offline
Good to know I have mine enabled. This issue is solved.
Offline
It usually take 2 seconds to get to the inbox, but now it takes 7 seconds ...
Check out offlineimap and never wait again.
It took me a while to finally get on board with offlineimap - but once I did the only thing I regretted was not having set it up years before when I started using mutt.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
mutaphore wrote:It usually take 2 seconds to get to the inbox, but now it takes 7 seconds ...
Check out offlineimap and never wait again.
It took me a while to finally get on board with offlineimap - but once I did the only thing I regretted was not having set it up years before when I started using mutt.
Trilby, how does offlineimap save mutt loading time? It still has to connect to IMAP to sync right?
Offline
Offlineimap doesn't get your mail to you quicker - but it definitely does save mutt loading time. Offlineimap runs as a daemon and keeps a local maildir copy of all your mail. The main purpose for this is so you can read your mail while offline (hence the name), but an added bonus is that whenever you open mutt, mutt doesn't need to wait for the imap connection/download/sync/whatever - it just reads from the local maildir which is effectively instantaneous*.
EDIT: *often that is. I do have a 'storage' mailbox with ~5000 emails in it. When I swtich to that mailbox mutt still takes a second to read the maildir folder. But if this were in online form only it could take a minute or more. My inbox which often holds 50-100 emails loads instantly.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Thanks. I will try it out.
Offline