<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
Can you try rm dovecot-attributes file?
</div>
<div>
<br>
</div>
<div>
Aki
</div>
<blockquote type="cite">
<div>
On 31 May 2019 19:18 emordin via dovecot <dovecot@dovecot.org> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
So when I tried this way I got the following output:
<br>
</div>
<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>
<div>
user'@'host:~$
<br>
</div>
<div>
<br>
</div>
<div>
And when I tried this way I got the following output:
<br>
</div>
<div>
<br>
</div>
<div>
user'@'host:~$ doveadm -o plugin/mail_crypt_private_password=desired_password mailbox cryptokey generate -u user -UR
<br>
</div>
<div>
Folder Public ID
</div>
<div>
user'@'host:~$
<br>
</div>
<div>
<br>
</div>
<div>
In both cases I sent a new email to the server, and I got errors stating the mailbox can't be opened
<br>
</div>
<div>
<br>
</div>
<div class="protonmail_signature_block">
<div class="protonmail_signature_block-user protonmail_signature_block-empty">
<br>
</div>
<div class="protonmail_signature_block-proton">
Sent with
<a target="_blank" href="https://protonmail.com" rel="noopener">ProtonMail</a> Secure Email.
<br>
</div>
</div>
<div>
<br>
</div>
</blockquote>
<div>
<br>
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>