There is a wealth of documentation on the internet that discusses this, so I won't cover that here. For GnuPG, I will need to generate and save off my public key pair. Obviously, for both configs, I will have needed to setup cryptographic keys. Both of these configs can be found as example files in "/etc/Muttrc.d/" on Debian. The personal account sources the gpg.rc config, while the work account sources the smime.rc config. So, let's take a loot at the relevant parts of "~/.mutt/personal.rc" and "~/.mutt/work.rc": # ~/.mutt/personal.rc So, I have two accounts: "" and "" (those are actual URLs to your accounts, whether they be GMail, Yahoo!, or whatever. Source ~/.mutt/personal.rc # use this as the default account when Mutt executes As a result, here is the relevant parts of my ~/.muttrc: # ~/.muttrcįolder-hook "" "source ~/.mutt/personal.rc"įolder-hook "" "source ~/.mutt/work.rc" In my "~/.muttrc", I have my accounts separated into two files, so I can set specific options for each account that don't affect the other. Before beginning, however, you need to have the development version of Mutt (1.5.x) and it needs to have S/MIME support compiled in (which is the default for Debian/Ubuntu). If you have two accounts that you use with Mutt, and one of them you would like to use your OpenPGP key for signing mail (PGP/MIME), and the other you would like to use an OpenSSL certificate for doing the same (S/MIME), then this post is for you.
0 Comments
Leave a Reply. |