Automatically Encrypting all Incoming Email
grepular.com
Automatically Encrypting all Incoming Email
1–10 of 23 posts
Re: Automatically Encrypting all Incoming Email
#2Re: Automatically Encrypting all Incoming Email
#3Re: Automatically Encrypting all Incoming Email
#4A nice approach, I will look at implementing it on my setup at home; Probably worth noting that if you are taking these steps then running it all out of an encrypted filesystem is probably a sensible addition. Although if you are looking at doing this you probably have an encrypted filesystem already.
Re: Automatically Encrypting all Incoming Email
#5A nice approach, I will look at implementing it on my setup at home; Probably worth noting that if you are taking these steps then running it all out of an encrypted filesystem is probably a sensible addition. Although if you are looking at doing this you probably have an encrypted filesystem already.
And likely have plain-jane, no TLS SMTP mail being delivered which means it's trivial for your upstream provider to read your (unencrypted) email.
Re: Automatically Encrypting all Incoming Email
#6How could this be translated to Postfix, for a Postfix novice?
:0fw
| /path/to/gpgit.pl you@example.com
Be sure to also enable opportunistic transport-layer encryption in Postfix (it's pointless to encrypt mail upon receipt if it just traveled in the clear on the Internet) by putting this in main.cf: smtp_tls_security_level = may
smtpd_tls_security_level = may
smtpd_tls_cert_file = /path/to/cert
smtpd_tls_key_file = /path/to/key
You need a SSL cert for this, but it can be a self-signed cert. If you're on Debian (probably Ubuntu too) you can use the snakeoil cert (/etc/ssl/certs/ssl-cert-snakeoil.pem and /etc/ssl/private/ssl-cert-snakeoil.key).Re: Automatically Encrypting all Incoming Email
#7Re: Automatically Encrypting all Incoming Email
#8Or am I missing something?
Re: Automatically Encrypting all Incoming Email
#9How could this be translated to Postfix, for a Postfix novice?
If you're using procmail as your delivery agent, then adding this to your procmailrc should work: :0fw | /path/to/gpgit.pl you@example.com Be sure to also enable opportunistic transport-layer encryption in Postfix (it's pointless to encrypt mail upon receipt if it just traveled in the clear on the Internet) by putting this in main.cf: smtp_tls_security_level = may smtpd_tls_security_level = may smtpd_tls_cert_file =…
Re: Automatically Encrypting all Incoming Email
#10Wouldn't it be way easier to just encrypt the partition? Ubuntu for example has an easy-to-use feature for that. The idea of email encryption is not least to avoid interception in the clear. Or am I missing something?