Skip to content

fergusb/mutt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(neo)mutt mail config

Installation

Installation is 3-step:

  1. Run the installer
  2. Add encrypted account settings
  3. Edit muttrc for account preferences

Installer

The install script makes a timestamped backup of any existing mutt instances.

cd ~/.mutt
./install

FastMail

Encrypt the following settings...

set realname = "[Your Name]"
set from="[email]"
set imap_user="[email]"
set imap_pass="[passwd]"
alternates "[email|email]"      # optional - pipe delimited
set signature="[filename]"      # optional
unmy_hdr *                      # optional
my_hdr X-URL: [your_domain]     # optional
my_hdr X-PGP-Key: [asc]         # optional
set pgp_sign_as=0xXXXXXXXX      # optional

Gmail

Encrypt the following settings...

set realname = "[Your Name]"
set imap_user="[email]"
set imap_pass="[passwd]"
set signature="[filename]"      # optional
set pgp_sign_as=0xXXXXXXXX      # optional

Svaha

Encrypt the following settings...

set realname = "[Your Name]"
set from="[email]"
set imap_user="[email]"
set imap_pass="[passwd]"
set signature="[filename]"      # optional
unmy_hdr *                      # optional
my_hdr X-URL: [your_domain]     # optional
my_hdr X-PGP-Key: [asc]         # optional
set pgp_sign_as=0xXXXXXXXX      # optional

Encryption

Add account settings to a txt file named after the account, then encrypt, add to the mutt accounts directory and source in the profile. Delete the unencrypted txt settings file.

gpg -r [keyID] -e [filename]
mv filename.gpg ~/.mutt/accounts/
shred [filename]

If gpg-agent misbehaves try:

killall -q gpg-agent
eval $(gpg-agent --daemon)

Editor

Note that the editor is set to use NeoVim: https://neovim.io

Addressbook

If you're using Gmail, install goobook: https://gitlab.com/goobook/goobook

pip install --user goobook

For regular CardDAV, use pycarddav: https://github.com/geier/pycarddav
Note: requires Python2 and vobject < 0.9

pip install --user pycarddav

" vim:ft=mkd

About

mutt -> neomutt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages