Summary: | mail/dovecot 2.3.15 and mail/dovecot-pigeonhole: Error: zlib_save: Support not compiled in for handler: xz | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Mohammad S. Babaei <info> |
Component: | Individual Port(s) | Assignee: | Larry Rosenman <ler> |
Status: | Closed Works As Intended | ||
Severity: | Affects Many People | CC: | ler, pi |
Priority: | --- | Keywords: | needs-qa, regression |
Version: | Latest | Flags: | linimon:
maintainer-feedback?
(ler) koobs: maintainer-feedback? (pi) koobs: merge-quarterly? |
Hardware: | Any | ||
OS: | Any |
Description
Mohammad S. Babaei
2021-07-15 14:56:16 UTC
^Triage: edit Summary and assign. (In reply to Mohammad S. Babaei from comment #0) The ChangeLog mentions this: 2021-01-22 14:00:21 -0500 Josef 'Jeff' Sipek <jeff.sipek@open-xchange.com> (6e5ae5ef0f) lib-compression: Remove xz/lzma write support For now, we keep the read support to allow for a more gradual migration from lzma/xz. The code has bugs. Additionally, there is no benefit in keeping it around. bzip2 or zstd (at maximum compression level) are likely better choices for archival. For non-archival usecases, a light compression algorithm like zstd (at low to medium compression level) or lz4 are better choices. Thank you very much! I appreciate it if you'd let me know, how can I convert my mailboxes? (In reply to Mohammad S. Babaei from comment #3) I don't know either. I suggest to ask on the dovecot mailing list, as you are probably not the only one hit by this. https://dovecot.org/mailman/listinfo/dovecot And btw, the relnotes mention that only write-support is disabled, so maybe xz files can still be read by dovecot ? Thank you! I've figured it out. I rebuilt dovecot with LZ4 support and then made the following modification and restarted the server. It works fine now. Although the documentation does not mention which levels are valid for lz4 https://doc.dovecot.org/configuration_manual/zlib_plugin/ - zlib_save = xz - zlib_save_level = 6 + zlib_save = lz4 + # You can use per-algorithm compression levels, and defaults. Prior to + # v2.3.15, the compression level must be an integer in the range 1 to 9 + # regardless of the algorithm selected. The default level is 6. These + # values may not make sense with compression algorithms other than gz + # and bz2. For example, zstd supports levels from -1 to 22 in latest + # Zstandard version. + #zlib_save_level = 6 OK, it seems it's between 1-12. https://www.mankier.com/1/lz4 Does this need any action from me? Again, Does this need any action from me? Looks like there is nothing for me to do. Closing. Feel free to reopen/file a new report if that is not the case. |