making a plugin encrypt index data

Aki Tuomi aki.tuomi at dovecot.fi
Fri Dec 16 19:25:52 UTC 2016


> On December 16, 2016 at 6:48 PM micah anderson <micah at riseup.net> wrote:
> 
> 
> 
> Hello,
> 
> I'm encrypting mail on disk using a plugin[0], but the index files are
> not encrypted (specifically the dovecot.index.cache can be read).
> 
> I want to do is encrypt index on disk, so I'm looking for how a plugin
> can achieve that by hooking into the right locations. Is that easily
> possible in a plugin?
> 
> I can turn off those indexes by passing INDEX=MEMORY, but that isn't
> possible if I use sdbox/mdbox.
> 
> thanks for any suggestions!
> micah
> 
> 0. https://0xacab.org/riseuplabs/tofu-scrambler

Hi!

At the moment it's not possible without making new storage class. We are planning to add support for fs drivers for indexes at some point.

Aki Tuomi
Dovecot Oy


More information about the dovecot mailing list