[Bug 257208] mail/dovecot-2.3.15 and mail/dovecot--pigeonhole: Error: zlib_save: Support not compiled in for handler: xz

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 15 Jul 2021 14:56:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257208

            Bug ID: 257208
           Summary: mail/dovecot-2.3.15 and mail/dovecot--pigeonhole:
                    Error: zlib_save: Support not compiled in for handler:
                    xz
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: info@babaei.net

After upgrading my ports I receive the following inside my maillog and I cannot
retrieve any emails:

Jul 15 14:36:14 core dovecot[9207]:
imap(someemail@somedomain.com)<87605><IlafZCrHndle7WyY>: Error: zlib_save:
Support not compiled in for handler: xz
Jul 15 14:36:14 core dovecot[9207]:
imap(someemail@somedomain.com)<87605><IlafZCrHndle7WyY>: Fatal: master:
service(imap): child 87605 killed with signal 11 (core not dumped -
https://dovecot.org/bugreport.html#coredumps - set service imap {
drop_priv_before_exec=yes })
Jul 15 14:36:14 core dovecot[9207]: imap-login: Login:
user=<someemail@somedomain.com>, method=PLAIN, rip=XXX.XXX.XXX.XXX,
lip=XXX.XXX.XXX.XXX, mpid=88224, TLS, session=<geGgZCrHntle7WyY>


No changes to the config files or the port use flags. However, if I downgrade
using the following commands to 2.3.13 there's no error anymore:

$ cd /usr/ports/mail/dovecot
$ git checkout 69d24a727d44d398f7357cb844386f3ec4750a4f .
$ make reinstall clean DISABLE_VULNERABILITIES=yes
$ cd /usr/ports/mail/dovecot-pigeonhole
$ git checkout 305f148f482daf30dcf728039d03d019f88344eb .
$ make reinstall clean DISABLE_VULNERABILITIES=yes
$ service dovecot restart
$ tail -f /var/log/maillogs

And, voila! There are no errors and it works as expected. For now I did

$ pkg lock mail/dovecot
$ pkg lock mail/dovecot-pigeonhole

-- 
You are receiving this mail because:
You are the assignee for the bug.