[Dovecot] Converting old emails to compressed format

Wolfgang Rosenauer wrosenauer at gmail.com
Sat Aug 2 07:48:36 UTC 2014


On Fri, Aug 1, 2014 at 4:13 PM, Timo Sirainen <tss at iki.fi> wrote:
> On 29 Jul 2014, at 18:22, Wolfgang Rosenauer <wrosenauer at gmail.com> wrote:
>
>> been there:
>> dsync -o plugin/zlib_save=gz backup -u testy
>> maildir:/srv/dovecot/testy/maildir.new
>>
>> doesn't make a difference unfortunately.
>> My mailboxes are in maildir format and besides enabling zlib I do not
>> change the format.
>> My testmailbox has only one message but this still is uncompressed after dsync.
>
> Maybe it's trying to copy the mails by hard linking instead of physically copying the data. See if -o maildir_copy_with_hardlinks=no helps?

That's it indeed. I haven't thought about hardlinks but with that
option the mails actually get compressed.

Thanks a lot,
 Wolfgang


More information about the dovecot mailing list