Package: dovecot / 1:2.3.10.1+dfsg1-2

Metadata

Package Version Patches format
dovecot 1:2.3.10.1+dfsg1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
split protocols.patch | (download)

doc/example-config/dovecot.conf | 4 2 + 2 - 0 !
src/master/master-settings.c | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 set default protocols value as empty and enable each
 protocol in its own configuration file

fix mail_plugin_dir default.patch | (download)

doc/example-config/conf.d/10-mail.conf | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix mail_plugin_dir default value in conf.d/10-mail.conf

Bug: #624294

ssl cert location.patch | (download)

doc/example-config/conf.d/10-ssl.conf | 7 4 + 3 - 0 !
doc/mkcert.sh | 10 5 + 5 - 0 !
2 files changed, 9 insertions(+), 8 deletions(-)

 move dovecots generated x.509 certificate out of /etc/ssl where
 it doesn't belong.  Turn off ssl by default.

Bug: #608719

tcpwrapper.patch | (download)

doc/example-config/conf.d/10-tcpwrapper.conf | 14 14 + 0 - 0 !
doc/example-config/conf.d/Makefile.am | 1 1 + 0 - 0 !
2 files changed, 15 insertions(+)

 configuration file for tcp wrapper support.

Bug: #685850

default mail_location.patch | (download)

doc/example-config/conf.d/10-mail.conf | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 set a default for the case where a user has no mail so auto-
 detection of mailboxes doesn't work.  See also: chgrp-error.patch

Bug: #623440

exampledir.patch | (download)

doc/example-config/Makefile.in | 2 1 + 1 - 0 !
doc/example-config/conf.d/Makefile.in | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 the file /etc/dovecot/readme sends the user to a directory
/usr/share/doc/dovecot/example-config/, but the real path should be
/usr/share/doc/dovecot-core/example-config/

Bug: #698941

mboxlocking.patch | (download)

doc/example-config/conf.d/10-mail.conf | 8 7 + 1 - 0 !
src/config/all-settings.c | 2 1 + 1 - 0 !
src/lib-storage/index/mbox/mbox-settings.c | 2 1 + 1 - 0 !
3 files changed, 9 insertions(+), 3 deletions(-)

 policy 22.6 compliant mbox write locking

For NFS safety, prefer fcntl to dotlocks.
Dovecots default is the other way around.

Bug: #720502

dovecot_name.patch | (download)

configure.ac | 7 6 + 1 - 0 !
src/config/all-settings.c | 6 3 + 3 - 0 !
src/lib-smtp/smtp-server.c | 2 1 + 1 - 0 !
src/lmtp/lmtp-settings.c | 2 1 + 1 - 0 !
src/login-common/login-settings.c | 2 1 + 1 - 0 !
src/submission/submission-settings.c | 2 1 + 1 - 0 !
6 files changed, 13 insertions(+), 8 deletions(-)

 update dovecot name to include distribution in login greeting
 message

This patch was found at: https://blueprints.launchpad.net/ubuntu/+spec/servercloud-s-server-app-banner-updates
and originally provided by Ubuntu for their 2.1.7 package.  The original
author is  Yolanda Robla <yolanda.robla@canonical.com>.  I updated it
for Debian's 2.2.5 package.

ssl dh params location.patch | (download)

doc/example-config/conf.d/10-ssl.conf | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 set dh params location
 This is mandatory for SSL support in 2.3
skip rfc subdir.patch | (download)

pigeonhole/configure.ac | 1 0 + 1 - 0 !
pigeonhole/doc/Makefile.am | 1 0 + 1 - 0 !
pigeonhole/doc/Makefile.in | 1 0 + 1 - 0 !
3 files changed, 3 deletions(-)

 don't try to build doc/rfc subdir components

Correct misspellings.patch | (download)

ChangeLog | 6 3 + 3 - 0 !
NEWS | 2 1 + 1 - 0 !
pigeonhole/src/lib-sieve/sieve-address.c | 2 1 + 1 - 0 !
src/director/director-connection.c | 2 1 + 1 - 0 !
src/lib-index/mail-index-transaction-finish.c | 2 1 + 1 - 0 !
src/lib-index/mail-index.h | 2 1 + 1 - 0 !
src/lib-index/mail-transaction-log-file.c | 2 1 + 1 - 0 !
src/lib-storage/index/index-sync-pvt.c | 2 1 + 1 - 0 !
8 files changed, 10 insertions(+), 10 deletions(-)

 correct misspellings

Found by Lintian

fix compiler warnings.patch | (download)

src/lib-http/http-server-private.h | 4 2 + 2 - 0 !
src/lib-imap/test-imap-url.c | 3 1 + 2 - 0 !
src/lib-master/master-instance.c | 2 1 + 1 - 0 !
src/lib-ntlm/ntlm-encrypt.c | 3 2 + 1 - 0 !
src/master/sd-daemon.c | 4 2 + 2 - 0 !
5 files changed, 8 insertions(+), 8 deletions(-)

 fix compiler warnings:

* passing null to format argument
* -Wstringop-truncation

systemd sd notify support.patch | (download)

dovecot.service.in | 3 1 + 2 - 0 !
src/lib-master/master-service-settings.c | 2 1 + 1 - 0 !
src/master/main.c | 6 6 + 0 - 0 !
3 files changed, 8 insertions(+), 3 deletions(-)

 [patch 1/2] systemd integration: notify service manager when ready
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951722
test backtrace.patch | (download)

src/lib/test-backtrace.c | 6 2 + 4 - 0 !
1 file changed, 2 insertions(+), 4 deletions(-)

---
Fix format specifiers for 32bit.patch | (download)

pigeonhole/src/managesieve/cmd-havespace.c | 2 1 + 1 - 0 !
src/submission-login/client-authenticate.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 fix format specifiers for 32bit
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

client-authenticate.c: In function ‘cmd_helo_reply’:
client-authenticate.c:64:13: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘uoff_t’ {aka ‘const long long unsigned int’} [-Wformat=]
   64 |     "SIZE", "%"PRIuSIZE_T,
      |             ^~~
   65 |     subm_client->set->submission_max_mail_size);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                     |
      |                     uoff_t {aka const long long unsigned int}
In file included from ../../src/lib/lib.h:6,
                 from ../../src/login-common/login-common.h:4,
                 from client-authenticate.c:3:
../../config.h:762:21: note: format string is defined here
  762 | #define PRIuSIZE_T "u"

cmd-havespace.c: In function ‘cmd_havespace’:
cmd-havespace.c:55:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘uoff_t’ {aka ‘long long unsigned int’} [-Wformat=]
   55 |  e_debug(e->event(), "Quota is within limits for script `%s' "
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |   "with size %"PRIuSIZE_T, scriptname, size);
      |                                        ~~~~
      |                                        |
      |                                        uoff_t {aka long long unsigned int}
/<<PKGBUILDDIR>>/src/lib/event-log.h:72:43: note: in definition of macro ‘e_debug’
   72 |   e_debug(_tmp_event, __FILE__, __LINE__, __VA_ARGS__); \
      |                                           ^~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/src/lib/lib.h:6,
                 from cmd-havespace.c:4:
/<<PKGBUILDDIR>>/config.h:762:21: note: format string is defined here
  762 | #define PRIuSIZE_T "u"