How to dsync mdbox compressed to maildir uncompressed

Timo Sirainen tss at iki.fi
Tue Feb 21 11:01:01 UTC 2017


On 21 Feb 2017, at 12.49, Daniel Betz <dbetz at df.eu> wrote:
> 
> Hello,
> 
> we are using doveadm sync to export mdbox to maildir format, so we can use an external tool to convert into an pst file.
> Since we have enabled zlib compression doveadm sync always exports the maildir gzip compressed.
> 
> Are there any ways to prevent the doveadm sync to export the maildir compressed ?
> 
> Have tried this: doveadm -o "maildir_copy_with_hardlinks=no" sync -u imap at test.de maildir:~/Maildir
> From Wiki: If you want to use dsync to convert to a compressed Maildir you may need -o maildir_copy_with_hardlinks=no (this is set to yes by default and will prevent compression).

Run it via two processes so you can give separate settings for them, something like:

doveadm sync -u imap at test.d <mailto:imap at test.d> 'doveadm -o mail=~/Maildir -o mail_plugins=everything-but-zlib dsync-server'



More information about the dovecot mailing list