<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hello everyone,</div>

<div> </div>

<div>I have a problem with MailCrypt on my Dovecot installation.</div>

<div>I have two Dovecot servers with Maildir on a shared filesystem.</div>

<div>In front of the servers is a dovecot director, so that the connections of a user are always directed to the same backend server.  </div>

<div><br/>
The setup worked fine for almost a year.</div>

<div>Since a few weeks I have the occasional problem with my primary mailbox that Dovecot cannot access the decryption key. </div>

<div> </div>

<div>So far I have always solved the problem by restoring the servers completely from the last backup.</div>

<div>Of course this is not a proper solution. </div>

<div> </div>

<div>The following message appears in the logfile:</div>

<div>
<p>Nov 30 10:56:11 vsrv-dus6-mta01 dovecot: imap(daniel@xxx)<26699><sPhx21C1UdTAqAFk>: Error: Mailbox INBOX: UID=15338: read() failed: read(/var/vmail/mailboxes/xxx/daniel/mail/cur/1606576233.M400743P1901.vsrv-dus6-mta01,S=1958,W=2004:2,) failed: Decryption error: no private key available</p>

<p>Nov 30 10:58:39 vsrv-dus6-mta01 dovecot: imap(daniel@xxx)<26788><PPlx5FC1WtTAqAFk>: Error: Mailbox INBOX: UID=15338: read() failed: read(/var/vmail/mailboxes/xxx/daniel/mail/cur/1606576233.M400743P1901.vsrv-dus6-mta01,S=1958,W=2004:2,) failed: Decryption error: no private key available</p>

<p>Nov 30 10:58:42 vsrv-dus6-mta01 dovecot: imap(daniel@xxx)<26792><pEqC5FC1W9TAqAFk>: Error: Mailbox INBOX: UID=15338: read() failed: read(/var/vmail/mailboxes/xxx/daniel/mail/cur/1606576233.M400743P1901.vsrv-dus6-mta01,S=1958,W=2004:2,) failed: Decryption error: no private key available</p>
</div>

<div> </div>

<div>The file "dovecot-attributes" exists and has not been changed according to the timestamp. I can open the file and view its contents. </div>

<div> </div>

<div>
<p>root@vsrv-dus6-mta01:~# ls -lh /var/vmail/mailboxes/xxx/daniel/Maildir/</p>

<p>total 7,5K</p>

<p>-rw------- 1 vmail vmail 7,3K Jan 27  2020 dovecot-attributes</p>

<p>root@vsrv-dus6-mta01:~#</p>
</div>

<div> </div>

<div><br/>
When I run "doveadm mailbox cryptokey list" it returns an empty result. </div>

<div> </div>

<div>
<p>root@vsrv-dus6-mta01:~# doveadm mailbox cryptokey list -u daniel@xxx -U</p>

<p>doveadm(daniel@xxx): Warning: mailbox cryptokey list: Nothing was matched. Use -U or specify mask?</p>

<p>Folder Active Public ID                                                                                                                                                                          </p>

<p>root@vsrv-dus6-mta01:~#</p>

<p> </p>

<p>root@vsrv-dus6-mta01:~# doveadm mailbox cryptokey list -u sabine@xxx -U</p>

<p>Folder Active Public ID                                                                                                                                                                                                      </p>

<p>       yes    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx                                                                                                                                               </p>

<p>root@vsrv-dus6-mta01:~#</p>
</div>

<div> </div>

<div>Can anyone tell me anything about the problem? </div>

<div> </div>

<div> </div>

<div>My Dovecot version:</div>

<div>
<p>root@vsrv-dus6-mta01:~# dovecot --version</p>

<p>2.3.11.3 (502c39af9)</p>

<p>root@vsrv-dus6-mta01:~#</p>

<p> </p>

<p>Best regards</p>

<p>Daniel</p>
</div></div></body></html>