[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Encrypting incoming messages with GnuPG



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

e.g:

user@domain.com sends email to hrickards@l33tmyst.com. The email is
encrypted with hrickards@l33tmyst.com's public key.

Postfix encrypts this email *again* with hrickards@l33tmyst.com's public
key, and put's it in hrickards@l33tmyst.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
like this:


user@domain.com sends email to hrickards@l33tmyst.com The email isn't
encrypted.

Postfix encrypts this email with hrickards@l33tmyst.com's public key,
and puts it in hrickards@l33tmyst.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

- -- 
Many thanks
Harry Rickards (a.k.a l33tmyst)

- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
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/

iEYEARECAAYFAkoFV3YACgkQ1kZz3mRu0GqdUwCgxHstKMChQYL2+Z7wAWH20iAB
hccAoKciE/ZC0AWKf5EO0FBZb1CDy3um
=9J8b
-----END PGP SIGNATURE-----


Reply to: