Wed May 11 09:26:58 2022 UTC ()
dovecot2: updated to 2.3.19

v2.3.19

+ Added mail_user_session_finished event, which is emitted when the mail
  user session is finished (e.g. imap, pop3, lmtp). It also includes
  fields with some process statistics information.
  See https://doc.dovecot.org/admin_manual/list_of_events/ for more
  information.
+ Added process_shutdown_filter setting. When an event matches the filter,
  the process will be shutdown after the current connection(s) have
  finished. This is intended to reduce memory usage of long-running imap
  processes that keep a lot of memory allocated instead of freeing it to
  the OS.
+ auth: Add cache hit indicator to auth passdb/userdb finished events.
  See https://doc.dovecot.org/admin_manual/list_of_events/ for more
  information.
+ doveadm deduplicate: Performance is improved significantly.
+ imapc: COPY commands were sent one mail at a time to the remote IMAP
  server. Now the copying is buffered, so multiple mails can be copied
  with a single COPY command.
+ lib-lua: Add a Lua interface to Dovecot's HTTP client library. See
  https://doc.dovecot.org/admin_manual/lua/ for more information.
- auth: Cache lookup would use incorrect cache key after username change.
- auth: Improve handling unexpected LDAP connection errors/hangs.
  Try to fix up these cases by reconnecting to the LDAP server and
  aborting LDAP requests earlier.
- auth: Process crashed if userdb iteration was attempted while auth-workers
  were already full handling auth requests.
- auth: db-oauth2: Using %{oauth2:name} variables caused unnecessary
  introspection requests.
- dict: Timeouts may have been leaked at deinit.
- director: Ring may have become unstable if a backend's tag was changed.
  It could also have caused director process to crash.
- doveadm kick: Numeric parameter was treated as IP address.
- doveadm: Proxying can panic when flushing print output. Fixes
  Panic: file ioloop.c: line 865 (io_loop_destroy): assertion failed:
  (ioloop == current_ioloop).
- doveadm sync: BROKENCHAR was wrongly changed to '_' character when
  migrating mailboxes. This was set by default to %, so any mailbox
  names containing % characters were modified to "_25".
- imapc: Copying or moving mails with doveadm to an imapc mailbox could
  have produced "Error: Syncing mailbox '[...]' failed" Errors. The
  operation itself succeeded but attempting to sync the destination
  mailbox failed.
- imapc: Prevent index log synchronization errors when two or more imapc
  sessions are adding messages to the same mailbox index files, i.e.
  INDEX=MEMORY is not used.
- indexer: Process was slowly leaking memory for each indexing request.
- lib-fts: fts header filters caused binary content to be sent to the
  indexer with non-default configuration.
- doveadm-server: Process could hang in some situations when printing
  output to TCP client, e.g. when printing doveadm sync state.
- lib-index: dovecot.index.log files were often read and parsed entirely,
  rather than only the parts that were actually necessary. This mainly
  increased CPU usage.
- lmtp-proxy: Session ID forwarding would cause same session IDs being
  used when delivering same mail to multiple backends.
- log: Log prefix update may have been lost if log process was busy.
  This could have caused log prefixes to be empty or in some cases
  reused between sessions, i.e. log lines could have been logged for the
  wrong user/session.
- mail_crypt: Plugin crashes if it's loaded only for some users. Fixes
  Panic: Module context mail_crypt_user_module missing.
- mail_crypt: When LMTP was delivering mails to both recipients with mail
  encryption enabled and not enabled, the non-encrypted recipients may
  have gotten mails encrypted anyway. This happened when the first
  recipient was encrypted (mail_crypt_save_version=2) and the 2nd
  recipient was not encrypted (mail_crypt_save_version=0).
- pop3: Session would crash if empty line was sent.
- stats: HTTP server leaked memory.
- submission-login: Long credentials, such as OAUTH2 tokens, were refused
  during SASL interactive due to submission server applying line length
  limits.
- submission-login: When proxying to remote host, authentication was not
  using interactive SASL when logging in using long credentials such as
  OAUTH2 tokens. This caused authentication to fail due to line length
  constraints in SMTP protocol.
- submission: Terminating the client connection with QUIT command after
  mail transaction is started with MAIL command and before it is
  finished with DATA/BDAT can cause a segfault crash.
- virtual: doveadm search queries with mailbox-guid as the only parameter
  crashes: Panic: file virtual-search.c: line 77 (virtual_search_get_records):
  assertion failed: (result != 0)


(adam)
diff -r1.48 -r1.49 pkgsrc/mail/dovecot2/Makefile.common
diff -r1.75 -r1.76 pkgsrc/mail/dovecot2/PLIST
diff -r1.117 -r1.118 pkgsrc/mail/dovecot2/distinfo
diff -r1.29 -r1.30 pkgsrc/mail/dovecot2-sqlite/Makefile

cvs diff -r1.48 -r1.49 pkgsrc/mail/dovecot2/Makefile.common (expand / switch to unified diff)

--- pkgsrc/mail/dovecot2/Makefile.common 2022/02/03 21:02:04 1.48
+++ pkgsrc/mail/dovecot2/Makefile.common 2022/05/11 09:26:57 1.49
@@ -1,27 +1,27 @@ @@ -1,27 +1,27 @@
1# $NetBSD: Makefile.common,v 1.48 2022/02/03 21:02:04 adam Exp $ 1# $NetBSD: Makefile.common,v 1.49 2022/05/11 09:26:57 adam Exp $
2# 2#
3# when updating to a new release, update ABI depends in 3# when updating to a new release, update ABI depends in
4# the buildlink3.mk file as well, since the plugins' version 4# the buildlink3.mk file as well, since the plugins' version
5# must match (see PR 49563). 5# must match (see PR 49563).
6# 6#
7# used by mail/dovecot2/Makefile 7# used by mail/dovecot2/Makefile
8# used by mail/dovecot2-gssapi/Makefile 8# used by mail/dovecot2-gssapi/Makefile
9# used by mail/dovecot2-ldap/Makefile 9# used by mail/dovecot2-ldap/Makefile
10# used by mail/dovecot2-mysql/Makefile 10# used by mail/dovecot2-mysql/Makefile
11# used by mail/dovecot2-pgsql/Makefile 11# used by mail/dovecot2-pgsql/Makefile
12# used by mail/dovecot2-sqlite/Makefile 12# used by mail/dovecot2-sqlite/Makefile
13 13
14DISTNAME= dovecot-2.3.18 14DISTNAME= dovecot-2.3.19
15CATEGORIES= mail 15CATEGORIES= mail
16MASTER_SITES= https://dovecot.org/releases/${PKGVERSION_NOREV:R}/ 16MASTER_SITES= https://dovecot.org/releases/${PKGVERSION_NOREV:R}/
17 17
18MAINTAINER= adam@NetBSD.org 18MAINTAINER= adam@NetBSD.org
19HOMEPAGE= https://www.dovecot.org/ 19HOMEPAGE= https://www.dovecot.org/
20COMMENT= Secure IMAP and POP3 server 20COMMENT= Secure IMAP and POP3 server
21LICENSE= mit AND gnu-lgpl-v2.1 AND modified-bsd 21LICENSE= mit AND gnu-lgpl-v2.1 AND modified-bsd
22 22
23DISTINFO_FILE= ${.CURDIR}/../../mail/dovecot2/distinfo 23DISTINFO_FILE= ${.CURDIR}/../../mail/dovecot2/distinfo
24PATCHDIR= ${.CURDIR}/../../mail/dovecot2/patches 24PATCHDIR= ${.CURDIR}/../../mail/dovecot2/patches
25 25
26USE_LIBTOOL= yes 26USE_LIBTOOL= yes
27USE_TOOLS+= gmake pkg-config rpcgen bash:run 27USE_TOOLS+= gmake pkg-config rpcgen bash:run

cvs diff -r1.75 -r1.76 pkgsrc/mail/dovecot2/PLIST (expand / switch to unified diff)

--- pkgsrc/mail/dovecot2/PLIST 2021/12/21 17:28:51 1.75
+++ pkgsrc/mail/dovecot2/PLIST 2022/05/11 09:26:57 1.76
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.75 2021/12/21 17:28:51 adam Exp $ 1@comment $NetBSD: PLIST,v 1.76 2022/05/11 09:26:57 adam Exp $
2bin/doveadm 2bin/doveadm
3bin/doveconf 3bin/doveconf
4bin/dovecot-sysreport 4bin/dovecot-sysreport
5bin/dsync 5bin/dsync
6include/dovecot/access-lookup.h 6include/dovecot/access-lookup.h
7include/dovecot/acl-api-private.h 7include/dovecot/acl-api-private.h
8include/dovecot/acl-api.h 8include/dovecot/acl-api.h
9include/dovecot/acl-cache.h 9include/dovecot/acl-cache.h
10include/dovecot/acl-global-file.h 10include/dovecot/acl-global-file.h
11include/dovecot/acl-lookup-dict.h 11include/dovecot/acl-lookup-dict.h
12include/dovecot/acl-plugin.h 12include/dovecot/acl-plugin.h
13include/dovecot/acl-storage.h 13include/dovecot/acl-storage.h
14include/dovecot/anvil-client.h 14include/dovecot/anvil-client.h
@@ -466,26 +466,27 @@ include/dovecot/path-util.h @@ -466,26 +466,27 @@ include/dovecot/path-util.h
466include/dovecot/pkcs5.h 466include/dovecot/pkcs5.h
467include/dovecot/pop3-capability.h 467include/dovecot/pop3-capability.h
468include/dovecot/pop3-client.h 468include/dovecot/pop3-client.h
469include/dovecot/pop3-commands.h 469include/dovecot/pop3-commands.h
470include/dovecot/pop3-common.h 470include/dovecot/pop3-common.h
471include/dovecot/pop3-settings.h 471include/dovecot/pop3-settings.h
472include/dovecot/pop3c-client.h 472include/dovecot/pop3c-client.h
473include/dovecot/pop3c-settings.h 473include/dovecot/pop3c-settings.h
474include/dovecot/pop3c-storage.h 474include/dovecot/pop3c-storage.h
475include/dovecot/pop3c-sync.h 475include/dovecot/pop3c-sync.h
476include/dovecot/primes.h 476include/dovecot/primes.h
477include/dovecot/printf-format-fix.h 477include/dovecot/printf-format-fix.h
478include/dovecot/priorityq.h 478include/dovecot/priorityq.h
 479include/dovecot/process-stat.h
479include/dovecot/process-title.h 480include/dovecot/process-title.h
480include/dovecot/program-client.h 481include/dovecot/program-client.h
481include/dovecot/push-notification-drivers.h 482include/dovecot/push-notification-drivers.h
482include/dovecot/push-notification-event-flagsclear.h 483include/dovecot/push-notification-event-flagsclear.h
483include/dovecot/push-notification-event-flagsset.h 484include/dovecot/push-notification-event-flagsset.h
484include/dovecot/push-notification-event-mailboxcreate.h 485include/dovecot/push-notification-event-mailboxcreate.h
485include/dovecot/push-notification-event-mailboxdelete.h 486include/dovecot/push-notification-event-mailboxdelete.h
486include/dovecot/push-notification-event-mailboxrename.h 487include/dovecot/push-notification-event-mailboxrename.h
487include/dovecot/push-notification-event-mailboxsubscribe.h 488include/dovecot/push-notification-event-mailboxsubscribe.h
488include/dovecot/push-notification-event-mailboxunsubscribe.h 489include/dovecot/push-notification-event-mailboxunsubscribe.h
489include/dovecot/push-notification-event-message-common.h 490include/dovecot/push-notification-event-message-common.h
490include/dovecot/push-notification-event-messageappend.h 491include/dovecot/push-notification-event-messageappend.h
491include/dovecot/push-notification-event-messageexpunge.h 492include/dovecot/push-notification-event-messageexpunge.h
@@ -512,26 +513,27 @@ include/dovecot/read-full.h @@ -512,26 +513,27 @@ include/dovecot/read-full.h
512include/dovecot/restrict-access.h 513include/dovecot/restrict-access.h
513include/dovecot/restrict-process-size.h 514include/dovecot/restrict-process-size.h
514include/dovecot/rfc2231-parser.h 515include/dovecot/rfc2231-parser.h
515include/dovecot/rfc822-parser.h 516include/dovecot/rfc822-parser.h
516include/dovecot/safe-memset.h 517include/dovecot/safe-memset.h
517include/dovecot/safe-mkdir.h 518include/dovecot/safe-mkdir.h
518include/dovecot/safe-mkstemp.h 519include/dovecot/safe-mkstemp.h
519include/dovecot/sasl-server.h 520include/dovecot/sasl-server.h
520include/dovecot/sdbox-file.h 521include/dovecot/sdbox-file.h
521include/dovecot/sdbox-storage.h 522include/dovecot/sdbox-storage.h
522include/dovecot/sdbox-sync.h 523include/dovecot/sdbox-sync.h
523include/dovecot/sendfile-util.h 524include/dovecot/sendfile-util.h
524include/dovecot/seq-range-array.h 525include/dovecot/seq-range-array.h
 526include/dovecot/seq-set-builder.h
525include/dovecot/service-settings.h 527include/dovecot/service-settings.h
526include/dovecot/settings-parser.h 528include/dovecot/settings-parser.h
527include/dovecot/settings.h 529include/dovecot/settings.h
528include/dovecot/sha-common.h 530include/dovecot/sha-common.h
529include/dovecot/sha1.h 531include/dovecot/sha1.h
530include/dovecot/sha2.h 532include/dovecot/sha2.h
531include/dovecot/sha3.h 533include/dovecot/sha3.h
532include/dovecot/shared-storage.h 534include/dovecot/shared-storage.h
533include/dovecot/sleep.h 535include/dovecot/sleep.h
534include/dovecot/smtp-address.h 536include/dovecot/smtp-address.h
535include/dovecot/smtp-client-command.h 537include/dovecot/smtp-client-command.h
536include/dovecot/smtp-client-connection.h 538include/dovecot/smtp-client-connection.h
537include/dovecot/smtp-client-private.h 539include/dovecot/smtp-client-private.h

cvs diff -r1.117 -r1.118 pkgsrc/mail/dovecot2/distinfo (expand / switch to unified diff)

--- pkgsrc/mail/dovecot2/distinfo 2022/02/03 21:02:04 1.117
+++ pkgsrc/mail/dovecot2/distinfo 2022/05/11 09:26:57 1.118
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1$NetBSD: distinfo,v 1.117 2022/02/03 21:02:04 adam Exp $ 1$NetBSD: distinfo,v 1.118 2022/05/11 09:26:57 adam Exp $
2 2
3BLAKE2s (dovecot-2.3.18.tar.gz) = 3d840ea7a1370eaa5cb00c52704f472c81b811ec0fa7ec7411cfc60703fe6004 3BLAKE2s (dovecot-2.3.19.tar.gz) = f2e4c7ddb77e3e604c255b904208d50c6cc7b9bde68a3b3d94c894cc8937e01f
4SHA512 (dovecot-2.3.18.tar.gz) = b5eccf790a3960614876f122efb6296fe49ab7c523b08c10347fd4d10ed293fbd327279511c227b420f7c0786975186157eaa0fb5cd3aab1f3be9a4c5c3ad233 4SHA512 (dovecot-2.3.19.tar.gz) = a61ce88b53c4f24faddf4951f16cb75dfe52aa7057d072c727566a7c9a683cc487d26cea9a83ad8aca161a053949d2f2196ba6a58015e3d33be897094aabf887
5Size (dovecot-2.3.18.tar.gz) = 7763230 bytes 5Size (dovecot-2.3.19.tar.gz) = 7790661 bytes
6SHA1 (patch-aa) = 3af01aa4a8cea1a3fb840b6243a744de77069611 6SHA1 (patch-aa) = 3af01aa4a8cea1a3fb840b6243a744de77069611
7SHA1 (patch-ab) = 685ab3d0e21515bf157e9897ebdebf484f0ece96 7SHA1 (patch-ab) = 685ab3d0e21515bf157e9897ebdebf484f0ece96
8SHA1 (patch-ae) = c1e76d75fab4b13d3b9b33af800bac18c90989da 8SHA1 (patch-ae) = c1e76d75fab4b13d3b9b33af800bac18c90989da
9SHA1 (patch-af) = 15aa10e75845ef258cd6934b8209a7744eb5aa4c 9SHA1 (patch-af) = 15aa10e75845ef258cd6934b8209a7744eb5aa4c
10SHA1 (patch-src_imap_imap-client.h) = 1a2bf95ab6af57d88862a1512624bf263f4c2ce7 10SHA1 (patch-src_imap_imap-client.h) = 1a2bf95ab6af57d88862a1512624bf263f4c2ce7
11SHA1 (patch-src_lib-ldap_ldap-private.h) = 2d5ce32330ad4164cc75f8d209ba499d37ed01fc 11SHA1 (patch-src_lib-ldap_ldap-private.h) = 2d5ce32330ad4164cc75f8d209ba499d37ed01fc
12SHA1 (patch-src_lib_connection.h) = c147511f4ff50e4b5a048c3a363f0af90ee4c6ad 12SHA1 (patch-src_lib_connection.h) = c147511f4ff50e4b5a048c3a363f0af90ee4c6ad
13SHA1 (patch-src_lib_test-file-cache.c) = 7eb5cf9d3a44be141ab1597b270f20bf36547b6c 13SHA1 (patch-src_lib_test-file-cache.c) = 7eb5cf9d3a44be141ab1597b270f20bf36547b6c
14SHA1 (patch-src_old-stats_mail-stats.h) = 0d40c618445c089af2646a6864c3e909812282af 14SHA1 (patch-src_old-stats_mail-stats.h) = 0d40c618445c089af2646a6864c3e909812282af

cvs diff -r1.29 -r1.30 pkgsrc/mail/dovecot2-sqlite/Makefile (expand / switch to unified diff)

--- pkgsrc/mail/dovecot2-sqlite/Makefile 2022/04/18 19:11:33 1.29
+++ pkgsrc/mail/dovecot2-sqlite/Makefile 2022/05/11 09:26:57 1.30
@@ -1,16 +1,15 @@ @@ -1,16 +1,15 @@
1# $NetBSD: Makefile,v 1.29 2022/04/18 19:11:33 adam Exp $ 1# $NetBSD: Makefile,v 1.30 2022/05/11 09:26:57 adam Exp $
2 2
3PKGREVISION= 2 
4.include "../../mail/dovecot2/Makefile.common" 3.include "../../mail/dovecot2/Makefile.common"
5 4
6PKGNAME= ${DISTNAME:S/dovecot/dovecot-sqlite/} 5PKGNAME= ${DISTNAME:S/dovecot/dovecot-sqlite/}
7COMMENT+= (SQLite plugin) 6COMMENT+= (SQLite plugin)
8 7
9CONFIGURE_ARGS+= --with-sql=plugin 8CONFIGURE_ARGS+= --with-sql=plugin
10CONFIGURE_ARGS+= --with-sqlite 9CONFIGURE_ARGS+= --with-sqlite
11 10
12INSTALLATION_DIRS+= lib/dovecot/auth lib/dovecot/dict 11INSTALLATION_DIRS+= lib/dovecot/auth lib/dovecot/dict
13 12
14do-install: 13do-install:
15 cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_LIB} \ 14 cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_LIB} \
16 src/lib-sql/libdriver_sqlite.la \ 15 src/lib-sql/libdriver_sqlite.la \