summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2015-03-14 10:52:09 +0000
committeradam <adam@pkgsrc.org>2015-03-14 10:52:09 +0000
commit0a3c3dce02adcd9d1a7140b6468981e942302139 (patch)
treef66ee484e175b1f61677a1dd1c22981ecdb4da16 /mail
parentb6e007a485588e0336298e799ef449ebbbadb72e (diff)
downloadpkgsrc-0a3c3dce02adcd9d1a7140b6468981e942302139.tar.gz
Changes 2.2.16:
* dbox: Resyncing (e.g. doveadm force-resync) no longer deletes dovecot.index.cache file. The cache file was rarely the problem so this just caused unnecessary slowness. * Mailbox name limits changed during mailbox creation: Each part of a hierarchical name (e.g. "x" or "y" in "x/y") can now be up to 255 chars long (instead of 200). This also reduces the max number of hierarchical levels to 16 (instead of 20) to keep the maximum name length 4096 (a common PATH_MAX limit). The 255 char limit is hopefully large enough for migrations from all existing systems. It's also the limit on many filesystems. + director: Added director_consistent_hashing setting to enable consistent hashing (instead of the mostly-random MD5 hashing). This causes fewer user moves between backends when backend counts are changed, which may improve performance (mainly due to caching). + director: Added support for "tags", which allows one director ring to serve multiple backend clusters with different sets of users. + LMTP server: Added lmtp_user_concurrency_limit setting to limit how many LMTP deliveries can be done concurrently for a single user. + LMTP server: Added support for STARTTLS command. + If logging data is generated faster than it can be written, log a warning about it and show information about it in log process's process title in ps output. Also don't allow a single service to flood too long at the cost of delaying other services' logging. + stats: Added support for getting global statistics. + stats: Use the same session IDs as the rest of Dovecot. + stats: Plugins can now create their own statistics fields + doveadm server: Non-mail related commands can now also be used via doveadm server (TCP socket). + doveadm proxying: passdb lookup can now override doveadm_port and change the username. + doveadm: Search query supports now "oldestonly" parameter to stop immediately on the first non-match. This can be used to optimize: doveadm expunge mailbox Trash savedbefore 30d oldestonly + doveadm: Added "save" command to directly save mails to specified mailbox (bypassing Sieve). + doveadm fetch: Added body.snippet field, which returns the first 100 chars of a message without whitespace or HTML tags. The result is stored into dovecot.index.cache, so it can be fetched efficiently. + dsync: Added -t <timestamp> parameter to sync only mails newer than the given received-timestamp. + dsync: Added -F [-]<flag> parameter to sync only mails with[out] the given flag/keyword. + dsync: Added -a <mailbox> parameter to specify the virtual mailbox containing user's all mails. If this mailbox is already found to contain the wanted mail (by its GUID), the message is copied from there instead of being re-saved. (This isn't efficient enough yet for incremental replication.) + dsync: -m parameter can now specify \Special-use names for mailboxes. + imapc: Added imapc_features=gmail-migration to help migrations from GMail. See http://wiki2.dovecot.org/Migration/Gmail + imapc: Added imapc_features=search to support IMAP SEARCH command. (Currently requires ESEARCH support from remote server.) + expire plugin: Added expire_cache=yes setting to cache most of the database lookups in dovecot index files. + quota: If overquota-flag in userdb doesn't match the current quota usage, execute a configured script. + redis dict: Added support for expiring keys (:expire_secs=n) and specifying the database number (:db=n) - auth: Don't crash if master user login is attempted without any configured master=yes passdbs - Parsing UTF-8 text for mails could have caused broken results sometimes if buffering was split in the middle of a UTF-8 character. This affected at least searching messages. - String sanitization for some logged output wasn't done properly: UTF-8 text could have been truncated wrongly or the truncation may not have happened at all. - fts-lucene: Lookups from virtual mailbox consisting of over 32 physical mailboxes could have caused crashes.
Diffstat (limited to 'mail')
-rw-r--r--mail/dovecot2/Makefile5
-rw-r--r--mail/dovecot2/PLIST18
-rw-r--r--mail/dovecot2/buildlink3.mk4
-rw-r--r--mail/dovecot2/distinfo8
4 files changed, 25 insertions, 10 deletions
diff --git a/mail/dovecot2/Makefile b/mail/dovecot2/Makefile
index ca20ec1886f..7975ba24cc9 100644
--- a/mail/dovecot2/Makefile
+++ b/mail/dovecot2/Makefile
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.71 2015/02/19 09:48:27 taca Exp $
+# $NetBSD: Makefile,v 1.72 2015/03/14 10:52:09 adam Exp $
#
# when updating to a new release, update ABI depends in
# the buildlink3.mk file as well, since the plugins' version
# must match (see PR 49563).
-DISTNAME= dovecot-2.2.15
-PKGREVISION= 2
+DISTNAME= dovecot-2.2.16
CATEGORIES= mail
MASTER_SITES= http://www.dovecot.org/releases/${PKGVERSION_NOREV:R}/
diff --git a/mail/dovecot2/PLIST b/mail/dovecot2/PLIST
index 341fc0a9a29..cf0f966d4b2 100644
--- a/mail/dovecot2/PLIST
+++ b/mail/dovecot2/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.38 2015/02/19 09:48:27 taca Exp $
+@comment $NetBSD: PLIST,v 1.39 2015/03/14 10:52:09 adam Exp $
bin/doveadm
bin/doveconf
bin/dsync
@@ -30,6 +30,7 @@ include/dovecot/auth-worker-client.h
include/dovecot/auth-worker-server.h
include/dovecot/auth.h
include/dovecot/backtrace-string.h
+include/dovecot/base32.h
include/dovecot/base64.h
include/dovecot/bits.h
include/dovecot/bsearch-insert-pos.h
@@ -66,6 +67,7 @@ include/dovecot/dict-sql.h
include/dovecot/dict-transaction-memory.h
include/dovecot/dict.h
include/dovecot/dns-lookup.h
+include/dovecot/doveadm-cmd.h
include/dovecot/doveadm-dsync.h
include/dovecot/doveadm-dump.h
include/dovecot/doveadm-mail-iter.h
@@ -100,6 +102,11 @@ include/dovecot/fs-api-private.h
include/dovecot/fs-api.h
include/dovecot/fs-sis-common.h
include/dovecot/fsync-mode.h
+include/dovecot/fts-api-private.h
+include/dovecot/fts-api.h
+include/dovecot/fts-expunge-log.h
+include/dovecot/fts-indexer.h
+include/dovecot/fts-parser.h
include/dovecot/guid.h
include/dovecot/hash-decl.h
include/dovecot/hash-format.h
@@ -169,6 +176,7 @@ include/dovecot/imapc-connection.h
include/dovecot/imapc-list.h
include/dovecot/imapc-mail.h
include/dovecot/imapc-msgmap.h
+include/dovecot/imapc-search.h
include/dovecot/imapc-settings.h
include/dovecot/imapc-storage.h
include/dovecot/imapc-sync.h
@@ -242,6 +250,7 @@ include/dovecot/mail-cache.h
include/dovecot/mail-copy.h
include/dovecot/mail-deliver.h
include/dovecot/mail-error.h
+include/dovecot/mail-html2text.h
include/dovecot/mail-index-alloc-cache.h
include/dovecot/mail-index-modseq.h
include/dovecot/mail-index-private.h
@@ -338,6 +347,7 @@ include/dovecot/message-part-serialize.h
include/dovecot/message-part.h
include/dovecot/message-search.h
include/dovecot/message-size.h
+include/dovecot/message-snippet.h
include/dovecot/mkdir-parents.h
include/dovecot/mmap-util.h
include/dovecot/module-context.h
@@ -351,6 +361,7 @@ include/dovecot/notify-plugin-private.h
include/dovecot/notify-plugin.h
include/dovecot/numpack.h
include/dovecot/ostream-cmp.h
+include/dovecot/ostream-dot.h
include/dovecot/ostream-hash.h
include/dovecot/ostream-metawrap.h
include/dovecot/ostream-private.h
@@ -409,8 +420,11 @@ include/dovecot/sql-api-private.h
include/dovecot/sql-api.h
include/dovecot/sql-db-cache.h
include/dovecot/ssl-proxy.h
+include/dovecot/stats-parser.h
+include/dovecot/stats.h
include/dovecot/str-find.h
include/dovecot/str-sanitize.h
+include/dovecot/str-table.h
include/dovecot/str.h
include/dovecot/strescape.h
include/dovecot/strfuncs.h
@@ -471,6 +485,7 @@ lib/dovecot/libdovecot-sql.la
lib/dovecot/libdovecot-storage.la
lib/dovecot/libdovecot.la
${PLIST.ssl}lib/dovecot/libssl_iostream_openssl.la
+lib/dovecot/stats/libstats_mail.la
libexec/dovecot/aggregator
libexec/dovecot/anvil
libexec/dovecot/auth
@@ -761,6 +776,7 @@ share/doc/dovecot/wiki/SSL.txt
share/doc/dovecot/wiki/Sasl.txt
share/doc/dovecot/wiki/SecurityTuning.txt
share/doc/dovecot/wiki/Services.txt
+share/doc/dovecot/wiki/SharedMailboxes.ClusterSetup.txt
share/doc/dovecot/wiki/SharedMailboxes.Permissions.txt
share/doc/dovecot/wiki/SharedMailboxes.Public.txt
share/doc/dovecot/wiki/SharedMailboxes.Shared.txt
diff --git a/mail/dovecot2/buildlink3.mk b/mail/dovecot2/buildlink3.mk
index 960d46824af..4e2c14e2158 100644
--- a/mail/dovecot2/buildlink3.mk
+++ b/mail/dovecot2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2015/01/24 17:48:25 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2015/03/14 10:52:09 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.15<2.2.16
+BUILDLINK_ABI_DEPENDS.dovecot+= dovecot>=2.2.16<2.2.17
BUILDLINK_PKGSRCDIR.dovecot?= ../../mail/dovecot2
pkgbase:= dovecot
diff --git a/mail/dovecot2/distinfo b/mail/dovecot2/distinfo
index cd497147973..b571188e877 100644
--- a/mail/dovecot2/distinfo
+++ b/mail/dovecot2/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.51 2014/11/02 07:34:51 taca Exp $
+$NetBSD: distinfo,v 1.52 2015/03/14 10:52:09 adam Exp $
-SHA1 (dovecot-2.2.15.tar.gz) = 10c90f1f08797b5931703d52a871437e6561d76f
-RMD160 (dovecot-2.2.15.tar.gz) = 32e15e566814c5adc3e292eddb6794d2bf59ff41
-Size (dovecot-2.2.15.tar.gz) = 4747444 bytes
+SHA1 (dovecot-2.2.16.tar.gz) = 7b267ee939b790ee42809efebc96d6ae78a49432
+RMD160 (dovecot-2.2.16.tar.gz) = 79768b2077137d255a3cfbc492de6d979e594e31
+Size (dovecot-2.2.16.tar.gz) = 4830169 bytes
SHA1 (patch-aa) = ea185011f0c1ee3aa1ff528e61f6f356fe385666
SHA1 (patch-ab) = d637a64feec8e4eafacda149cf0193aa1b70a054
SHA1 (patch-ae) = 51d8cb998cc2ded8bfc767710e465b752c50e656