git: de2e20b6267a - main - mail/dovecot: mail/dovecot-pigeonhole: upgrade to 2.3.17, 0.5.17

From: Larry Rosenman <ler_at_FreeBSD.org>
Date: Thu, 28 Oct 2021 15:34:35 UTC
The branch main has been updated by ler:

URL: https://cgit.FreeBSD.org/ports/commit/?id=de2e20b6267a9c18240ee6e4ba6bdc9f647cbecc

commit de2e20b6267a9c18240ee6e4ba6bdc9f647cbecc
Author:     Larry Rosenman <ler@FreeBSD.org>
AuthorDate: 2021-10-28 15:30:57 +0000
Commit:     Larry Rosenman <ler@FreeBSD.org>
CommitDate: 2021-10-28 15:33:27 +0000

    mail/dovecot: mail/dovecot-pigeonhole: upgrade to 2.3.17, 0.5.17
    
    ChangeLogs:
    dovecot:
    * Dovecot now logs a warning if time seems to jump forward at least
      100 milliseconds.
    * dict: Lines logged by the dict process now contain the dict name as
      the prefix.
    * lib-index: mail_cache_fields, mail_always_cache_fields and
      mail_never_cache_fields now verifies that the listed header names are
      valid. Especially the UTF8 "–" character has sometimes been wrongly
      used instead of the ASCII "-".
    + *-login: Added login_proxy_rawlog_dir setting to capture
      rawlogs between proxy and backend.
    + dict: The server process now keeps the last 10 idle dict backends
      cached for maximum of 30 seconds. Practically this acts as a
      connection pool for dict-redis and dict-ldap. Note that this doesn't
      affect dict-sql, because it already had its own internal cache.
    + doveadm: New stats add/remove commands added to support changing the
      metrics configuration on runtime.
    + lazy_expunge: Added lazy_expunge_exclude settings to disable
      lazy_expunge for specific folders. \Special-use flags can be used as
      folder names.
    + lib-lua: Added a new helper function dovecot.restrict_global_variables()
      to disable or enable defining new global variables.
    - LAYOUT=index List index rebuild was missing.
    - LAYOUT=index: Duplicate GUIDs were not detected.
    - acl: When using acl_ignore_namespace Dovecot attempted to access or
      create dovecot-acl-list even when the namespace should have been
      ignored. For virtual namespaces this could have yielded errors about
      "Read-only file system" or "Permission denied".
    - auth: Setting the "master" passdb field to empty value would
      cause proxying to fail with an authentication error.
      Now an empty "master" field is ignored.
    - doveadm-server: Duplicate error lines were sent for failed commands.
      This didn't normally cause visible problems, except when using
      wildcards in usernames or -A parameter to go through multiple users.
    - doveadm-server: Logs written by doveadm-server were often missing log
      prefixes, especially mail_log_prefix for mail commands. Logs sent to
      doveadm TCP client were also missing log prefixes.
    - doveadm: v2.3 regression: batch command always crashes.
    - doveadm: v2.3.11 regression: Commands failed if ssl_cert or
      ssl_key files weren't readable by the user running doveadm, even
      though doveadm didn't actually use these settings
    - imap-hibernate: Process may crash at deinit:
      Panic: file ioloop.c: line 928 (io_loop_destroy): assertion failed:
      (ioloop->cur_ctx == NULL).
    - imap: Using imap_fetch_failure=no-after can cause assert-crash
      with some IMAP commands if reading the mail fails (e.g. wrong cached
      mail size). Fixes:
      Panic: file index-mail-headers.c: line 198 (index_mail_parse_header_init):
      assertion failed: (!mail->data.header_parser_initialized)
    - imap: v2.3.10 regression: When using INDEXPVT to enable private
      \Seen flags (for shared or public namespaces) the STORE command did
      not send untagged replies for the \Seen flag changes.
    - imap: v2.3.15 regression: If PREVIEW/SNIPPET is not the final FETCH
      option in the command, the IMAP FETCH response is broken.
    - imap: v2.3.15 regression: MOVE command leaks mailbox if it can't be
      opened and crashes at deinit:
      Panic: file mail-user.c: line 229 (mail_user_deinit): assertion failed:
      ((*user)->refcount == 1).
    - imapc: Copying nonexistent mail via imapc could have crashed. Fixes:
      Panic: file mail-storage.c: line 2385 (mailbox_transaction_commit_get_changes):
      assertion failed: (ret < 0 || seq_range_count(&changes_r->saved_uids) == save_count ||
      array_count(&changes_r->saved_uids) == 0).
    - indexer: v2.3.15 regression: Process crashes if indexer-client
      disconnects while it's waiting for command reply. This happened for
      example if IMAP SEARCH triggered long fts indexing and the IMAP
      client disconnected while waiting for the reply.
    - indexer: v2.3.15 regression: Process may have crashed in some situations.
    - indexer: v2.3.15 regression: indexer-worker processes may not have
      reached the process_limit in some situations, possibly even using just
      one indexer-worker process even though there were many indexing
      requests queued.
    - lib-compression: Reading lz4 compressed mdbox mails may crash. Fixes:
      Panic: file istream.c: line 345 (i_stream_read_memarea):
      assertion failed: (!stream->blocking).
    - lib-compression: bench-compress crashes due to xz being read-only.
    - lib-lua: Fix linking libdict_lua for non-GNU linkers when Lua support
      is disabled.
    - lib-mail: There was no limit on how large an email header name could be.
      Processable header names are now limited to 1000 bytes.
    - lib-oauth2: Dovecot disallowed JWT tokens if their validity time was
      older than token creation time (nbf < iat).
    - lib-storage: Reduce memory footprint of certain storage operations.
    - lib-storage: When listing mailboxes with storage name escape
      characters (^ or .) as part of the mailbox name, the listing could
      show corrupted mailbox names. Due to an issue in handling escaped
      parent folders, the listing of other mailbox names would become
      corrupted by prepending parts of the previously listed mailboxes
      parent folder as prefix to the actual mailbox names. The corruption
      can occur when using LAYOUT=INDEX and maildir or obox, or when using
      the listescape plugin.
    - mail-crypt: Fix "-O" argument for "doveadm mailbox cryptokey password"
      command to be a boolean, and not expect a string.
    - submission-login: Add support for not authenticating to next hop in
      submission proxying.
    - submission-login: EHLO was not sent again after XCLIENT when doing
      submission proxying.
    - virtual: Mailboxes do not correctly detect underlying mailboxes
      getting re-created even though they have a different UIDVALIDITY or
      GUID.
    
    Pigeonhole:
    - duplicate: The Sieve duplicate test is prone to false negatives when
      the user receives many e-mails concurrently, meaning that duplicate
      deliveries can still occur.
    - fileinto: v2.3.16 regression: Sieve delivery crashes if mail is
      delivered to non-existing and existing folder.
    - imap-filter-sieve: v2.3.15 regression: The CPU limits on Sieve
      execution are too easily exceeded in IMAP context (the IMAPSieve and
      FILTER=SIEVE capabilities). Changed the default to unlimited CPU time
      for IMAP context, since similar excessive resource usage can be caused
      by other means as well. The CPU limits on Sieve scripts executed at
      LDA/LMTP delivery are still enforced by default.
    - redirect:  The Sieve redirect action has protections against users
      triggering mail loops. Unfortunately, the detection of a redirect mail
      loop sometimes causes the message to get lost if no other Sieve action
      is applied that delivers the message somewhere else.
    - redirect: v2.3.16 regression: With certain Sieve scripts if redirect
      fails due to temporary failure, the lmtp process may crash after the
      delivery. Fixes:
      Panic: file mail-user.c: line 229 (mail_user_deinit):
      assertion failed: ((*user)->refcount == 1).
---
 mail/dovecot-pigeonhole/Makefile | 2 +-
 mail/dovecot-pigeonhole/distinfo | 6 +++---
 mail/dovecot/Makefile            | 2 +-
 mail/dovecot/distinfo            | 6 +++---
 mail/dovecot/pkg-plist           | 1 +
 5 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/mail/dovecot-pigeonhole/Makefile b/mail/dovecot-pigeonhole/Makefile
index 061c48feb493..8c3fb40df82b 100644
--- a/mail/dovecot-pigeonhole/Makefile
+++ b/mail/dovecot-pigeonhole/Makefile
@@ -1,7 +1,7 @@
 # Created by: Nils Vogels <nivo+kw+ports.bfa274@is-root.com>
 
 PORTNAME=	dovecot-pigeonhole
-PORTVERSION=	0.5.16
+PORTVERSION=	0.5.17
 CATEGORIES=	mail
 MASTER_SITES=	http://pigeonhole.dovecot.org/releases/${DOVECOTVERSION}/
 DISTNAME=	${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}
diff --git a/mail/dovecot-pigeonhole/distinfo b/mail/dovecot-pigeonhole/distinfo
index eaca6484f991..edd71cd52eef 100644
--- a/mail/dovecot-pigeonhole/distinfo
+++ b/mail/dovecot-pigeonhole/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1633296881
-SHA256 (dovecot-2.3-pigeonhole-0.5.16.tar.gz) = 5ca36780e23b99e6206440f1b3fe3c6598eda5b699b99cebb15d418ba3c6e938
-SIZE (dovecot-2.3-pigeonhole-0.5.16.tar.gz) = 1944573
+TIMESTAMP = 1635434850
+SHA256 (dovecot-2.3-pigeonhole-0.5.17.tar.gz) = 031e823966c53121e289b3ecdcfa4bc35ed9d22ecbf5d93a8eb140384e78d648
+SIZE (dovecot-2.3-pigeonhole-0.5.17.tar.gz) = 1951089
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile
index 01f9dc6f8c3f..4d907690e882 100644
--- a/mail/dovecot/Makefile
+++ b/mail/dovecot/Makefile
@@ -7,7 +7,7 @@
 ######################################################################
 
 PORTNAME=	dovecot
-PORTVERSION=	2.3.16
+PORTVERSION=	2.3.17
 CATEGORIES=	mail
 MASTER_SITES=	https://dovecot.org/releases/2.3/
 
diff --git a/mail/dovecot/distinfo b/mail/dovecot/distinfo
index c9fe87d4de31..e1a59de7ccf5 100644
--- a/mail/dovecot/distinfo
+++ b/mail/dovecot/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1633296844
-SHA256 (dovecot-2.3.16.tar.gz) = 03a71d53055bd9ec528d55e07afaf15c09dec9856cba734904bfd05acbc6cf12
-SIZE (dovecot-2.3.16.tar.gz) = 7650008
+TIMESTAMP = 1635434881
+SHA256 (dovecot-2.3.17.tar.gz) = 224412cd77a23a3ffb857da294da200883d956082cff7257942eff2789bd2df9
+SIZE (dovecot-2.3.17.tar.gz) = 7699294
diff --git a/mail/dovecot/pkg-plist b/mail/dovecot/pkg-plist
index a4a01ed8cbbf..05caef800458 100644
--- a/mail/dovecot/pkg-plist
+++ b/mail/dovecot/pkg-plist
@@ -444,6 +444,7 @@ include/dovecot/mailbox-list-private.h
 include/dovecot/mailbox-list-subscriptions.h
 include/dovecot/mailbox-list.h
 include/dovecot/mailbox-log.h
+include/dovecot/mailbox-match-plugin.h
 include/dovecot/mailbox-recent-flags.h
 include/dovecot/mailbox-search-result-private.h
 include/dovecot/mailbox-tree.h