Skip to content
This repository has been archived by the owner on Aug 24, 2018. It is now read-only.

Latest commit

 

History

History
57 lines (37 loc) · 1.57 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.57 KB

NOTE: My Mutt configuration has been moved in with my main dotfiles repo. Any future updates will occur there.


Mutt

This is my ~/.mutt.

Offlineimap and Msmtp

Two Gmail accounts are kept in sync with directories under ~/Mail via Offlineimap. Msmtprc is used to send emails from either account via the commandline or Mutt.

You can find the relevant configs for both of these tools in my dotfiles repo.

Mailrun

I don't trust Offlineimap as a daemon, so I just manually sync every 3 minutes via [f]cron.

*/3 * * * * /home/you/.mutt/bin/mailrun

mailrun gives offlineimap 60 seconds to complete before forcibly killing that process. In my experience if it's not done in 30, it's hung. You may want to adjust these numbers depending on the size and number of your mailboxes.

Either way, you should run your first sync manually since it will take a while.

Mail query

Mail query is a little C app I wrote which reads your existing mail for addresses and presents them in a format such that mutt can use them for tab completion. Given a small enough mailbox, it's usably fast.

It is available in its own repo.

Mutt

Mutt accesses the mailboxes under the two synced folders in ~/Mail and uses folder-hooks to adjust the appropriate settings (from, sendmail, etc) depending on what folder you're in.

Be sure to review all settings and man muttrc for anything you don't understand.