Installation is 3-step:
- Run the installer
- Add encrypted account settings
- Edit muttrc for account preferences
The install script makes a timestamped backup of any existing mutt instances.
cd ~/.mutt
./install
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
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
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
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)
Note that the editor is set to use NeoVim: https://neovim.io
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