The dsync process will be aware of whatever configuration file it refers to.
The best thing to do is to set up a separate instance of Dovecot with
compression enabled (really not that hard to do) and point dsync to that
separate instances's configuration.
Mailboxes written by dsync will be compressed.
On Jan 13, 2012, at 5:59 AM, Joseba Torre wrote:
> Hi,
>
> I will begin two migrations next week, and in both cases I plan to use
compressed mailboxes with mdbox format. But in the last minute one doubt has
appeared: is dsync aware of compressed mailboxes? I'm not sure if
>
> dsync -u $USER mirror mdbox:compressed_mdbox_path
>
> works, or if I have to use something else (I guess that with a running
dovecot dsync backup should work).
>
> Thanks.