Skip to content

Commit

Permalink
dovecot2: updated to 2.3.2.1
Browse files Browse the repository at this point in the history
v2.3.2 still had a few unexpected bugs:
- SSL/TLS servers may have crashed during client disconnection
- lmtp: With lmtp_rcpt_check_quota=yes mail deliveries may have
  sometimes assert-crashed.
- v2.3.2: "make check" may have crashed with 32bit systems

v2.3.2 is mainly a bugfix release. It contains all the changes in v2.2.36, as well as a bunch of other fixes (mainly for v2.3-only bugs). Binary packages are already in https://repo.dovecot.org/
* old-stats plugin: Don't temporarily enable PR_SET_DUMPABLE while
  opening /proc/self/io. This may still cause security problems if the
  process is ptrace()d at the same time. Instead, open it while still
  running as root.
+ doveadm: Added mailbox cache decision&remove commands. See
  doveadm-mailbox(1) man page for details.
+ doveadm: Added rebuild attachments command for rebuilding
  $HasAttachment or $HasNoAttachment flags for matching mails. See
  doveadm-rebuild(1) man page for details.
+ cassandra: Use fallback_consistency on more types of errors
+ lmtp proxy: Support outgoing SSL/TLS connections
+ lmtp: Add lmtp_rawlog_dir and lmtp_proxy_rawlog_dir settings.
+ submission: Add support for rawlog_dir
+ submission: Add submission_client_workarounds setting.
+ lua auth: Add password_verify() function and additional fields in
  auth request.
- doveadm-server: TCP connections are hanging when there is a lot of
  network output. This especially caused hangs in dsync-replication.
- Using multiple type=shared mdbox namespaces crashed
- mail_fsync setting was ignored. It was always set to "optimized".
- lua auth: Fix potential crash at deinit
- SSL/TLS servers may have crashed if client disconnected during
  handshake.
- SSL/TLS servers: Don't send extraneous certificates to client when
  alt certs are used.
- lda, lmtp: Return-Path header without '<' may have assert-crashed.
- lda, lmtp: Unencoded UTF-8 in email address headers may assert-crash
- lda: -f parameter didn't allow empty/null/domainless address
- lmtp, submission: Message size limit was hardcoded to 40 MB.
  Exceeding it caused the connection to get dropped during transfer.
- lmtp: Fix potential crash when delivery fails at DATA stage
- lmtp: login_greeting setting was ignored
- Fix to work with OpenSSL v1.0.2f
- systemd unit restrictions were too strict by default
- Fix potential crashes when a lot of log output was produced
- SMTP client may have assert-crashed when sending mail
- IMAP COMPRESS: Send "end of compression" marker when disconnecting.
- cassandra: Fix consistency=quorum to work
- dsync: Lock file generation failed if home directory didn't exist
- Snippet generation for HTML mails didn't ignore &entities inside
  blockquotes, producing strange looking snippets.
- imapc: Fix assert-crash if getting disconnected and after
  reconnection all mails in the selected mailbox are gone.
- pop3c: Handle unexpected server disconnections without assert-crash
- fts: Fixes to indexing mails via virtual mailboxes.
- fts: If mails contained NUL characters, the text around it wasn't
  indexed.
- Obsolete dovecot.index.cache offsets were sometimes used. Trying to
  fetch a field that was just added to cache file may not have always
  found it.
  • Loading branch information
adam committed Jul 14, 2018
1 parent 6fc37e0 commit 8344987
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
3 changes: 1 addition & 2 deletions mail/dovecot2-sqlite/Makefile
@@ -1,6 +1,5 @@
# $NetBSD: Makefile,v 1.11 2018/04/14 07:34:30 adam Exp $
# $NetBSD: Makefile,v 1.12 2018/07/14 20:15:33 adam Exp $

PKGREVISION= 1
.include "../../mail/dovecot2/Makefile.plugin"

PKGNAME= ${DISTNAME:S/dovecot/dovecot-sqlite/}
Expand Down
6 changes: 3 additions & 3 deletions mail/dovecot2/Makefile.common
@@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.19 2018/05/22 20:49:45 triaxx Exp $
# $NetBSD: Makefile.common,v 1.20 2018/07/14 20:15:33 adam Exp $
#
# when updating to a new release, update ABI depends in
# the buildlink3.mk file as well, since the plugins' version
Expand All @@ -7,9 +7,9 @@
# used by mail/dovecot2/Makefile
# used by mail/dovecot2/Makefile.plugin

DISTNAME= dovecot-2.3.1
DISTNAME= dovecot-2.3.2.1
CATEGORIES= mail
MASTER_SITES= https://www.dovecot.org/releases/${PKGVERSION_NOREV:R}/
MASTER_SITES= https://www.dovecot.org/releases/${PKGVERSION_NOREV:R:R}/

MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://www.dovecot.org/
Expand Down
13 changes: 12 additions & 1 deletion mail/dovecot2/PLIST
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.60 2018/05/22 20:49:45 triaxx Exp $
@comment $NetBSD: PLIST,v 1.61 2018/07/14 20:15:33 adam Exp $
bin/doveadm
bin/doveconf
bin/dsync
Expand Down Expand Up @@ -697,6 +697,7 @@ man/man1/doveadm-proxy.1
man/man1/doveadm-purge.1
man/man1/doveadm-pw.1
man/man1/doveadm-quota.1
man/man1/doveadm-rebuild.1
man/man1/doveadm-reload.1
man/man1/doveadm-replicator.1
man/man1/doveadm-save.1
Expand All @@ -722,12 +723,14 @@ share/doc/dovecot/solr-schema.xml
share/doc/dovecot/thread-refs.txt
share/doc/dovecot/wiki/ACL.txt
share/doc/dovecot/wiki/AixPluginsSupport.txt
share/doc/dovecot/wiki/AttachmentIndicator.txt
share/doc/dovecot/wiki/AuthDatabase.CheckPassword.txt
share/doc/dovecot/wiki/AuthDatabase.Dict.txt
share/doc/dovecot/wiki/AuthDatabase.LDAP.AuthBinds.txt
share/doc/dovecot/wiki/AuthDatabase.LDAP.PasswordLookups.txt
share/doc/dovecot/wiki/AuthDatabase.LDAP.Userdb.txt
share/doc/dovecot/wiki/AuthDatabase.LDAP.txt
share/doc/dovecot/wiki/AuthDatabase.Lua.txt
share/doc/dovecot/wiki/AuthDatabase.Passwd.txt
share/doc/dovecot/wiki/AuthDatabase.PasswdFile.txt
share/doc/dovecot/wiki/AuthDatabase.SQL.txt
Expand Down Expand Up @@ -765,12 +768,14 @@ 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
share/doc/dovecot/wiki/Design.Events.txt
share/doc/dovecot/wiki/Design.Indexes.Cache.txt
share/doc/dovecot/wiki/Design.Indexes.MailIndexApi.txt
share/doc/dovecot/wiki/Design.Indexes.MainIndex.txt
share/doc/dovecot/wiki/Design.Indexes.TransactionLog.txt
share/doc/dovecot/wiki/Design.Indexes.txt
share/doc/dovecot/wiki/Design.InputStreams.txt
share/doc/dovecot/wiki/Design.Lua.txt
share/doc/dovecot/wiki/Design.MailProcess.txt
share/doc/dovecot/wiki/Design.Memory.txt
share/doc/dovecot/wiki/Design.OutputStreams.txt
Expand Down Expand Up @@ -808,6 +813,7 @@ share/doc/dovecot/wiki/HowTo.Rootless.txt
share/doc/dovecot/wiki/HowTo.SimpleVirtualInstall.txt
share/doc/dovecot/wiki/HowTo.WriteConfiguration.txt
share/doc/dovecot/wiki/HowTo.txt
share/doc/dovecot/wiki/IMAPServer.Hibernation.txt
share/doc/dovecot/wiki/IMAPServer.txt
share/doc/dovecot/wiki/ImapMetadata.txt
share/doc/dovecot/wiki/IndexFiles.txt
Expand Down Expand Up @@ -891,9 +897,11 @@ share/doc/dovecot/wiki/Pigeonhole.Sieve.Extensions.Editheader.txt
share/doc/dovecot/wiki/Pigeonhole.Sieve.Extensions.Include.txt
share/doc/dovecot/wiki/Pigeonhole.Sieve.Extensions.SpamtestVirustest.txt
share/doc/dovecot/wiki/Pigeonhole.Sieve.Extensions.Vacation.txt
share/doc/dovecot/wiki/Pigeonhole.Sieve.Extensions.Variables.txt
share/doc/dovecot/wiki/Pigeonhole.Sieve.Extensions.txt
share/doc/dovecot/wiki/Pigeonhole.Sieve.Plugins.Extdata.txt
share/doc/dovecot/wiki/Pigeonhole.Sieve.Plugins.Extprograms.txt
share/doc/dovecot/wiki/Pigeonhole.Sieve.Plugins.IMAPFilterSieve.txt
share/doc/dovecot/wiki/Pigeonhole.Sieve.Plugins.IMAPSieve.txt
share/doc/dovecot/wiki/Pigeonhole.Sieve.Plugins.Pipe.txt
share/doc/dovecot/wiki/Pigeonhole.Sieve.Plugins.txt
Expand All @@ -903,6 +911,7 @@ 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.CharsetAlias.txt
share/doc/dovecot/wiki/Plugins.Compress.txt
share/doc/dovecot/wiki/Plugins.Expire.txt
share/doc/dovecot/wiki/Plugins.FTS.Lucene.txt
Expand Down Expand Up @@ -955,7 +964,9 @@ share/doc/dovecot/wiki/SharedMailboxes.Shared.txt
share/doc/dovecot/wiki/SharedMailboxes.Symlinks.txt
share/doc/dovecot/wiki/SharedMailboxes.txt
share/doc/dovecot/wiki/SocketUnavailable.txt
share/doc/dovecot/wiki/Statistics.Old.txt
share/doc/dovecot/wiki/Statistics.txt
share/doc/dovecot/wiki/Submission.txt
share/doc/dovecot/wiki/SystemUsers.txt
share/doc/dovecot/wiki/TestInstallation.txt
share/doc/dovecot/wiki/TestPop3Installation.txt
Expand Down
12 changes: 6 additions & 6 deletions mail/dovecot2/distinfo
@@ -1,14 +1,14 @@
$NetBSD: distinfo,v 1.83 2018/05/22 20:49:45 triaxx Exp $
$NetBSD: distinfo,v 1.84 2018/07/14 20:15:33 adam Exp $

SHA1 (dovecot-2.3.1.tar.gz) = 4f098f4c1a63a714ec428292dce20f7ae5cc8ce1
RMD160 (dovecot-2.3.1.tar.gz) = 0728aee3bdaf66cdbb488dc59a1e1a5268b6db36
SHA512 (dovecot-2.3.1.tar.gz) = fe664ab771145f2390fef45839ff2756e36731c61e571dfa6975014f9cea43144e2aca0acf1a83b1dac55ad50042d0fa170b83570aa411228557861ada410b79
Size (dovecot-2.3.1.tar.gz) = 6703089 bytes
SHA1 (dovecot-2.3.2.1.tar.gz) = 4f4996db202584d4c54a1a906df870ee16ff02ed
RMD160 (dovecot-2.3.2.1.tar.gz) = b60ac0bd2c20f57cbe272781bd30523c9cbfa8a9
SHA512 (dovecot-2.3.2.1.tar.gz) = c085a0d04925485423086736a3c7d919ad0ca9efeff005890382da5333edb68c7d23ccb89fbe2ac44f8f016fc993bf2c669e450794c3ab13463676cbb47c7bf7
Size (dovecot-2.3.2.1.tar.gz) = 6797491 bytes
SHA1 (patch-aa) = ea185011f0c1ee3aa1ff528e61f6f356fe385666
SHA1 (patch-ab) = 9db15fd853ba47ef4bf04f2adc9ab24f71ee4d1e
SHA1 (patch-ae) = c795585df9f415ceabb28eec1ff691ee26168d3b
SHA1 (patch-af) = c066e94dd6593d16eec3e66f5f4d26f021918498
SHA1 (patch-src_imap_imap-client.h) = 1a2bf95ab6af57d88862a1512624bf263f4c2ce7
SHA1 (patch-src_lib_connection.h) = c147511f4ff50e4b5a048c3a363f0af90ee4c6ad
SHA1 (patch-src_lib-ldap_ldap-private.h) = 2d5ce32330ad4164cc75f8d209ba499d37ed01fc
SHA1 (patch-src_lib_connection.h) = c147511f4ff50e4b5a048c3a363f0af90ee4c6ad
SHA1 (patch-src_old-stats_mail-stats.h) = 0d40c618445c089af2646a6864c3e909812282af

0 comments on commit 8344987

Please sign in to comment.