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.
email@example.com sends email to firstname.lastname@example.org. The email is
encrypted with email@example.com's public key.
Postfix encrypts this email *again* with firstname.lastname@example.org's public
key, and put's it in email@example.com'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
firstname.lastname@example.org sends email to email@example.com The email isn't
Postfix encrypts this email with firstname.lastname@example.org's public key,
and puts it in email@example.com'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-----