Skip to content

manhtai/mail-config

Repository files navigation

Mutt + OfflineIMAP + Msmtp = Email client

mutt

Get things:

# install essential software from ubuntu package manager
sudo apt-get install mutt mutt-patched msmtp seahorse libsecret-tools gpicview abook urlview mairix abook offlineimap

# install keyring for python to get password from gnome-keyring
sudo pip2 install keyring

Config things:

  • If you want to convert from Gmail contact
# get vcard2abook to convert vcard to abook
wget https://raw.github.com/yaroot/scripts/master/vcard2abook.py
python3 vcard2abook.py  -f /data/Downloads/contacts.vcf -o /data/Dropbox/Docs/Private/Contacts/abook
  • Get config file and edit as you wish
# Clone mine
git clone https://bitbucket.org/manhtai/mutt-config ~/.mutt
cd ~/.mutt

# Config your imap account
vim offlineimaprc

# Config your mutt
vim muttrc

# Config your smtp account
vim msmtprc

# Config you abook
vim abookrc

Run things:

# Download all mail to your computer
offlineimap

# Index mail for searching
mairix -v

# Read and send your mail!
mutt

Fix somethings:

# chmod for msmtprc if got permission error
chmod 600 ~/.mutt/msmtprc

# You got any?

Reference:

Here, here and here.

About

My email client config for mutt, offlineIMAP & msmtp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages