Encrypting incoming messages with GnuPG
-----BEGIN PGP SIGNED MESSAGE-----
I was wondering if anyone knew of a way, perhaps using /etc/aliases, so
that all incoming mail addressed to my username (hrickards) is encrypted
with *my* public key, so that when I read it only I can read it using
*my* private key. If the mail was signed or encrypted beforehand, it
could then be decrypted with my private key as usual.
firstname.lastname@example.org sends email to email@example.com. The email is
encrypted with firstname.lastname@example.org's public key.
Postfix encrypts this email *again* with email@example.com's public
key, and put's it in firstname.lastname@example.org's inbox.
Thunderbird with EnigMail (my mail client) downloads the message and
decrypts it with my private key. The message then looks as it was when
it was sent.
Thunderbird then decrypts the message again with my private key, leaving
me with the plain text.
However, if the message was not signed in the first place, it would look
email@example.com sends email to firstname.lastname@example.org The email isn't
Postfix encrypts this email with email@example.com's public key,
and puts it in firstname.lastname@example.org's inbox.
Thunderbird downloads the message and decrypts it with my private key,
leaving me with the plain text.
Sorry if I wasn't very clear. Thanks
Harry Rickards (a.k.a l33tmyst)
- -----BEGIN GEEK CODE BLOCK-----
GAT/GCM/GCS/GCC/GIT/GM d? s: a? C++++ UL++++ P- L+++ E--- W+++ N o K+
w--- O- M- V- PS+ PE Y+ PGP++ t 5 X R tv-- b+++ DI D---- G e* h! !r y?
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----