diff options
author | adam <adam@pkgsrc.org> | 2020-03-15 22:52:04 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-03-15 22:52:04 +0000 |
commit | 95b0be64465faac704e7a04ba377fdc7e5871367 (patch) | |
tree | ba6889ed6fda9fbf870c7b4b11bf3b617dbbacf1 /mail/dovecot2 | |
parent | af82ffe69826c7b5652abe4a9256729de000b25e (diff) | |
download | pkgsrc-95b0be64465faac704e7a04ba377fdc7e5871367.tar.gz |
dovecot2: updated to 2.3.10
v2.3.10
* Disable retpoline migitations by default. These can cause severe
performance regressions, so they should be only enabled when
applicable.
* IMAP MOVE now commits transactions in batches of 1000 mails. This
helps especially with lazy_expunge when moving a lot of mails. It
mainly avoids situations where multiple IMAP sessions are running the
same MOVE command and duplicating the mails in the lazy_expunge folder.
With this change there can still be some duplication, but the MOVE
always progresses forward. Also if the MOVE fails at some point, the
changes up to the last 1000 mails are still committed instead of
rolled back. Note that the COPY command behavior hasn't changed,
because it is required by IMAP standard to be an atomic operation.
* IMAP EXPUNGE and CLOSE now expunges mails in batches of 1000 mails.
This helps especially with lazy_expunge when expunging a lot of mails
(e.g. millions) to make sure that the progress always moves forward
even if the process is killed.
* Autoexpunging now expunges mails in batches of 1000 mails. This helps
especially with lazy_expunge when expunging a lot of mails
(e.g. millions) to make sure that the progress always moves forward
even if the process is killed.
+ Add tool for generating sysreport called dovecot-sysreport.
This generates a bundle of information usually needed for support
requests.
+ Add support for the new IMAP \Important SPECIAL-USE flag (RFC 8457).
+ Add metric { group_by } setting. This allows automatically creating
new metrics based on the fields you want to group statistics by.
NOTE: This feature is considered experimental and syntax is subject
to change in future release.
+ auth: Support SCRAM-SHA-256 authentication mechanism.
+ imap: Support the new IMAP STATUS=SIZE extension.
+ Use TCP_QUICKACK to reduce latency for some TCP connections.
+ quota-status: Made the service more robust against erroneous use with
Postfix ACL policies other than smtpd_recipient_restrictions.
+ Add "revision" field support to imap_id_send setting. Using
"revision *" will send in IMAP ID command response the short commit
hash of the Dovecot git source tree HEAD (same as in dovecot --version).
+ IMAP ENVELOPE includes now all addresses when there are multiple
headers (From, To, Cc, etc.) The standard way of having multiple
addresses is to just list them all in a single header. It's
non-standard to have multiple headers. However, since MTAs allow these
mails to pass through and different software may handle them in
different ways, it's better from security point of view to show all
the addresses.
+ Event filters now support using "field_name=" to match a field that
doesn't exist or has an empty value. For example use "error=" to match
only events that didn't fail.
- acl: INBOX ACLs shouldn't apply for IMAP GETMETADATA/SETMETADATA
commands.
- cassandra: CASS_ERROR_SERVER_WRITE_FAILURE error should also be
treated as "uncertain write failure".
- dict-redis: Using quota_clone configured with dict-redis could have
crashed when Redis responded slowly.
- imap-hibernate: Communication trouble with imap-master leads to
segfault.
- imap-hibernate: Unhibernation retrying wasn't working.
- imap: Fixed auth lookup privilege problem when imap process was reused
and user was being un-hibernated.
- Fix potential crash when copying/moving mails within the same folder.
This happened only when there were a lot of fields in dovecot.index.cache.
- lib-index: Recreating dovecot.index.cache file could have crashed when
merging bitmask fields.
- lib-index: Using public/shared folders with INDEXPVT configured to use
private \Seen flags, trying to search seen/unseen in an empty folder
crashes with segfault.
- lib-mail: Large base64-encoded mails weren't decoded properly.
This could have affected searching/indexing mails and message snippet
generation.
- lib-mail: Message with only quoted text could have caused message
snippet to ignore its 200 character limit and return the entire
message. This was added also to dovecot.index.cache file, which
increased disk space and memory usage unnecessarily.
v2.3.9.2 regression (previous versions cached the quoted snippet as
empty). In a large mail quoted text could have become wrongly added
to the snippet, possibly mixed together with non-quoted text.
- lib-smtp: client could have assert-crashed if STARTTLS handshake
finished earlier than usually.
- lib-ssl-iostream: remove -static flag for lib-ssl-iostream linking to
prevent a compile issue.
- lib-storage: Mailbox synchronization may have assert-crashed in some
rare situations.
- lib-storage: mdbox didn't preserve date.saved with dsync.
- lib: Don't require EAI_{ADDRFAMILY,NODATA}, breaks FreeBSD
- master: Some services could respawn unthrottled if they crash during
startup.
- push-notification: Do not send push_notification_finished event if
nothing was done. This happens when mail transaction is started and
ended with no changes.
- quota-status: Addresses with special characters in the local part caused
problems in the interaction between Postfix and Dovecot. Postfix sent
its own internal representation in the recipient field, while Dovecot
expected a valid RFC5321 mailbox address.
- submission-login: SESSION was not correctly encoded field for the
XCLIENT command. Particularly, a '+' character introduced by the
session ID's Base64 encoding causes problems.
- submission: Fix submission_max_mail_size to work correctly on 32-bit
systems.
- submission: Trusted connections crashed in second connection's EHLO
if submission-login { service_count } is something else than 1 (which
is the default).
- submission: XCLIENT command was never used in the protocol exchange
with the relay MTA when submission_backend_capabilities is configured,
even when the relay MTA was properly configured to accept the XCLIENT
command.
Diffstat (limited to 'mail/dovecot2')
-rw-r--r-- | mail/dovecot2/Makefile | 5 | ||||
-rw-r--r-- | mail/dovecot2/Makefile.common | 10 | ||||
-rw-r--r-- | mail/dovecot2/PLIST | 5 | ||||
-rw-r--r-- | mail/dovecot2/distinfo | 10 |
4 files changed, 15 insertions, 15 deletions
diff --git a/mail/dovecot2/Makefile b/mail/dovecot2/Makefile index 52a7e8744d6..c7acc3430c1 100644 --- a/mail/dovecot2/Makefile +++ b/mail/dovecot2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.103 2020/02/12 14:01:59 taca Exp $ +# $NetBSD: Makefile,v 1.104 2020/03/15 22:52:04 adam Exp $ .include "../../mail/dovecot2/Makefile.common" @@ -32,7 +32,8 @@ INSTALLATION_DIRS+= share/examples/dovecot share/examples/dovecot/conf.d OWN_DIRS= ${PKG_SYSCONFDIR}/dovecot/ OWN_DIRS+= ${PKG_SYSCONFDIR}/dovecot/conf.d -REPLACE_BASH= src/util/health-check.sh +REPLACE_BASH+= src/util/dovecot-sysreport +REPLACE_BASH+= src/util/health-check.sh post-install: ${INSTALL_DATA} ${WRKSRC}/doc/dovecot-openssl.cnf ${DESTDIR}${EGDIR} diff --git a/mail/dovecot2/Makefile.common b/mail/dovecot2/Makefile.common index 26664c36b9e..fdc772d9ddb 100644 --- a/mail/dovecot2/Makefile.common +++ b/mail/dovecot2/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.38 2020/02/12 14:01:59 taca Exp $ +# $NetBSD: Makefile.common,v 1.39 2020/03/15 22:52:04 adam Exp $ # # when updating to a new release, update ABI depends in # the buildlink3.mk file as well, since the plugins' version @@ -11,9 +11,9 @@ # used by mail/dovecot2-pgsql/Makefile # used by mail/dovecot2-sqlite/Makefile -DISTNAME= dovecot-2.3.9.3 +DISTNAME= dovecot-2.3.10 CATEGORIES= mail -MASTER_SITES= https://dovecot.org/releases/${PKGVERSION_NOREV:R:R}/ +MASTER_SITES= https://dovecot.org/releases/${PKGVERSION_NOREV:R}/ MAINTAINER= adam@NetBSD.org HOMEPAGE= https://www.dovecot.org/ @@ -54,10 +54,6 @@ TEST_TARGET= check CONFIGURE_ARGS.SunOS+= --with-ioloop=poll CONFIGURE_ARGS.SunOS+= --with-notify=none -# Sharing sources between binary and lib triggers libtool bugs -# mv: rename .deps/auth-stats.Tpo to .deps/auth-stats.Po: No such file or directory -#MAKE_JOBS_SAFE= no - .include "options.mk" .include "../../archivers/bzip2/buildlink3.mk" diff --git a/mail/dovecot2/PLIST b/mail/dovecot2/PLIST index 8d15f8b857f..94c2e054228 100644 --- a/mail/dovecot2/PLIST +++ b/mail/dovecot2/PLIST @@ -1,6 +1,7 @@ -@comment $NetBSD: PLIST,v 1.68 2019/12/05 09:34:06 adam Exp $ +@comment $NetBSD: PLIST,v 1.69 2020/03/15 22:52:04 adam Exp $ bin/doveadm bin/doveconf +bin/dovecot-sysreport bin/dsync include/dovecot/access-lookup.h include/dovecot/acl-api-private.h @@ -404,6 +405,7 @@ include/dovecot/mdbox-storage.h include/dovecot/mdbox-sync.h include/dovecot/mech-otp-skey-common.h include/dovecot/mech-plain-common.h +include/dovecot/mech-scram.h include/dovecot/mech.h include/dovecot/memarea.h include/dovecot/mempool.h @@ -722,6 +724,7 @@ man/man1/doveadm-who.1 man/man1/doveadm.1 man/man1/doveconf.1 man/man1/dovecot-lda.1 +man/man1/dovecot-sysreport.1 man/man1/dovecot.1 man/man1/dsync.1 man/man7/doveadm-search-query.7 diff --git a/mail/dovecot2/distinfo b/mail/dovecot2/distinfo index e2d131491f3..302d09b53d0 100644 --- a/mail/dovecot2/distinfo +++ b/mail/dovecot2/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.102 2020/02/12 14:01:59 taca Exp $ +$NetBSD: distinfo,v 1.103 2020/03/15 22:52:04 adam Exp $ -SHA1 (dovecot-2.3.9.3.tar.gz) = b1ab4fc2dcb6f4854b6f0cab535e35ac0bb977f5 -RMD160 (dovecot-2.3.9.3.tar.gz) = 970d17c225e1cd480b9cf7ab0420cd12f44852a5 -SHA512 (dovecot-2.3.9.3.tar.gz) = e39dc825a03f009928b67d01747bb70487fbec155e6be5109037db67b78301aa761db432f7355e96d927abf30c68f0116a5f2cf518b9eebf7f5c7806ac00ae41 -Size (dovecot-2.3.9.3.tar.gz) = 7181682 bytes +SHA1 (dovecot-2.3.10.tar.gz) = cf0d572b640bec519c3c771716d0b32148dc2bd4 +RMD160 (dovecot-2.3.10.tar.gz) = c4892cc02b7a414a23a03c6adb03acc115c0796b +SHA512 (dovecot-2.3.10.tar.gz) = 73e10d7d1e616d6599eb53f2d2d1ac0f0f2e6e84019faac5cd525e833da44839a7e483635b61d432e3254a9e5f6f90915bec8940c584210341085241949dffa2 +Size (dovecot-2.3.10.tar.gz) = 7222241 bytes SHA1 (patch-aa) = 3af01aa4a8cea1a3fb840b6243a744de77069611 SHA1 (patch-ab) = 9db15fd853ba47ef4bf04f2adc9ab24f71ee4d1e SHA1 (patch-ae) = c795585df9f415ceabb28eec1ff691ee26168d3b |