This blog will contain tips and recommendations for software and anything else catching my fancy

22 February 2010

Signatures, GnuPG and Mutt

Well, just to round off the introduction to Mutt we will be looking at signatures and signing and encryption of emails. Luckily these are extremely easy :-)

First, we assume you have no GPG key (but have GnuPG installed), so let's start by creating one :-)

Now that that's done. Let's get on with Mutt :-)

Simply copy the gpg.rc (can be in a compressed format) from /usr/share/doc/gnupg-[whatever version you have installed]/OPENPGP[if this isn't there look for something called gpg or pgp] to your .mutt directory.

Now (unpack and) read the file. Once you've done reading, head over to my github, and have a look at my gpg.rc file.

And there you have it. That's it.

And now, to the signatures.

Make a .signature file (or .sig/.zig whatever makes sense to you anyway) in your .mutt directory open it and write your signature.
If you write:
"Best Regards John Doe" then it'll appear as
"--
Best Regards John Doe".

Now open your .muttrc and add the line:

set signature=~/.mutt/.signature

and there you go. It should work :-)

On an endnote. Compare your .muttrc file with mine as I'll be having it heavily documented and update it from time to time (there are some updates today compared to yesterday for instance).

This is what I have to say abotu mutt for now, but there may of course come more posts :-)

No comments:

Post a Comment