How do I enable the mail-crypt-plugin globally? Do I have to place 'mail_plugins = $mail_plugins mail_crypt' inside ever conf.d file where there is a protocol code block? Like for example the protocol lda codeblock in 15-lda.conf and the protocol imap codeblock in 20-imap.conf I placed 'mail_plugins = $mail_plugins mail_crypt' in 20-lmtp.conf inside the protocol lmtp code block, and the actual plugin settings are inside 90-plugin.conf inside the plugin codeblock. And I was able to get CRYPTED mail with this config. If I place 'mail_plugins = $mail_plugins mail_crypt' inside 90-plugin.conf, I get an error telling me to put 'mail_plugins = $mail_plugins mail_crypt' in 20-lmtp.conf Sent with [ProtonMail](https://protonmail.com) Secure Email. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190521/13f699ec/attachment.html>
On 2019-05-21 23:57, emordin via dovecot wrote:> How do I enable the mail-crypt-plugin globally? Do I have to place > 'mail_plugins = $mail_plugins mail_crypt' inside ever conf.d file > where there is a protocol code block? Like for example the protocol > lda codeblock in 15-lda.conf and the protocol imap codeblock in > 20-imap.confIn 10-mail.conf around line 215 is this comment for the global plugins option: # Space separated list of plugins to load for all services. Plugins specific to # IMAP, LDA, etc. are added to this list in their own .conf files. #mail_plugins Here you'd add all global plugins.> I placed 'mail_plugins = $mail_plugins mail_crypt' in 20-lmtp.conf > inside the protocol lmtp code block, and the actual plugin settings > are inside 90-plugin.conf inside the plugin codeblock. And I was able > to get CRYPTED mail with this config. > > If I place 'mail_plugins = $mail_plugins mail_crypt' inside > 90-plugin.conf, I get an error telling me to put 'mail_plugins > $mail_plugins mail_crypt' in 20-lmtp.conf > > Sent with ProtonMail [1] Secure Email. > > > > Links: > ------ > [1] https://protonmail.com-- Christian Kivalo
Apparently Analagous Threads
- [mail-crypt-plugin] How to decrypt mailbox?
- [mail-crypt-plugin] Password Query for Folder Keys questions
- Setting up individual encrypted user keys using mail-crypt-plugin
- [mail-crypt-plugin] Password Query for Folder Keys questions
- [mail-crypt-plugin] Private key location in Folder Key Mode