Plugin "mail_crypt" - using folder keys

Aki Tuomi aki.tuomi at dovecot.fi
Mon Jan 30 07:15:08 UTC 2017


Hi Evgeniy!


On 27.01.2017 16:58, Evgeniy Korneechev wrote:
> Hi, i have two questions about using "folder keys" for encryption:
>
> 1. If i use this method how can i decrypt files manually?

You have to export the private key from mailbox attributes, see doveadm
mailbox cryptokey export.

> 2. If move a letter to another folder (or remove it), it will be unreadable.
> Log:
> imap(cloud): Error: read() failed: read(/home/cloud/Maildir/.Sent.test/cur/1485528498.M838579P2267....) failed: 
> Decryption error: no private key available (uid=5, box=Sent.test, read reason=)
> imap(cloud): Info: Internal error occurred. Refer to server log for more information. 
>
> or:
> imap(cloud): Error: read() failed: read(/home/cloud/Maildir/.Trash/cur/1485528906.M150750P3081....) failed: Decryption error: no private key available
>
> How fix it?
>
> Thank you in advance.
This seems to be a bug, and we are looking into it.

Aki



More information about the dovecot mailing list