Re: [mail-crypt-plugin] How to decrypt mailbox?

2019-05-21 Thread Christian Kivalo via dovecot




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.conf
In 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


[mail-crypt-plugin] How to decrypt mailbox?

2019-05-21 Thread emordin via dovecot
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.

Re: [mail-crypt-plugin] How to decrypt mailbox?

2019-05-20 Thread Aki Tuomi via dovecot

On 21.5.2019 8.03, emordin via dovecot wrote:
> Hi,
>
> So I am able to encrypt email using the crypt plugin, but when I try
> to access the email by logging in thru mutt or roundcube the email is
> still encrypted.
> Is the decryption process automatic or do I have to create a custom
> program with the decrypt.rb code?
>
> Thanks.
>
>
> Sent with ProtonMail  Secure Email.
>
Hi!

You need to enable mail_crypt plugin globally, not just for LDA.

Aki



[mail-crypt-plugin] How to decrypt mailbox?

2019-05-20 Thread emordin via dovecot
Hi,

So I am able to encrypt email using the crypt plugin, but when I try to access 
the email by logging in thru mutt or roundcube the email is still encrypted.
Is the decryption process automatic or do I have to create a custom program 
with the decrypt.rb code?

Thanks.

Sent with [ProtonMail](https://protonmail.com) Secure Email.