Hello community, here is the log from the commit of package dovecot23 for openSUSE:Factory checked in at 2018-12-04 20:57:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dovecot23 (Old) and /work/SRC/openSUSE:Factory/.dovecot23.new.19453 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dovecot23" Tue Dec 4 20:57:36 2018 rev:12 rq:653727 version:2.3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/dovecot23/dovecot23.changes 2018-10-02 19:49:42.285688629 +0200 +++ /work/SRC/openSUSE:Factory/.dovecot23.new.19453/dovecot23.changes 2018-12-04 20:57:44.896625425 +0100 @@ -1,0 +2,52 @@ +Sun Nov 25 00:17:08 UTC 2018 - Marcus Rueckert <[email protected]> + +- added 10048229...de42b54a.patch: + Fix build failures on TW i586 + +------------------------------------------------------------------- +Sat Nov 24 00:27:59 UTC 2018 - Marcus Rueckert <[email protected]> + +- update to 2.3.4 + * The default postmaster_address is now "postmaster@<user domain + or server hostname>". If username contains the @domain part, + that's used. If not, then the server's hostname is used. + * "doveadm stats dump" now returns two decimals for the "avg" + field. + + Added push notification driver that uses a Lua script + + Added new SQL, DNS and connection events. + See https://wiki2.dovecot.org/Events + + Added "doveadm mailbox cache purge" command. + + Added events API support for Lua scripts + + doveadm force-resync -f parameter performs "index fsck" while + opening the index. This may be useful to fix some types of + broken index files. This may become the default behavior in a + later version. + - director: Kicking a user crashes if login process is very slow + - pop3_no_flag_updates=no: Don't expunge DELEted and RETRed + messages unless QUIT is sent. + - auth: Fix crypt() segfault with glibc-2.28+ + - imap: Running UID FILTER script with errors assert-crashes + - dsync, pop3-migration: POP3 UIDLs weren't added to + dovecot.index.cache while mails were saved. + - dict clients may have been using 100% CPU while waiting for + dict server to finish commands. + - doveadm user: Fixed user listing via HTTP API + - All levels of Cassandra log messages were logged as Dovecot + errors. + - http/smtp client may have crashed after SSL handshake + - Lua auth converted strings that looked like numbers into + numbers. +- update pigeonhole to 0.5.4 + * Adjustments to several changes in Dovecot v2.3.4 make this + Pigeonhole release dependent on that Dovecot release; it will + not compile against older Dovecot versions. And, conversely, + you need to upgrade Pigeonhole when upgrading Dovecot to + v2.3.4. + * The changes regarding the default postmaster_address in Dovecot + v2.3.4 mainly apply to Pigeonhole. The new default should work + for all existing installations, thereby fixing several reported + v2.3/v0.5 migration problems. + - IMAP FILTER=SIEVE capability: Fix assert crash occurring when running + UID FILTER on a Sieve script with errors. + +------------------------------------------------------------------- Old: ---- dovecot-2.3-pigeonhole-0.5.3.tar.gz dovecot-2.3-pigeonhole-0.5.3.tar.gz.sig dovecot-2.3.3.tar.gz dovecot-2.3.3.tar.gz.sig New: ---- 10048229...de42b54a.patch dovecot-2.3-pigeonhole-0.5.4.tar.gz dovecot-2.3-pigeonhole-0.5.4.tar.gz.sig dovecot-2.3.4.tar.gz dovecot-2.3.4.tar.gz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dovecot23.spec ++++++ --- /var/tmp/diff_new_pack.Waud7O/_old 2018-12-04 20:57:45.844624380 +0100 +++ /var/tmp/diff_new_pack.Waud7O/_new 2018-12-04 20:57:45.844624380 +0100 @@ -17,11 +17,11 @@ Name: dovecot23 -Version: 2.3.3 +Version: 2.3.4 Release: 0 %define pkg_name dovecot -%define dovecot_version 2.3.3 -%define dovecot_pigeonhole_version 0.5.3 +%define dovecot_version 2.3.4 +%define dovecot_pigeonhole_version 0.5.4 %define dovecot_branch 2.3 %define dovecot_pigeonhole_source_dir %{pkg_name}-%{dovecot_branch}-pigeonhole-%{dovecot_pigeonhole_version} %define dovecot_pigeonhole_docdir %{_docdir}/%{pkg_name}/dovecot-pigeonhole @@ -136,6 +136,7 @@ Source12: dovecot23.keyring Patch: dovecot-2.3.0-dont_use_etc_ssl_certs.patch Patch1: dovecot-2.3.0-better_ssl_defaults.patch +Patch2: 10048229...de42b54a.patch Summary: IMAP and POP3 Server Written Primarily with Security in Mind License: BSD-3-Clause AND LGPL-2.1-or-later AND MIT Group: Productivity/Networking/Email/Servers @@ -315,6 +316,7 @@ %setup -q -n %{pkg_name}-%{dovecot_version} -a 1 %patch -p1 %patch1 -p1 +%patch2 -p1 gzip -9v ChangeLog # Fix plugins dir. sed -i 's|#mail_plugin_dir = /usr/lib/dovecot|mail_plugin_dir = %{_libdir}/dovecot/modules|' doc/example-config/conf.d/10-mail.conf @@ -593,6 +595,7 @@ %{_libdir}/%{pkg_name}/modules/lib05_pop3_migration_plugin.so %{_libdir}/%{pkg_name}/modules/lib05_snarf_plugin.so %{_libdir}/%{pkg_name}/modules/lib10_last_login_plugin.so +%{_libdir}/%{pkg_name}/modules/lib01_mail_lua_plugin.so %{_libdir}/%{pkg_name}/modules/lib10_mail_crypt_plugin.so %{_libdir}/%{pkg_name}/modules/lib10_mail_filter_plugin.so %{_libdir}/%{pkg_name}/modules/lib10_quota_plugin.so @@ -611,6 +614,7 @@ %{_libdir}/%{pkg_name}/modules/lib20_quota_clone_plugin.so %{_libdir}/%{pkg_name}/modules/lib20_replication_plugin.so %{_libdir}/%{pkg_name}/modules/lib20_virtual_plugin.so +%{_libdir}/%{pkg_name}/modules/lib22_push_notification_lua_plugin.so %{_libdir}/%{pkg_name}/modules/lib30_imap_zlib_plugin.so %{_libdir}/%{pkg_name}/modules/lib02_imap_acl_plugin.so %{_libdir}/%{pkg_name}/modules/lib11_imap_quota_plugin.so @@ -624,6 +628,7 @@ %{_libdir}/%{pkg_name}/modules/libfs_crypt.so %{_libdir}/%{pkg_name}/modules/libfs_mail_crypt.so %{_libdir}/%{pkg_name}/modules/libssl_iostream_openssl.so + # %dir %{_libdir}/%{pkg_name}/modules/auth/ %{_libdir}/%{pkg_name}/modules/auth/libauthdb_imap.so ++++++ 10048229...de42b54a.patch ++++++ >From 10048229ed3030fe47b35a2200e33c45e3e97a84 Mon Sep 17 00:00:00 2001 From: Aki Tuomi <[email protected]> Date: Fri, 23 Nov 2018 15:33:20 +0200 Subject: [PATCH 1/2] lib-master: test-event-stats - Include signal.h Forgotten in e16ba6f --- src/lib-master/test-event-stats.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib-master/test-event-stats.c b/src/lib-master/test-event-stats.c index 41d6f01e76..8fcb3dd22d 100644 --- a/src/lib-master/test-event-stats.c +++ b/src/lib-master/test-event-stats.c @@ -13,6 +13,7 @@ #include "test-common.h" #include <fcntl.h> #include <unistd.h> +#include <signal.h> #include <sys/socket.h> #include <sys/un.h> #include <sys/wait.h> >From de42b54aaf165d4f62b45be864dde36bdbbc4276 Mon Sep 17 00:00:00 2001 From: Aki Tuomi <[email protected]> Date: Fri, 23 Nov 2018 15:34:51 +0200 Subject: [PATCH 2/2] lib-master: test-event-stats - Use PRIu64 format Forgotten in e16ba6f --- src/lib-master/test-event-stats.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/lib-master/test-event-stats.c b/src/lib-master/test-event-stats.c index 8fcb3dd22d..2d8a13cd40 100644 --- a/src/lib-master/test-event-stats.c +++ b/src/lib-master/test-event-stats.c @@ -344,7 +344,7 @@ static void test_no_merging2(void) event_unref(&child_ev); test_assert( compare_test_stats_to( - "EVENT %lu 1 0 0" + "EVENT %"PRIu64" 1 0 0" " stest-event-stats.c %d" " l0 0 ctest2\n", id, l)); test_end(); @@ -370,12 +370,12 @@ static void test_no_merging3(void) event_unref(&child_ev); test_assert( compare_test_stats_to( - "BEGIN %lu 0 1 0 0" + "BEGIN %"PRIu64" 0 1 0 0" " stest-event-stats.c %d ctest1\n" - "EVENT %lu 1 1 0" + "EVENT %"PRIu64" 1 1 0" " stest-event-stats.c %d" " l1 0 ctest2\n" - "END\t%lu\n", idp, lp, idp, l, idp)); + "END\t%"PRIu64"\n", idp, lp, idp, l, idp)); test_end(); } @@ -435,7 +435,7 @@ static void test_merge_events2(void) event_unref(&merge_ev2); test_assert( compare_test_stats_to( - "EVENT %lu 1 0 0" + "EVENT %"PRIu64" 1 0 0" " stest-event-stats.c %d l0 0" " ctest3 ctest2 ctest1 Tkey3" " 10 0 Ikey2 20" @@ -467,11 +467,11 @@ static void test_skip_parents(void) event_unref(&child_ev); test_assert( compare_test_stats_to( - "BEGIN %lu 0 1 0 0" + "BEGIN %"PRIu64" 0 1 0 0" " stest-event-stats.c %d ctest1\n" - "EVENT %lu 1 3 0 " + "EVENT %"PRIu64" 1 3 0 " "stest-event-stats.c %d l3 0" - " ctest2\nEND\t%lu\n", id, lp, id, l, id)); + " ctest2\nEND\t%"PRIu64"\n", id, lp, id, l, id)); test_end(); } @@ -509,12 +509,12 @@ static void test_merge_events_skip_parents(void) event_unref(&child2_ev); test_assert( compare_test_stats_to( - "BEGIN %lu 0 1 0 0" + "BEGIN %"PRIu64" 0 1 0 0" " stest-event-stats.c %d ctest1\n" - "EVENT %lu 1 3 0 " + "EVENT %"PRIu64" 1 3 0 " "stest-event-stats.c %d l3 0 " "ctest4 ctest5 Tkey3 10 0 Skey4" - " str4\nEND\t%lu\n", id, lp, id, l, id)); + " str4\nEND\t%"PRIu64"\n", id, lp, id, l, id)); test_end(); } ++++++ dovecot-2.3-pigeonhole-0.5.3.tar.gz -> dovecot-2.3-pigeonhole-0.5.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dovecot-2.3-pigeonhole-0.5.3/ChangeLog new/dovecot-2.3-pigeonhole-0.5.4/ChangeLog --- old/dovecot-2.3-pigeonhole-0.5.3/ChangeLog 2018-03-27 23:32:34.000000000 +0200 +++ new/dovecot-2.3-pigeonhole-0.5.4/ChangeLog 2018-11-23 12:30:48.000000000 +0100 @@ -1,3 +1,518 @@ +2018-11-23 00:01:38 +0100 Stephan Bosch <[email protected]> (3ae309c0) + + Update NEWS file for v0.5.4 release. + + +M NEWS + +2018-08-30 02:44:26 +0200 Stephan Bosch <[email protected]> (762e55ed) + + plugins: imap-filter-sieve: Add assertion on attempting to execute at least + one script. + + Coverity complains about last_script possibly being empty in + imap_sieve_filter_run_scripts(), which is actually not possible, since the + function would not be called if there is no script to execute. Added + assertion to make that clear. + +M src/plugins/imap-filter-sieve/imap-filter-sieve.c + +2018-08-30 02:39:25 +0200 Stephan Bosch <[email protected]> (740cbc78) + + plugins: imap-filter-sieve: Fix segfault occurring in recently added debug + message. + + The debug message pertains to skipping secondary scripts that failed to + compile. This debug message will not actually be triggered in the current + implementation, but this will become problematic in the future. + + Problem found by Coverity. + +M src/plugins/imap-filter-sieve/imap-filter-sieve.c + +2018-08-26 17:26:05 +0200 Stephan Bosch <[email protected]> (436c45ac) + + plugins: imap-filter-sieve: Fix assertion panic occurring after script + compile error. + + Compile errors occurring for Sieve scripts uploaded in multiple TCP frames + were not handled correctly. + +M src/plugins/imap-filter-sieve/cmd-filter-sieve.c + +2018-08-26 16:51:29 +0200 Stephan Bosch <[email protected]> (803055b1) + + plugins: imap-filter-sieve: Ignore secondary scripts that failed to compile. + + The IMAP FILTER=SIEVE capability does not execute more than a single script + yet, but once it does, it should not assert fail on secondary scripts that + failed to compile. + +M src/plugins/imap-filter-sieve/imap-filter-sieve.c + +2018-09-05 21:27:58 +0200 Stephan Bosch <[email protected]> (8efeb6a1) + + lib-sieve: Adjust to changes in Dovecot regarding the postmaster_address + setting. + + +M src/lib-sieve/sieve.c + +2018-09-26 02:40:36 +0200 Stephan Bosch <[email protected]> (14aa0845) + + Don't try to send stats from Sieve command line tools (which includes + testsuite). + + +M src/lib-sieve-tool/sieve-tool.c + +2018-09-26 02:27:27 +0200 Stephan Bosch <[email protected]> (628cf966) + + global: Don't try to send stats from unit tests. + + +M src/lib-sieve/util/test-edit-mail.c + +2018-09-06 19:53:33 +0300 Timo Sirainen <[email protected]> (198cfa79) + + managesieve: Don't enable stats when dumping capability + + Otherwise stats process startup can get into a loop. + +M src/managesieve/main.c + +2018-07-18 17:54:51 +0200 Stephan Bosch <[email protected]> (df99d64e) + + Adjust to changes in Dovecot message_address_parse() API. + + Change was: + + lib-mail: message_address_parse() - Change fill_missing parameter to flags + +M src/lib-sieve-tool/sieve-tool.c +M src/lib-sieve/plugins/vacation/cmd-vacation.c +M src/lib-sieve/sieve-address.c +M src/testsuite/testsuite-message.c + +2018-06-13 00:49:54 +0300 Timo Sirainen <[email protected]> (87504974) + + managesieve: Free sieve instance when performing dump-capability + + Makes it easier to run with valgrind. + +M src/managesieve/main.c +M src/managesieve/managesieve-capabilities.c + +2018-06-12 18:52:03 +0300 Timo Sirainen <[email protected]> (7ef8af97) + + doveadm sieve plugin: Fix memory leak for "sieve get" command + + +M src/plugins/doveadm-sieve/doveadm-sieve-cmd-get.c + +2018-05-02 13:46:15 +0300 Phil Carmody <[email protected]> (5472e286) + + ldap - fix stupid typo + + Signed-off-by: Phil Carmody <[email protected]> + +M src/lib-sieve/storage/ldap/sieve-ldap-db.c + +2018-04-28 23:11:40 +0300 Phil Carmody <[email protected]> (fd43ce96) + + global: replace verbose strncmp()s with simpler str_begin()s + + Signed-off-by: Phil Carmody <[email protected]> + +M src/lib-sieve-tool/sieve-tool.c +M src/lib-sieve/plugins/environment/ext-environment-common.c +M src/lib-sieve/plugins/notify/ext-notify-common.c +M src/lib-sieve/plugins/vacation/cmd-vacation.c +M src/lib-sieve/storage/file/sieve-file-storage-save.c +M src/lib-sieve/storage/file/sieve-file-storage.c +M src/lib-sieve/storage/ldap/sieve-ldap-db.c +M src/plugins/doveadm-sieve/doveadm-sieve-sync.c + +2018-08-15 16:09:41 +0200 Stephan Bosch <[email protected]> (d9966fa8) + + lib-sieve: util: Add tests for rfc2822_header_write(). + + +M src/lib-sieve/util/Makefile.am +A src/lib-sieve/util/test-rfc2822.c + +2018-08-15 15:41:36 +0200 Stephan Bosch <[email protected]> (3564cc30) + + lib-sieve: util: rfc2822: Prevent writing header lines with trailing + whitespace in rfc2822_header_append(). + + +M src/lib-sieve/util/rfc2822.c + +2018-08-15 15:35:17 +0200 Stephan Bosch <[email protected]> (ed170e17) + + lib-sieve: util: rfc2822: Fix assert panic occurring in + rfc2822_header_append(). + + Panic was: "Buffer write out of range" + + With some rather weird (sender-provided!) input, the header folding + algorithm got confused, causing a pointer to the start of the current line + to exceed the parsing pointer. This caused str_append_data() to be called + with a negative size. Added an assertion to make any future similar problems + more obvious. + +M src/lib-sieve/util/rfc2822.c + +2018-04-25 14:22:37 +0200 Stephan Bosch <[email protected]> (8647d31f) + + global: Replace str_append_n() with str_append_data(). + + The str_append_n() function is now deprecated. At no occasion, the occurence + of NUL in the data is possible or relevant, so each instance is replaced + with str_append_data() rather than str_append_max(). + +M src/lib-managesieve/managesieve-quote.c +M src/lib-sieve/ext-encoded-character.c +M src/lib-sieve/mcht-matches.c +M src/lib-sieve/plugins/imap4flags/ext-imap4flags-common.c +M src/lib-sieve/plugins/mime/cmd-extracttext.c +M src/lib-sieve/plugins/notify/ext-notify-common.c +M src/lib-sieve/plugins/regex/mcht-regex.c +M src/lib-sieve/plugins/variables/ext-variables-arguments.c +M src/lib-sieve/sieve-message.c +M src/lib-sieve/storage/ldap/sieve-ldap-db.c +M src/lib-sieve/util/edit-mail.c +M src/lib-sieve/util/rfc2822.c +M src/lib-sieve/util/test-edit-mail.c +M src/managesieve-login/client-authenticate.c +M src/testsuite/testsuite-arguments.c + +2018-08-10 11:46:00 +0200 Stephan Bosch <[email protected]> (e07b3957) + + plugins: imap-filter-sieve: Fix FILTER SIEVE SCRIPT command parsing. + + After finishing reading the Sieve script, the command parsing sometimes + didn't continue with the search arguments. This is a time-critical bug that + likely only occurs when the Sieve script is sent in the next TCP frame. + +M src/plugins/imap-filter-sieve/cmd-filter-sieve.c + +2018-08-08 14:51:44 +0200 Stephan Bosch <[email protected]> (190fe396) + + Add v0.5.2 to NEWS. + + +M NEWS + +2018-05-28 14:12:49 +0300 Timo Sirainen <[email protected]> (e9779f25) + + lib-sieve: script storage: Fix leaking mailbox if opening INBOX fails + + +M src/lib-sieve/sieve-storage-sync.c + +2018-07-01 20:52:47 +0200 Stephan Bosch <[email protected]> (e9ac5535) + + doc: Add documentation and specification for the IMAP FILTER=SIEVE plugin to + distribution. + + +M doc/plugins/Makefile.am +M doc/rfc/Makefile.am + +2018-06-01 10:08:36 +0200 Stephan Bosch <[email protected]> (e5a584c6) + + plugins: imap_filter_sieve: Put more effort in reconstructing a valid rcpt + address for the envelope. + + The sieve_user_email setting provides a fallback for when there is no + Delivered-To header. + +M src/plugins/imap-filter-sieve/imap-filter-sieve.c + +2018-05-27 10:40:42 +0200 Stephan Bosch <[email protected]> (0601c10f) + + plugins: imap_filter_sieve: Implement the UID FILTER command. + + Although it was documented and implemented in essence, it was not actually + available. + +M src/plugins/imap-filter-sieve/imap-filter-sieve-plugin.c + +2018-05-26 18:11:19 +0200 Stephan Bosch <[email protected]> (237dbf93) + + doc: imap_filter_sieve plugin specification: Updated Dovecot Oy office + address. + + +M doc/rfc/draft-bosch-imap-filter-sieve-00.txt + +2018-05-26 16:39:00 +0300 Timo Sirainen <[email protected]> (0eab68c7) + + imap-filter-sieve: Fix FILTER to work correctly with pipelining + + Fixes e.g. FILTER+LOGOUT pipelining crash: Panic: file imap-sync.c: line 832 + (cmd_sync_delayed_real): assertion failed: (client->mailbox != NULL) + +M src/plugins/imap-filter-sieve/imap-filter-sieve-plugin.c + +2018-05-14 19:24:10 +0200 Stephan Bosch <[email protected]> (08dcc560) + + Added v0.5.1 to NEWS. + + +M NEWS + +2018-05-12 00:56:19 +0200 Stephan Bosch <[email protected]> (4ac4cfa8) + + tests: address test: Add tests for invalid addresses with UTF-8 in the + localpart. + + +M tests/test-address.svtest + +2018-05-11 23:44:37 +0200 Stephan Bosch <[email protected]> (8565e71f) + + lib-sieve: Add more trace debugging output for address list iteration. + + +M src/lib-sieve/sieve-address.c + +2018-05-11 23:57:26 +0200 Stephan Bosch <[email protected]> (35f4b130) + + lib-sieve: Check iterated addresses in address list for validity as an SMTP + address. + + +M src/lib-sieve/sieve-address.c + +2018-05-12 00:08:19 +0200 Stephan Bosch <[email protected]> (4324fe80) + + lib-sieve: Try to skip individual invalid addresses while iterating an + address list. + + Before, the whole address list (header value) was returned as an invalid + address, ignoring any valid addresses it may still have contained. + +M src/lib-sieve/sieve-address.c + +2018-05-02 23:48:30 +0200 Stephan Bosch <[email protected]> (664a73f0) + + plugins: Implement the vendor-defined IMAP FILTER=SIEVE capability. + + It adds the ability to manually invoke Sieve filtering in IMAP. + +M INSTALL +M TODO +M configure.ac +A doc/plugins/imap_filter_sieve.txt +A doc/rfc/draft-bosch-imap-filter-sieve-00.txt +M src/plugins/Makefile.am +A src/plugins/imap-filter-sieve/Makefile.am +A src/plugins/imap-filter-sieve/cmd-filter-sieve.c +A src/plugins/imap-filter-sieve/cmd-filter.c +A src/plugins/imap-filter-sieve/imap-filter-sieve-plugin.c +A src/plugins/imap-filter-sieve/imap-filter-sieve-plugin.h +A src/plugins/imap-filter-sieve/imap-filter-sieve.c +A src/plugins/imap-filter-sieve/imap-filter-sieve.h +A src/plugins/imap-filter-sieve/imap-filter.c +A src/plugins/imap-filter-sieve/imap-filter.h + +2018-05-07 11:04:09 +0200 Stephan Bosch <[email protected]> (db3be195) + + plugins: imapsieve: Make sure responses are never sent. + + Use the new SIEVE_EXECUTE_FLAG_SKIP_RESPONSES flag to prevent any unforseen + mishaps. + +M src/plugins/imapsieve/imap-sieve.c + +2018-05-07 11:03:01 +0200 Stephan Bosch <[email protected]> (bc6764b1) + + lib-sieve: Add SIEVE_EXECUTE_FLAG_SKIP_RESPONSES execute flag. + + This causes the reject and vacation response actions to be skipped without + error. + +M src/lib-sieve/ext-reject.c +M src/lib-sieve/plugins/vacation/cmd-vacation.c +M src/lib-sieve/sieve-types.h + +2018-05-02 23:46:27 +0200 Stephan Bosch <[email protected]> (8aee0f61) + + lib-sieve: Add support for compiling Sieve scripts from an input stream. + + +M configure.ac +M src/lib-sieve/Makefile.am +M src/lib-sieve/sieve-script-private.h +M src/lib-sieve/sieve-script.h +M src/lib-sieve/sieve-storage-private.h +M src/lib-sieve/storage/Makefile.am +A src/lib-sieve/storage/data/Makefile.am +A src/lib-sieve/storage/data/sieve-data-script.c +A src/lib-sieve/storage/data/sieve-data-storage.c +A src/lib-sieve/storage/data/sieve-data-storage.h + +2018-05-02 23:40:51 +0200 Stephan Bosch <[email protected]> (63248cc6) + + lib-sieve: Allow sieve_script_binary_save() error_r parameter to be NULL. + + +M src/lib-sieve/sieve-script.c +M src/lib-sieve/sieve-script.h + +2018-04-17 20:48:56 +0200 Stephan Bosch <[email protected]> (b3d9515e) + + lib-sieve: Always check the result returned from + smtp_address_init_from_msg(). + + +M src/lib-sieve/plugins/notify/cmd-notify.c +M src/lib-sieve/plugins/vacation/cmd-vacation.c + +2018-04-28 23:29:55 +0300 Phil Carmody <[email protected]> (ddf3c788) + + global: expand default temporary pool sizes + + The tests blow through these limits all of the time, which makes the logs + very noisy. These three cases are about 4/5ths of the test logs. Presumably + they're the ones that are also most often needing expansion in real world + use too. + + Signed-off-by: Phil Carmody <[email protected]> + +M src/lib-sieve/sieve-message.c +M src/lib-sieve/storage/file/sieve-file-script.c +M src/lib-sieve/storage/file/sieve-file-storage.c + +2018-04-27 17:28:03 +0200 Stephan Bosch <[email protected]> (ec72f4dc) + + lib-sieve: util: test-edit-mail: Determine test directory at the beginning + of all tests. + + It is the initial working directory and that may change during testing, so + it is not a good idea to determine this per test. + +M src/lib-sieve/util/test-edit-mail.c + +2018-04-25 21:23:49 +0200 Stephan Bosch <[email protected]> (e3cc1b4e) + + lib-sieve: util: test-edit-mail: Fix unused variable warning reported by + GCC. + + +M src/lib-sieve/util/test-edit-mail.c + +2018-04-18 10:16:29 +0200 Stephan Bosch <[email protected]> (c851cce6) + + lib-sieve: util: edit-mail: Fix assert panic occurring when streaming large + headers. + + The problem mainly arose because the stream buffer position was used to + determine how much was written, while the stream buffer position is + potentially decreased by i_stream_try_alloc(). + + Panic was: + + Panic: file istream.c: line 197 (i_stream_read): assertion failed: + ((size_t)ret+old_size == _stream->pos - _stream->skip) + +M src/lib-sieve/util/edit-mail.c +M src/lib-sieve/util/test-edit-mail.c + +2018-04-13 02:50:46 +0200 Stephan Bosch <[email protected]> (75bb9eb1) + + tests: envelope extension: Adjust to changes in Dovecot SMTP address parser. + + +M tests/extensions/envelope.svtest + +2018-04-24 00:24:52 +0200 Stephan Bosch <[email protected]> (28717d8f) + + lib-sieve: Never return SIEVE_EXEC_FAILURE from + sieve_multiscript_run_discard(). + + Always return SIEVE_EXEC_KEEP_FAILED instead. + +M src/lib-sieve/sieve.c + +2018-04-24 00:24:38 +0200 Stephan Bosch <[email protected]> (9c01becf) + + lib-sieve: Never return SIEVE_EXEC_FAILURE from keep action. + + Always return SIEVE_EXEC_KEEP_FAILED instead. + +M src/lib-sieve/sieve-result.c + +2018-04-16 21:49:08 +0200 Stephan Bosch <[email protected]> (d0856163) + + tests: vacation extension: Add tests for configuring the subject codepoint + limit. + + +M tests/extensions/vacation/message.svtest + +2018-04-16 20:42:46 +0200 Stephan Bosch <[email protected]> (6bd77ad8) + + lib-sieve: vacation extension: Make codepoint limit for subject header + configurable. + + +M doc/extensions/vacation.txt +M src/lib-sieve/plugins/vacation/cmd-vacation.c +M src/lib-sieve/plugins/vacation/ext-vacation-common.c +M src/lib-sieve/plugins/vacation/ext-vacation-common.h + +2018-04-16 20:41:59 +0200 Stephan Bosch <[email protected]> (4bd0ce1d) + + tests: vacation extension: Add tests for the truncation of long subject + lines. + + +M tests/extensions/vacation/message.svtest + +2018-04-16 19:49:15 +0200 Stephan Bosch <[email protected]> (919838f3) + + lib-sieve: vacation extension: Enforce subject header limit in Unicode + codepoints rather than bytes. + + +M src/lib-sieve/plugins/vacation/cmd-vacation.c + +2018-03-06 23:17:14 +0100 Stephan Bosch <[email protected]> (ed1f232a) + + lib-sieve: Adjusted to changes in Dovecot message address to SMTP address + conversion. + + This conversion now includes a check that may fail. Pigeonhole currently + only uses this functionality to obtain an SMTP version of the postmaster + address. This code is now consolidated in the sieve_get_postmaster_smtp() + function, which provides postmaster address as an SMTP address. + +M src/lib-sieve/plugins/enotify/mailto/ntfy-mailto.c +M src/lib-sieve/sieve-address-source.c +M src/lib-sieve/sieve-common.h +M src/lib-sieve/sieve.c + +2018-03-29 00:07:47 +0200 Stephan Bosch <[email protected]> (7671cbd6) + + lda-sieve plugin: Do not execute the sieve_discard script when an error + occurs. + + +M src/plugins/lda-sieve/lda-sieve-plugin.c + +2018-03-29 00:13:34 +0200 Stephan Bosch <[email protected]> (7979e109) + + lib-sieve: Never return TRUE from sieve_multiscript_will_discard() when + status is not successful. + + Errors will trigger an implicit keep, not discard. + +M src/lib-sieve/sieve.c + 2018-02-15 09:06:26 +0100 Stephan Bosch <[email protected]> (61b47828) lib-sieve: variables extension: Fix duplicate const in definition of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dovecot-2.3-pigeonhole-0.5.3/NEWS new/dovecot-2.3-pigeonhole-0.5.4/NEWS --- old/dovecot-2.3-pigeonhole-0.5.3/NEWS 2018-10-01 14:34:12.000000000 +0200 +++ new/dovecot-2.3-pigeonhole-0.5.4/NEWS 2018-11-23 12:29:58.000000000 +0100 @@ -1,3 +1,16 @@ +v0.5.4 2018-11-23 Stephan Bosch <[email protected]> + + * Adjustments to several changes in Dovecot v2.3.4 make this Pigeonhole + release dependent on that Dovecot release; it will not compile against + older Dovecot versions. And, conversely, you need to upgrade + Pigeonhole when upgrading Dovecot to v2.3.4. + * The changes regarding the default postmaster_address in Dovecot v2.3.4 + mainly apply to Pigeonhole. The new default should work for all + existing installations, thereby fixing several reported v2.3/v0.5 + migration problems. + - IMAP FILTER=SIEVE capability: Fix assert crash occurring when running + UID FILTER on a Sieve script with errors. + v0.5.3 2018-10-01 Stephan Bosch <[email protected]> - Fix assertion panic occurring when managesieve service fails to open diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dovecot-2.3-pigeonhole-0.5.3/configure new/dovecot-2.3-pigeonhole-0.5.4/configure --- old/dovecot-2.3-pigeonhole-0.5.3/configure 2018-10-01 14:34:49.000000000 +0200 +++ new/dovecot-2.3-pigeonhole-0.5.4/configure 2018-11-23 12:30:40.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for Pigeonhole 0.5.3. +# Generated by GNU Autoconf 2.69 for Pigeonhole 0.5.4. # # Report bugs to <[email protected]>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='Pigeonhole' PACKAGE_TARNAME='dovecot-2.3-pigeonhole' -PACKAGE_VERSION='0.5.3' -PACKAGE_STRING='Pigeonhole 0.5.3' +PACKAGE_VERSION='0.5.4' +PACKAGE_STRING='Pigeonhole 0.5.4' PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='' @@ -1408,7 +1408,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures Pigeonhole 0.5.3 to adapt to many kinds of systems. +\`configure' configures Pigeonhole 0.5.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1480,7 +1480,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of Pigeonhole 0.5.3:";; + short | recursive ) echo "Configuration of Pigeonhole 0.5.4:";; esac cat <<\_ACEOF @@ -1604,7 +1604,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -Pigeonhole configure 0.5.3 +Pigeonhole configure 0.5.4 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1973,7 +1973,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by Pigeonhole $as_me 0.5.3, which was +It was created by Pigeonhole $as_me 0.5.4, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2863,7 +2863,7 @@ # Define the identity of the package. PACKAGE='dovecot-2.3-pigeonhole' - VERSION='0.5.3' + VERSION='0.5.4' # Some tools Automake needs. @@ -13392,7 +13392,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by Pigeonhole $as_me 0.5.3, which was +This file was extended by Pigeonhole $as_me 0.5.4, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -13458,7 +13458,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -Pigeonhole config.status 0.5.3 +Pigeonhole config.status 0.5.4 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dovecot-2.3-pigeonhole-0.5.3/configure.ac new/dovecot-2.3-pigeonhole-0.5.4/configure.ac --- old/dovecot-2.3-pigeonhole-0.5.3/configure.ac 2018-10-01 14:33:48.000000000 +0200 +++ new/dovecot-2.3-pigeonhole-0.5.4/configure.ac 2018-11-23 12:30:17.000000000 +0100 @@ -2,7 +2,7 @@ # Be sure to update ABI version also if anything changes that might require # recompiling plugins. Most importantly that means if any structs are changed. -AC_INIT([Pigeonhole], [0.5.3], [[email protected]], [dovecot-2.3-pigeonhole]) +AC_INIT([Pigeonhole], [0.5.4], [[email protected]], [dovecot-2.3-pigeonhole]) AC_DEFINE_UNQUOTED([PIGEONHOLE_ABI_VERSION], "0.5.ABIv0($PACKAGE_VERSION)", [Pigeonhole ABI version]) AC_CONFIG_AUX_DIR([.]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dovecot-2.3-pigeonhole-0.5.3/pigeonhole-version.h new/dovecot-2.3-pigeonhole-0.5.4/pigeonhole-version.h --- old/dovecot-2.3-pigeonhole-0.5.3/pigeonhole-version.h 2018-10-01 14:39:31.000000000 +0200 +++ new/dovecot-2.3-pigeonhole-0.5.4/pigeonhole-version.h 2018-11-23 13:32:50.000000000 +0100 @@ -1,6 +1,6 @@ #ifndef PIGEONHOLE_VERSION_H #define PIGEONHOLE_VERSION_H -#define PIGEONHOLE_VERSION_FULL PIGEONHOLE_VERSION" (f018bbab)" +#define PIGEONHOLE_VERSION_FULL PIGEONHOLE_VERSION" (60b0f48d)" #endif /* PIGEONHOLE_VERSION_H */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dovecot-2.3-pigeonhole-0.5.3/src/lib-sieve/plugins/vacation/cmd-vacation.c new/dovecot-2.3-pigeonhole-0.5.4/src/lib-sieve/plugins/vacation/cmd-vacation.c --- old/dovecot-2.3-pigeonhole-0.5.3/src/lib-sieve/plugins/vacation/cmd-vacation.c 2018-09-23 13:25:18.000000000 +0200 +++ new/dovecot-2.3-pigeonhole-0.5.4/src/lib-sieve/plugins/vacation/cmd-vacation.c 2018-11-22 23:48:08.000000000 +0100 @@ -857,7 +857,7 @@ T_BEGIN { msg_addr = message_address_parse (pool_datastack_create(), (const unsigned char *) *hdsp, - strlen(*hdsp), 256, FALSE); + strlen(*hdsp), 256, 0); while ( msg_addr != NULL && !result ) { if (msg_addr->domain != NULL) { struct smtp_address addr; @@ -916,7 +916,7 @@ addr = message_address_parse (pool_datastack_create(), (const unsigned char *) header, - strlen(header), 256, FALSE); + strlen(header), 256, 0); while ( addr != NULL ) { if ( addr->domain != NULL && !addr->invalid_syntax ) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dovecot-2.3-pigeonhole-0.5.3/src/lib-sieve/sieve-address.c new/dovecot-2.3-pigeonhole-0.5.4/src/lib-sieve/sieve-address.c --- old/dovecot-2.3-pigeonhole-0.5.3/src/lib-sieve/sieve-address.c 2018-09-23 13:18:15.000000000 +0200 +++ new/dovecot-2.3-pigeonhole-0.5.4/src/lib-sieve/sieve-address.c 2018-10-31 21:14:35.000000000 +0100 @@ -141,7 +141,7 @@ addrlist->cur_address = message_address_parse( pool_datastack_create(), (const unsigned char *) str_data(value_item), - str_len(value_item), 256, FALSE); + str_len(value_item), 256, 0); } i_unreached(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dovecot-2.3-pigeonhole-0.5.3/src/lib-sieve/sieve.c new/dovecot-2.3-pigeonhole-0.5.4/src/lib-sieve/sieve.c --- old/dovecot-2.3-pigeonhole-0.5.3/src/lib-sieve/sieve.c 2018-09-23 13:18:15.000000000 +0200 +++ new/dovecot-2.3-pigeonhole-0.5.4/src/lib-sieve/sieve.c 2018-11-23 12:26:08.000000000 +0100 @@ -546,13 +546,10 @@ int sieve_script_env_init(struct sieve_script_env *senv, struct mail_user *user, const char **error_r) { - const struct mail_storage_settings *mail_set = - mail_user_set_get_storage_set(user); const struct message_address *postmaster; const char *error; - if ( !mail_storage_get_postmaster_address(mail_set, - &postmaster, &error) ) { + if (!mail_user_get_postmaster_address(user, &postmaster, &error)) { *error_r = t_strdup_printf( "Invalid postmaster_address: %s", error); return -1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dovecot-2.3-pigeonhole-0.5.3/src/lib-sieve/util/test-edit-mail.c new/dovecot-2.3-pigeonhole-0.5.4/src/lib-sieve/util/test-edit-mail.c --- old/dovecot-2.3-pigeonhole-0.5.3/src/lib-sieve/util/test-edit-mail.c 2018-09-25 23:14:05.000000000 +0200 +++ new/dovecot-2.3-pigeonhole-0.5.4/src/lib-sieve/util/test-edit-mail.c 2018-11-23 12:26:08.000000000 +0100 @@ -751,11 +751,14 @@ test_edit_mail_big_header, NULL }; + const enum master_service_flags service_flags = + MASTER_SERVICE_FLAG_STANDALONE | + MASTER_SERVICE_FLAG_DONT_SEND_STATS | + MASTER_SERVICE_FLAG_NO_CONFIG_SETTINGS; const char *cwd, *error; - master_service = master_service_init("test-edit-header", - MASTER_SERVICE_FLAG_STANDALONE | - MASTER_SERVICE_FLAG_NO_CONFIG_SETTINGS, &argc, &argv, ""); + master_service = master_service_init("test-edit-header", service_flags, + &argc, &argv, ""); master_service_init_finish(master_service); if (t_get_working_dir(&cwd, &error) < 0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dovecot-2.3-pigeonhole-0.5.3/src/lib-sieve-tool/sieve-tool.c new/dovecot-2.3-pigeonhole-0.5.4/src/lib-sieve-tool/sieve-tool.c --- old/dovecot-2.3-pigeonhole-0.5.3/src/lib-sieve-tool/sieve-tool.c 2018-09-23 13:25:18.000000000 +0200 +++ new/dovecot-2.3-pigeonhole-0.5.4/src/lib-sieve-tool/sieve-tool.c 2018-11-23 12:26:08.000000000 +0100 @@ -139,6 +139,7 @@ struct sieve_tool *tool; enum master_service_flags service_flags = MASTER_SERVICE_FLAG_STANDALONE | + MASTER_SERVICE_FLAG_DONT_SEND_STATS | MASTER_SERVICE_FLAG_NO_INIT_DATASTACK_FRAME; if ( no_config ) @@ -489,7 +490,7 @@ return NULL; addr = message_address_parse(pool_datastack_create(), (const unsigned char *)str, - strlen(str), 1, FALSE); + strlen(str), 1, 0); return addr == NULL || addr->mailbox == NULL || addr->domain == NULL || *addr->mailbox == '\0' || *addr->domain == '\0' ? NULL : smtp_address_create_temp(addr->mailbox, addr->domain); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dovecot-2.3-pigeonhole-0.5.3/src/managesieve/main.c new/dovecot-2.3-pigeonhole-0.5.4/src/managesieve/main.c --- old/dovecot-2.3-pigeonhole-0.5.3/src/managesieve/main.c 2018-09-25 23:14:12.000000000 +0200 +++ new/dovecot-2.3-pigeonhole-0.5.4/src/managesieve/main.c 2018-11-23 12:26:08.000000000 +0100 @@ -274,6 +274,8 @@ } else { service_flags |= MASTER_SERVICE_FLAG_KEEP_CONFIG_OPEN; } + if ( getenv("DUMP_CAPABILITY") != NULL ) + service_flags |= MASTER_SERVICE_FLAG_DONT_SEND_STATS; master_service = master_service_init("managesieve", service_flags, &argc, &argv, "t:u:"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dovecot-2.3-pigeonhole-0.5.3/src/plugins/imap-filter-sieve/cmd-filter-sieve.c new/dovecot-2.3-pigeonhole-0.5.4/src/plugins/imap-filter-sieve/cmd-filter-sieve.c --- old/dovecot-2.3-pigeonhole-0.5.3/src/plugins/imap-filter-sieve/cmd-filter-sieve.c 2018-09-25 23:14:05.000000000 +0200 +++ new/dovecot-2.3-pigeonhole-0.5.4/src/plugins/imap-filter-sieve/cmd-filter-sieve.c 2018-11-23 12:26:08.000000000 +0100 @@ -316,18 +316,11 @@ if (ctx->script_input != NULL) { if ((ret=cmd_filter_sieve_script_read_stream(ctx)) == 0) return FALSE; - if (ret < 0) { - imap_filter_deinit(ctx); - return TRUE; - } - - imap_parser_reset(ctx->parser); - cmd->func = imap_filter_search; - return imap_filter_search(cmd); + } else { + if ((ret=cmd_filter_sieve_script_parse_value_arg(ctx)) == 0) + return FALSE; } - if ((ret=cmd_filter_sieve_script_parse_value_arg(ctx)) == 0) - return FALSE; if (ret < 0) { /* already sent the error to client */ ; imap_filter_deinit(ctx); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dovecot-2.3-pigeonhole-0.5.3/src/plugins/imap-filter-sieve/imap-filter-sieve.c new/dovecot-2.3-pigeonhole-0.5.4/src/plugins/imap-filter-sieve/imap-filter-sieve.c --- old/dovecot-2.3-pigeonhole-0.5.3/src/plugins/imap-filter-sieve/imap-filter-sieve.c 2018-09-23 13:18:15.000000000 +0200 +++ new/dovecot-2.3-pigeonhole-0.5.4/src/plugins/imap-filter-sieve/imap-filter-sieve.c 2018-11-23 12:26:08.000000000 +0100 @@ -687,6 +687,15 @@ struct sieve_script *script = scripts[i].script; struct sieve_binary *sbin = scripts[i].binary; + if (sbin == NULL) { + if (debug) { + sieve_sys_debug(svinst, + "Skipping script from `%s'", + sieve_script_location(script)); + } + continue; + } + cpflags = 0; exflags = SIEVE_EXECUTE_FLAG_SKIP_RESPONSES; @@ -701,9 +710,6 @@ ehandler = ifsuser->master_ehandler; } - /* Open */ - i_assert(sbin != NULL); - /* Execute */ if (debug) { sieve_sys_debug(svinst, @@ -767,6 +773,7 @@ return 1; } + i_assert(last_script != NULL); /* at least one script is executed */ return imap_sieve_filter_handle_exec_status(sctx, last_script, ret, keep, scriptenv->exec_status); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dovecot-2.3-pigeonhole-0.5.3/src/testsuite/testsuite-message.c new/dovecot-2.3-pigeonhole-0.5.4/src/testsuite/testsuite-message.c --- old/dovecot-2.3-pigeonhole-0.5.3/src/testsuite/testsuite-message.c 2018-09-23 11:53:59.000000000 +0200 +++ new/dovecot-2.3-pigeonhole-0.5.4/src/testsuite/testsuite-message.c 2018-10-31 21:14:35.000000000 +0100 @@ -53,7 +53,7 @@ return NULL; addr = message_address_parse(pool_datastack_create(), (const unsigned char *)str, - strlen(str), 1, FALSE); + strlen(str), 1, 0); if ( addr == NULL || addr->mailbox == NULL || *addr->mailbox == '\0' ) return NULL; ++++++ dovecot-2.3-pigeonhole-0.5.3.tar.gz -> dovecot-2.3.4.tar.gz ++++++ /work/SRC/openSUSE:Factory/dovecot23/dovecot-2.3-pigeonhole-0.5.3.tar.gz /work/SRC/openSUSE:Factory/.dovecot23.new.19453/dovecot-2.3.4.tar.gz differ: char 5, line 1
