neutron icon indicating copy to clipboard operation
neutron copied to clipboard

encrypting incoming emails

Open streaps opened this issue 8 years ago • 3 comments

This is just an enhancement idea, me thinking out loud. Unfortunately I don't know the internals of the Protonmail web client and I cannot contribute any usable code to neutron.

How could incomming emails be encrypted? Maybe by an LMTP server that sits between Postfix and Dovecot?

World --smtp--> Postfix --lmtp--> Neutron encryption --lmtp--> Dovecot local delivery

Does this make any sense? Could it work?

streaps avatar Jun 21 '16 09:06 streaps

Another idea would be that the web client encrypts unencrypted emails via IMAP.

streaps avatar Jun 21 '16 09:06 streaps

The first solution can work pretty well. I prefer it over the second one since messages would be stored encrypted from the start.

emersion avatar Jun 21 '16 11:06 emersion

The most elegant implementation I could find (using Dovecot), was this one : https://perot.me/encrypt-specific-incoming-emails-using-dovecot-and-sieve

You may also be interested with these: https://0xacab.org/riseuplabs/trees https://www.grepular.com/Automatically_Encrypting_all_Incoming_Email http://kacangbawang.com/encrypting-stored-email-with-postfix/

Although I am uncertain how this is related to neutron mail.

alexis- avatar Jul 19 '17 07:07 alexis-