ansible-collection-autonomy icon indicating copy to clipboard operation
ansible-collection-autonomy copied to clipboard

Encrypt emails in storage on a per user basis

Open gderber opened this issue 4 years ago • 2 comments

Evaluating the options.

Dovecot: mail-crypt-plugin

Advantages:

  1. It's built into dovecot
  2. Allows for spam training via .

Disadvantages:

  1. It stores user secret keys on the server.
  2. Email not encrypted until it reaches dovecot.

GPGit

Selective encryption

Encrypt Everything

S/MIME

  • https://github.com/jobisoft/encrypt-smime

gderber avatar Jan 19 '21 14:01 gderber

Two conflicting needs:

  1. Spamassassin training through moving email into and out of the spam folder.
  2. Ensuring emails are kept private

Decrypting and encrypting emails as they move in and out of the spam folder won't work because that would require user private keys to be stored on the email server.

gderber avatar Mar 07 '21 02:03 gderber

Methods for encrypting:

  1. Use pgp public keys
  2. Use user public cert.

gderber avatar Mar 07 '21 02:03 gderber