I configured an email solution using dovecot and postfix and it is working fine. Now I am working for mail encryption. Is it enough to set below configurations on dovecot for mail encryption. Because dovecot wiki is little bit confusing to me. 

"mail_plugins = $mail_plugins mail_crypt
mail_attribute_dict = file:%h/Maildir/dovecot-attributes

plugin {
  mail_crypt_curve = <some curve you like>
  mail_crypt_save_version = 2
}"
I am stuck in here.
Thank you in advance,
Anushka Bandara