<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt'>
<p>Hi,</p>
<p>We're running Dovecot 2.2.36 and we need to set up the mail-crypt plugin to encrypt all incoming and outgoing emails. Outgoing emails seem to get encrypted fine but the incoming ones don't. We tried everything including this config:</p>
<p>mail_attribute_dict = file:%h/Maildir/dovecot-attributes<br />mail_plugins = $mail_plugins mail_crypt<br /><br />plugin {<br />mail_crypt_global_private_key = <ecprivkey.pem<br /> mail_crypt_global_public_key = <ecpubkey.pem <br /> mail_crypt_save_version = 2</p>
<p>}</p>
<p>also this one:</p>
<p>plugin {</p>
<p>mail_crypt_curve = prime256v1</p>
<p>mail_crypt_save_version = 2</p>
<p>}</p>
<p>but to no avail. There are no visible errors, Dovecot restarts fine and outgoing emails get encrypted. Any ideas?</p>
</body></html>