Hacker News new | ask | show | jobs
by fulafel 3011 days ago
Mutt is terrible for imap on a laptop, it hangs and loses changes when the connection dies. Or has this been fixed?
2 comments

I don't know if it's been fixed, but I recommend pointing mutt at an offline copy of your mail instead of directly at an IMAP server. Use isync or another program to sync your mail.
When your mailbox is many gigabytes and you have small SSD, this is out of questions. Using IMAP allows only mail headers to be locally preserved.
This doesn't really work if you have multiple systems you want to access your mail from. There's no way to keep those systems in sync with each other, some folks fake it with dropbox-like services, but that's honestly not much different than just pulling over imap each time you open the mta...
I use offlineimap[1] and it absolutely does work. It keeps everything on the IMAP server while giving me a local copy to work from. It's super simple to setup and use, and I'm really happy with it.

[1]: http://www.offlineimap.org/

Interesting, I might have to give this another go. For my work mail, I use mbsync to store it locally, but I only have one system doing that. Personal email is a different matter, especially since some systems accessing it (e.g. my phone via K-9) would like to know if a mail has been read on another system (e.g. one storing mails locally). Does offlineimap handle that situation?
I don't know anyone who uses Mutt directly for imap.

Every guide I've read recommends using imapsync and msmtp for sending.

http://stevelosh.com/blog/2012/10/the-homely-mutt/#getting-e...