[Dovecot] prevent dovecot from modifying maildirs

Charles Marcus CMarcus at Media-Brokers.com
Fri Aug 9 15:19:59 EEST 2013


On 2013-08-09 8:04 AM, Michael Grimm <trashcan at odo.in-berlin.de> wrote:
> On 2013-08-09 11:44, Felix Rubio Dalmau wrote:
>
>> Is there any possibility to ask dovecot to write nothing to disk,
>> something like a "read only" state, without shutting it down? I have
>> set up a ZFS+postfix+dovecot mail server, and I need both postfix
>> (postsuper -h ALL) and dovecot (¿?) to stop modifying the disk to
>> create the snapshot to be saved.
>>
>> Does anybody has any idea on how to achieve this?
>
> As mentioned before, that's done by ZFS. Just create a snapshot using
> your ZFS functionality (zfs snapshot <name>).

And the same goes for LVM snapshots.

The only thing you might want/need to worry about is SQL databases... 
for these I always do periodic dumps (how often dicatated by how long 
the dumps take vs how often the data changes vs how critical the data is).

-- 

Best regards,

*/Charles/*


More information about the dovecot mailing list