From 0b1c20be8e1abb336fbfa1cb5dd1b64a7656812d Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 18 Mar 2017 07:14:46 +0000 Subject: Changes 2.2.28: * director: "doveadm director move" to same host now refreshes user's timeout. This allows keeping user constantly in the same backend by just periodically moving the user there. * When new mailbox is created, use initially INBOX's dovecot.index.cache caching decisions. * Expunging mails writes GUID to dovecot.index.log now only if the GUID is quickly available from index/cache. * pop3c: Increase timeout for PASS command to 5 minutes. * Mail access errors are no longer ignored when searching or sorting. With IMAP the untagged SEARCH/SORT reply is still sent the same as before, but NO reply is returned instead of OK. + Make dovecot.list.index's filename configurable. This is needed when there are multiple namespaces pointing to the same mail root (e.g. lazy_expunge namespace for mdbox). + Add size.virtual to dovecot.index when folder vsizes are accessed (e.g. quota=count). This is mainly a workaround to avoid slow quota recalculation performance when message sizes get lost from dovecot.index.cache due to corruption or some other reason. + auth: Support OAUTHBEARER and XOAUTH2 mechanisms. Also support them in lib-dsasl for client side. + auth: Support filtering by SASL mechanism: passdb { mechanisms } + Shrink the mail processes' memory usage by not storing settings duplicated unnecessarily many times. + imap: Add imap_fetch_failure setting to control what happens when FETCH fails for some mails (see example-config). + imap: Include info about last command in disconnection log line. + imap: Created new SEARCH=X-MIMEPART extension. It's currently not advertised by default, since it's not fully implemented. + fts-solr: Add support for basic authentication. + Cassandra: Support automatically retrying failed queries if execution_retry_interval and execution_retry_times are set. + doveadm: Added "mailbox path" command. + mail_log plugin: If plugin { mail_log_cached_only=yes }, log the wanted fields only if it doesn't require opening the email. + mail_vsize_bg_after_count setting added (see example-config). + mail_sort_max_read_count setting added (see example-config). + pop3c: Added pop3c_features=no-pipelining setting to prevent using PIPELINING extension even though it's advertised. - Index files: day_first_uid wasn't updated correctly since v2.2.26. This caused dovecot.index.cache to be non-optimal. - imap: SEARCH/SORT may have assert-crashed in client_check_command_hangs - imap: FETCH X-MAILBOX may have assert-crashed in virtual mailboxes. - imap: Running time in tagged command reply was often wrongly 0. - search: Using NOT n:* or NOT UID n:* wasn't handled correctly - director: doveadm director kick was broken - director: Fix crash when using director_flush_socket - director: Fix some bugs when moving users between backends - imapc: Various error handling fixes and improvements - master: doveadm process status output had a lot of duplicates. - autoexpunge: If mailbox's rename timestamp is newer than mail's save-timestamp, use it instead. This is useful when autoexpunging e.g. Trash/* and an entire mailbox is deleted by renaming it under Trash to prevent it from being autoexpunged too early. - autoexpunge: Multiple processes may have been trying to expunge the same mails simultaneously. This was problematic especially with lazy_expunge plugin. - auth: %{passdb:*} was empty in auth-worker processes - auth-policy: hashed_password was always sent empty. - dict-sql: Merge multiple UPDATEs to a single statement if possible. - fts-solr: Escape {} chars when sending queries - fts: fts_autoindex_exclude = \Special-use caused crashes - doveadm-server: Fix leaks and other problems when process is reused for multiple requests (service_count != 1) - sdbox: Fix assert-crash on mailbox create race - lda/lmtp: deliver_log_format values weren't entirely correct if Sieve was used. especially %{storage_id} was broken. - lmtp_user_concurrency_limit didn't work if userdb changed username --- mail/dovecot2-pgsql/Makefile | 4 +--- mail/dovecot2/Makefile.common | 4 ++-- mail/dovecot2/PLIST | 12 +++++++++++- mail/dovecot2/buildlink3.mk | 4 ++-- mail/dovecot2/distinfo | 10 +++++----- 5 files changed, 21 insertions(+), 13 deletions(-) diff --git a/mail/dovecot2-pgsql/Makefile b/mail/dovecot2-pgsql/Makefile index 8ee62653644..4cfcbce83ac 100644 --- a/mail/dovecot2-pgsql/Makefile +++ b/mail/dovecot2-pgsql/Makefile @@ -1,7 +1,5 @@ -# $NetBSD: Makefile,v 1.2 2016/10/09 21:42:00 wiz Exp $ -# +# $NetBSD: Makefile,v 1.3 2017/03/18 07:14:47 adam Exp $ -PKGREVISION= 1 .include "../../mail/dovecot2/Makefile.plugin" PKGNAME= ${DISTNAME:S/dovecot/dovecot-pgsql/} diff --git a/mail/dovecot2/Makefile.common b/mail/dovecot2/Makefile.common index e5613391948..b0b25789b87 100644 --- a/mail/dovecot2/Makefile.common +++ b/mail/dovecot2/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.4 2016/12/14 15:48:09 adam Exp $ +# $NetBSD: Makefile.common,v 1.5 2017/03/18 07:14:46 adam Exp $ # # when updating to a new release, update ABI depends in # the buildlink3.mk file as well, since the plugins' version @@ -9,7 +9,7 @@ # used by mail/dovecot2-mysql/Makefile # used by mail/dovecot2-pgsql/Makefile -DISTNAME= dovecot-2.2.27 +DISTNAME= dovecot-2.2.28 CATEGORIES= mail MASTER_SITES= http://www.dovecot.org/releases/${PKGVERSION_NOREV:R}/ diff --git a/mail/dovecot2/PLIST b/mail/dovecot2/PLIST index 7905fde087d..dcf9ca3eb58 100644 --- a/mail/dovecot2/PLIST +++ b/mail/dovecot2/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.51 2016/12/14 15:48:09 adam Exp $ +@comment $NetBSD: PLIST,v 1.52 2017/03/18 07:14:46 adam Exp $ bin/doveadm bin/doveconf bin/dsync @@ -64,6 +64,7 @@ include/dovecot/data-stack.h include/dovecot/db-checkpassword.h include/dovecot/db-dict.h include/dovecot/db-ldap.h +include/dovecot/db-oauth2.h include/dovecot/db-passwd-file.h include/dovecot/db-sql.h include/dovecot/dbox-attachment.h @@ -310,6 +311,9 @@ include/dovecot/mail-index-view-private.h include/dovecot/mail-index.h include/dovecot/mail-namespace.h include/dovecot/mail-search-build.h +include/dovecot/mail-search-mime-build.h +include/dovecot/mail-search-mime-register.h +include/dovecot/mail-search-mime.h include/dovecot/mail-search-parser-private.h include/dovecot/mail-search-parser.h include/dovecot/mail-search-register.h @@ -356,6 +360,7 @@ include/dovecot/maildir-settings.h include/dovecot/maildir-storage.h include/dovecot/maildir-sync.h include/dovecot/maildir-uidlist.h +include/dovecot/malloc-overflow.h include/dovecot/master-auth.h include/dovecot/master-instance.h include/dovecot/master-interface.h @@ -397,6 +402,7 @@ include/dovecot/message-header-hash.h include/dovecot/message-header-parser.h include/dovecot/message-id.h include/dovecot/message-parser.h +include/dovecot/message-part-data.h include/dovecot/message-part-serialize.h include/dovecot/message-part.h include/dovecot/message-search.h @@ -414,6 +420,7 @@ include/dovecot/nfs-workarounds.h include/dovecot/notify-plugin-private.h include/dovecot/notify-plugin.h include/dovecot/numpack.h +include/dovecot/oauth2.h include/dovecot/ostream-cmp.h include/dovecot/ostream-dot.h include/dovecot/ostream-encrypt.h @@ -717,6 +724,7 @@ share/doc/dovecot/wiki/Design.AuthProcess.txt share/doc/dovecot/wiki/Design.AuthProtocol.txt share/doc/dovecot/wiki/Design.Buffers.txt share/doc/dovecot/wiki/Design.Code.txt +share/doc/dovecot/wiki/Design.Dcrypt.txt share/doc/dovecot/wiki/Design.DoveadmProtocol.HTTP.txt share/doc/dovecot/wiki/Design.DoveadmProtocol.txt share/doc/dovecot/wiki/Design.Dsync.txt @@ -753,6 +761,7 @@ share/doc/dovecot/wiki/Errors.ChgrpNoPerm.txt share/doc/dovecot/wiki/FindMailLocation.txt share/doc/dovecot/wiki/FinishBasicConfiguration.txt share/doc/dovecot/wiki/HAProxy.txt +share/doc/dovecot/wiki/HowTo.AntispamWithSieve.txt share/doc/dovecot/wiki/HowTo.EximAndDovecotSASL.txt share/doc/dovecot/wiki/HowTo.ImapcProxy.txt share/doc/dovecot/wiki/HowTo.PopBSMTPAndDovecot.txt @@ -826,6 +835,7 @@ share/doc/dovecot/wiki/PasswordDatabase.IMAP.txt share/doc/dovecot/wiki/PasswordDatabase.PAM.txt share/doc/dovecot/wiki/PasswordDatabase.Shadow.txt share/doc/dovecot/wiki/PasswordDatabase.Static.txt +share/doc/dovecot/wiki/PasswordDatabase.oauth2.txt share/doc/dovecot/wiki/PasswordDatabase.txt share/doc/dovecot/wiki/PerformanceTuning.txt share/doc/dovecot/wiki/Pigeonhole.Installation.txt diff --git a/mail/dovecot2/buildlink3.mk b/mail/dovecot2/buildlink3.mk index 8d848775c3f..bc187e21ee7 100644 --- a/mail/dovecot2/buildlink3.mk +++ b/mail/dovecot2/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.20 2016/12/14 15:48:09 adam Exp $ +# $NetBSD: buildlink3.mk,v 1.21 2017/03/18 07:14:46 adam Exp $ BUILDLINK_TREE+= dovecot @@ -7,7 +7,7 @@ DOVECOT_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.dovecot+= dovecot>=2.2.0 # must match current package version for plugins to load -BUILDLINK_ABI_DEPENDS.dovecot+= dovecot>=2.2.27 +BUILDLINK_ABI_DEPENDS.dovecot+= dovecot>=2.2.28 BUILDLINK_PKGSRCDIR.dovecot?= ../../mail/dovecot2 pkgbase:= dovecot diff --git a/mail/dovecot2/distinfo b/mail/dovecot2/distinfo index ec099cc6efe..ac20f3b3cf1 100644 --- a/mail/dovecot2/distinfo +++ b/mail/dovecot2/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.70 2017/01/17 15:39:40 wiz Exp $ +$NetBSD: distinfo,v 1.71 2017/03/18 07:14:46 adam Exp $ -SHA1 (dovecot-2.2.27.tar.gz) = e007081c43b06fa2670d556de7a62bbb87fc637c -RMD160 (dovecot-2.2.27.tar.gz) = 8cda1656b7ece5818550160d347f760e091fdb3c -SHA512 (dovecot-2.2.27.tar.gz) = faab441bb2afa1e6de3e6ec6207c92a333773941bbc10c4761483ef6ccc193d3a4983de1acc73325122c22b197ea25c1e54886cccfb6b060ede90936a69b71f2 -Size (dovecot-2.2.27.tar.gz) = 5794668 bytes +SHA1 (dovecot-2.2.28.tar.gz) = ca417ebbfea30f71311a239e082adac81e989543 +RMD160 (dovecot-2.2.28.tar.gz) = 7d70d97e28fe5a4916b37278effabdaf3a7ecd03 +SHA512 (dovecot-2.2.28.tar.gz) = 3f40eb52413130dd47da98470d797ede63db3296923c2888b48f1a021e473cfcad064671ad804037d101990457ee57def30f2c27010ede2d758f3d3cfd8ef741 +Size (dovecot-2.2.28.tar.gz) = 5921992 bytes SHA1 (patch-aa) = ea185011f0c1ee3aa1ff528e61f6f356fe385666 SHA1 (patch-ab) = d637a64feec8e4eafacda149cf0193aa1b70a054 SHA1 (patch-ae) = 51d8cb998cc2ded8bfc767710e465b752c50e656 -- cgit v1.2.3