diff options
author | adam <adam@pkgsrc.org> | 2017-08-25 08:29:04 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-08-25 08:29:04 +0000 |
commit | b6b978dcea8a428772442fc3ca639c8923f6dde1 (patch) | |
tree | 773211a42aebcdc85fc3c8edf8aa43062a623248 /mail | |
parent | 3dd92fdc43f3981816ccd03335ebf1dfb3a4b0f4 (diff) | |
download | pkgsrc-b6b978dcea8a428772442fc3ca639c8923f6dde1.tar.gz |
Changes 2.2.32:
There are various changes in this release that can be used to significantly reduce disk IO with:
1) NFS storage especially, but I guess also other remote filesystems and even some with local disks
2) When mail storage and INDEX storage are separated
* imapc: Info-level line is logged every time when successfully
connected to the remote server. This includes local/remote IP/port,
which can be useful for matching against external logs.
* config: Log a warning if plugin { key=no } is used explicitly.
v2.3 will support "no" properly in plugin settings, but for now
any value at all for a boolean plugin setting is treated as "yes",
even if it's written as explicit "no". This change will now warn
that it most likely won't work as intended.
+ Various optimizations to avoid accessing files/directories when it's
not necessary. Especially avoid accessing mail root directories when
INDEX directories point to a different filesystem.
+ mail_location can now include ITERINDEX parameter. This tells Dovecot
to perform mailbox listing from the INDEX path instead of from the
mail root path. It's mainly useful when the INDEX storage is on a
faster storage.
+ mail_location can now include VOLATILEDIR=<path> parameter. This
is used for creating lock files and in future potentially other
files that don't need to exist permanently. The path could point to
tmpfs for example. This is especially useful to avoid creating lock
files to NFS or other remote filesystems. For example:
mail_location=sdbox:~/sdbox:VOLATILEDIR=/tmp/volatile/%2.256Nu/%u
+ mail_location's LISTINDEX=<path> can now contain a full path.
This allows storing mailbox list index to a different storage
than the rest of the indexes, for example to tmpfs.
+ mail_location can now include NO-NOSELECT parameter. This
automatically deletes any \NoSelect mailboxes that have no children.
These mailboxes are sometimes confusing to users.
+ mail_location can now include BROKENCHAR=<char> parameter. This can
be useful with imapc to access mailbox names that aren't valid mUTF-7
charset from remote servers.
+ If mailbox_list_index_very_dirty_syncs=yes, the list index is no
longer refreshed against filesystem when listing mailboxes. This
allows the mailbox listing to be done entirely by only reading the
mailbox list index.
+ Added mailbox_list_index_include_inbox setting to control whether
INBOX's STATUS information should be cached in the mailbox list
index. The default is "no", but it may be useful to change it to
"yes", especially if LISTINDEX points to tmpfs.
+ userdb can return chdir=<path>, which override mail_home for the
chdir location. This can be useful to avoid accessing home directory
on login.
+ userdb can return postlogin=<socket> to specify per-user imap/pop3
postlogin socket path.
+ cassandra: Add support for result paging by adding page_size=<n>
parameter to the connect setting.
+ dsync/imapc, pop3-migration plugin: Strip also trailing tabs from
headers when matching mails. This helps with migrations from Zimbra.
+ imap_logout_format supports now %{appended} and %{autoexpunged}
+ virtual plugin: Optimize IDLE to use mailbox list index for finding
out when something has changed.
+ Added apparmor plugin. See https://wiki2.dovecot.org/Plugins/Apparmor
- virtual plugin: A lot of fixes. In many cases it was also working
very inefficiently or even incorrectly.
- imap: NOTIFY parameter parsing was incorrectly "fixed" in v2.2.31.
It was actually (mostly) working in previous versions, but broken
in v2.2.31.
- Modseq tracking didn't always work correctly. This could have caused
imap unhibernation to fail or IMAP QRESYNC/CONDSTORE extensions to
not work perfectly.
- mdbox: "Inconsistency in map index" wasn't fixed automatically
- dict-ldap: %variable values used in the LDAP filter weren't escaped.
- quota=count: quota_warning = -storage=.. was never executed (try 2).
v2.2.31 fixed it for -messages, but not for -storage.
- imapc: >= 32 kB mail bodies were supposed to be cached for subsequent
FETCHes, but weren't.
- quota-status service didn't support recipient_delimiter
- acl: Don't access dovecot-acl-list files with acl_globals_only=yes
- mail_location: If INDEX dir is set, mailbox deletion deletes its
childrens' indexes. For example if "box" is deleted, "box/child"
index directory was deleted as well (but mails were preserved).
- director: v2.2.31 caused rapid reconnection loops to directors
that were down.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/dovecot2/Makefile.common | 6 | ||||
-rw-r--r-- | mail/dovecot2/PLIST | 5 | ||||
-rw-r--r-- | mail/dovecot2/buildlink3.mk | 4 | ||||
-rw-r--r-- | mail/dovecot2/distinfo | 10 |
4 files changed, 14 insertions, 11 deletions
diff --git a/mail/dovecot2/Makefile.common b/mail/dovecot2/Makefile.common index 2b4365aca59..ea18c5dda30 100644 --- a/mail/dovecot2/Makefile.common +++ b/mail/dovecot2/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.12 2017/07/03 13:12:44 adam Exp $ +# $NetBSD: Makefile.common,v 1.13 2017/08/25 08:29:04 adam Exp $ # # when updating to a new release, update ABI depends in # the buildlink3.mk file as well, since the plugins' version @@ -9,9 +9,9 @@ # used by mail/dovecot2-mysql/Makefile # used by mail/dovecot2-pgsql/Makefile -DISTNAME= dovecot-2.2.31 +DISTNAME= dovecot-2.2.32 CATEGORIES= mail -MASTER_SITES= https://www.dovecot.org/releases/2.2/ +MASTER_SITES= https://www.dovecot.org/releases/${PKGVERSION_NOREV:R}/ MAINTAINER= adam@NetBSD.org HOMEPAGE= http://www.dovecot.org/ diff --git a/mail/dovecot2/PLIST b/mail/dovecot2/PLIST index bf6c7d68fe5..cf69bc3f8d3 100644 --- a/mail/dovecot2/PLIST +++ b/mail/dovecot2/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.55 2017/07/03 13:12:44 adam Exp $ +@comment $NetBSD: PLIST,v 1.56 2017/08/25 08:29:04 adam Exp $ bin/doveadm bin/doveconf bin/dsync @@ -46,6 +46,7 @@ include/dovecot/base64.h include/dovecot/bits.h include/dovecot/bsearch-insert-pos.h include/dovecot/buffer.h +include/dovecot/byteorder.h include/dovecot/charset-utf8.h include/dovecot/child-wait.h include/dovecot/client-common.h @@ -872,6 +873,7 @@ share/doc/dovecot/wiki/Pigeonhole.Sieve.Troubleshooting.txt share/doc/dovecot/wiki/Pigeonhole.Sieve.Usage.txt share/doc/dovecot/wiki/Pigeonhole.Sieve.txt share/doc/dovecot/wiki/Pigeonhole.txt +share/doc/dovecot/wiki/Plugins.Apparmor.txt share/doc/dovecot/wiki/Plugins.Autocreate.txt share/doc/dovecot/wiki/Plugins.Compress.txt share/doc/dovecot/wiki/Plugins.Expire.txt @@ -887,6 +889,7 @@ share/doc/dovecot/wiki/Plugins.MailFilter.txt share/doc/dovecot/wiki/Plugins.MailLog.txt share/doc/dovecot/wiki/Plugins.MailboxAlias.txt share/doc/dovecot/wiki/Plugins.Notify.txt +share/doc/dovecot/wiki/Plugins.NotifyStatus.txt share/doc/dovecot/wiki/Plugins.PushNotification.txt share/doc/dovecot/wiki/Plugins.QuotaClone.txt share/doc/dovecot/wiki/Plugins.Snarf.txt diff --git a/mail/dovecot2/buildlink3.mk b/mail/dovecot2/buildlink3.mk index bae88f75b7b..225cb6ed92f 100644 --- a/mail/dovecot2/buildlink3.mk +++ b/mail/dovecot2/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.23 2017/07/03 13:14:40 adam Exp $ +# $NetBSD: buildlink3.mk,v 1.24 2017/08/25 08:29:04 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.31 +BUILDLINK_ABI_DEPENDS.dovecot+= dovecot>=2.2.32 BUILDLINK_PKGSRCDIR.dovecot?= ../../mail/dovecot2 pkgbase:= dovecot diff --git a/mail/dovecot2/distinfo b/mail/dovecot2/distinfo index 0674bb1c528..2401f86cc57 100644 --- a/mail/dovecot2/distinfo +++ b/mail/dovecot2/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.76 2017/07/03 13:12:44 adam Exp $ +$NetBSD: distinfo,v 1.77 2017/08/25 08:29:04 adam Exp $ -SHA1 (dovecot-2.2.31.tar.gz) = b0507809841ce2db1c66161b9f0be65dbf116695 -RMD160 (dovecot-2.2.31.tar.gz) = 6dcddca37b288325763faa846dc1f4d3cb21e471 -SHA512 (dovecot-2.2.31.tar.gz) = 071797e260a75de9117b03c0fa9d903de82b1f1c039c2aece2d7313587e6673c49174bfce17b80fe3f3725fcbc42ed3a1bd1f1c22efef5bc016752277eff3266 -Size (dovecot-2.2.31.tar.gz) = 5993283 bytes +SHA1 (dovecot-2.2.32.tar.gz) = 783f545163a763becfc83c70bfa68529ce7c4da0 +RMD160 (dovecot-2.2.32.tar.gz) = ff583c903b774e1e691718088ec9ab305b342cdb +SHA512 (dovecot-2.2.32.tar.gz) = a26ce763fdea7d72ff9801d3b7d57a1f0d00278e4a1aa60d1be070fe5a6d2c6a15f266a519119492bee7a3e7a6b7d0732e9879e5c5841adbab8c0952cd1b7c7c +Size (dovecot-2.2.32.tar.gz) = 6100268 bytes SHA1 (patch-aa) = ea185011f0c1ee3aa1ff528e61f6f356fe385666 SHA1 (patch-ab) = d637a64feec8e4eafacda149cf0193aa1b70a054 SHA1 (patch-ae) = 51d8cb998cc2ded8bfc767710e465b752c50e656 |