[mail-crypt-plugin] Password Query for Folder Keys questions

Aki Tuomi
Fri, 31 May 2019 16:00:12 -0000

Seems some stray > got into the cmdline. Can you try without it?





   Aki



    On 31 May 2019 18:53 emordin via dovecot <dovecot@dovecot.org> wrote:







   <pre style="white-space: pre-wrap; color: #000000; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight:
400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color:
initial;">> Can you try
>
> doveadm -o plugin/mail_crypt_private_password=desired_password mailbox >
cryptokey generate -u user -UR
>
> Aki
   <pre style="white-space: pre-wrap; color: #000000; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight:
400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color: initial;">I
tried that and got the following:
   <pre style="white-space: pre-wrap; color: #000000; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight:
400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color:
initial;">user@host:~$ doveadm -o
plugin/mail_crypt_private_password=desired_password mailbox > cryptokey
generate -u user -UR
   <pre style="white-space: pre-wrap; color: #000000; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight:
400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color: initial;">
Folder Public ID
   <pre style="white-space: pre-wrap; color: #000000; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight:
400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color:
initial;">user@host:~$
   <pre style="white-space: pre-wrap; color: #000000; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight:
400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color:
initial;">Then I sent a new email to the mail server, and I checked it
with mutt but got 'Internal Error' 'error opening mailbox' and I
checked the email with Roundcube and I can see the subject header but when I
open the email its just blank.




    <div class="protonmail_signature_block-user
protonmail_signature_block-empty">



     Sent with
     <a target="_blank" href="https://protonmail.com"
rel="noopener">ProtonMail Secure Email.











---
Aki Tuomi