Tag: mutt

Install Mutt correctly

No Comments
  1. Install mutt or neomutt with your favourite package manager:

apt install neomutt

or install from source

git clone https://github.com/neomutt/neomutt

Here are the sample commands to configure and build NeoMutt:

./configure --gnutls --gpgme --gss --sasl --tokyocabinet
make

2. create a muttrc using mutt-wizard

git clone https://github.com/LukeSmithxyz/mutt-wizard
cd mutt-wizard
sudo make install

The mutt-wizard is run with the command mw. It also installs the mailsync command. Once everything is setup, you’ll use neomutt to access your mail.>

  • mw add — add a new email account
  • mw ls — list existing accounts
  • mw pass — revise an account’s password
  • mw delete — deleted an added account
  • mw purge — delete all accounts and settings
  • mw cron — toggle/configure a cronjob to sync mail

3. create mutt mailboxes correctly using maildirmake utility from courier mail server. The individual components can be downloaded here. Most tutorials leave out this part, and so I struggled with a persistent mailbox format error.

mkdir ~/Mail

cd Mail

maildirmake gmail

4. Use pass to initialise and store mailbox passwords

pass pass init <gpgemail>

5. More Information

Mutt Wiki

Categories: Apps CLI Ubuntu

Tags: ,