Question about doveadm altmove

justina colmena ~biz justina at colmena.biz
Mon Mar 22 00:28:33 EET 2021


On Sunday, March 21, 2021 12:16:28 PM AKDT María Arrea wrote:
> Hello.
>  
> We are running dovecot 2.3.13. Full doveconf -n output below
>  
> In 2.3.14 Changelog I found this:
>  
> * Remove XZ/LZMA write support. Read support will be removed in future
> release. 
> We are using mdbox + XZ/LZMA for alternate storage (messages older than 2
> weeks are moved to ALT storage via cron job), so we must convert from XZ to
> another thing (maybe zstd or bz2). 

Why can't you just pipe the output of "doveadm altmove" command through an 
external command to do the XZ/LZMA compression if dovecot no longer supports 
it internally?

From doveadm-altmove (1):
> This  command  can  be  used  with sdbox or mdbox storage to move mails to 
alternative
>       storage path when :ALT=<path> is specified for the mail location.

And that's set in stone.

https://en.wikipedia.org/wiki/XZ_Utils

So what are the issues with xz? Security? Crashes or viruses on expanding 
invalid archives?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part.
URL: <https://dovecot.org/pipermail/dovecot/attachments/20210321/013f975d/attachment.sig>


More information about the dovecot mailing list