Mutt to the rescue
I've gotten tired of switching between GMail, Thunderbird, and Apple Mail. For some things, GUI mail readers are great, but I feel like I'm missing out on the power and speed of text-based MUAs.
Mutt (and friends) to the rescue! Here are the components I've glued together:
Here are some configuration snippets:
$ cat .offlineimaprc
[general]
accounts = Work
[Account Work]
localrepository = Local
remoterepository = Remote
# You can have offlineimap continue running indefinately, automatically
# syncing your mail periodically. If you want that, specify how
# frequently to do that (in minutes) here. You can also specify
# fractional minutes (ie, 3.25).
autorefresh = 10
postsynchook = nmzmail -i ~/Mail
[Repository Local]
type = Maildir
localfolders = ~/Mail
[Repository Remote]
#type = Gmail
type = IMAP
ssl = yes
remotehost = imap.gmail.com
remoteuser = myname
For some reason, offlineimap crashes when I run it in multi-threaded mode, so here is how I keep my INBOX in sync:
offlineimap -1 -f INBOX
- mheily's blog
- Login or register to post comments
