Hello community, here is the log from the commit of package dovecot checked in at Tue Sep 11 21:37:47 CEST 2007. -------- --- dovecot/dovecot.changes 2007-08-28 14:30:52.000000000 +0200 +++ /mounts/work_src_done/STABLE/dovecot/dovecot.changes 2007-09-10 01:30:03.478425000 +0200 @@ -1,0 +2,38 @@ +Mon Sep 10 01:11:54 CEST 2007 - mrueckert@suse.de + +- recompressed tarballs with bzip2 + +------------------------------------------------------------------- +Mon Sep 10 00:57:35 CEST 2007 - mrueckert@suse.de + +- update to v1.0.5 (#309088) + - deliver: v1.0.4 broke home directory handling + - maildir: Creating mailboxes didn't use dovecot-shared's group + for cur/new/tmp directories. +- added dovecot-sieve-1.0.2_cmu_sieve_and_userdir.patch + - pull in fixes from cmu sieve upstream + - better error message if the per-user script location is not set +- added dovecot-sieve-1.0.2_informational_logging_of_vacation.patch + informational logging of vacation response outcome +- no longer package useless %{_libdir}/%{pkg_name}/dovecot-config + +------------------------------------------------------------------- +Sun Sep 9 03:57:21 CEST 2007 - mrueckert@suse.de + +- update to v1.0.4 (#309088) + * Assume a MIME message if Content-Type: header exists, even if + Mime-Version: header doesn't. + - IMAP: CREATE ns_prefix/box/ didn't work right when namespace + prefix existed. + - deliver: plugin {} settings were overriding settings from + userdb. + - mbox: Expunging the first message might not have worked always + - PostgreSQL: If we can't connect to server, timeout queries + after a while instead of trying forever. + - Solaris: sendfile() support was broken and could have caused + 100% CPU usage and the connection hanging. + - IMAP: Fixed infinite loop in some situations +- removed dovecot-1.0.3_bad_fetch_store.patch: + included in update + +------------------------------------------------------------------- Old: ---- dovecot-1.0.3_bad_fetch_store.patch dovecot-1.0.3.tar.gz dovecot-sieve-1.0.2.tar.gz New: ---- dovecot-1.0.5.tar.bz2 dovecot-pkgconfig.patch dovecot-sieve-1.0.2_cmu_sieve_and_userdir.patch dovecot-sieve-1.0.2_informational_logging_of_vacation.patch dovecot-sieve-1.0.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dovecot.spec ++++++ --- /var/tmp/diff_new_pack.mS3195/_old 2007-09-11 21:37:29.000000000 +0200 +++ /var/tmp/diff_new_pack.mS3195/_new 2007-09-11 21:37:29.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package dovecot (Version 1.0.3) +# spec file for package dovecot (Version 1.0.5) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,8 +11,8 @@ # norootforbuild Name: dovecot -Version: 1.0.3 -Release: 11 +Version: 1.0.5 +Release: 1 %define dovecot_sieve_version 1.0.2 # Group: Productivity/Networking/Email/Servers @@ -35,15 +35,19 @@ Conflicts: dovecot-snapshot # URL: http://www.dovecot.org -Source: http://www.dovecot.org/test/%{pkg_name}-%{version}.tar.gz -Source1: http://www.dovecot.org/releases/sieve/dovecot-sieve-%{dovecot_sieve_version}.tar.gz +# taken from http://www.dovecot.org/releases/1.0/%{pkg_name}-%{version}.tar.gz +Source: %{pkg_name}-%{version}.tar.bz2 +# taken from http://www.dovecot.org/releases/sieve/dovecot-sieve-%{dovecot_sieve_version}.tar.gz +Source1: dovecot-sieve-%{dovecot_sieve_version}.tar.bz2 Source2: %{pkg_name}.init Source3: %{pkg_name}.pam Source4: %{pkg_name}.README.SuSE Source5: dovecot-rpmlintrc Patch: dovecot-1.0.cvs_pie.patch Patch1: dovecot-sieve-1.0.2_pie.patch -Patch2: dovecot-1.0.3_bad_fetch_store.patch +Patch2: dovecot-sieve-1.0.2_cmu_sieve_and_userdir.patch +Patch3: dovecot-sieve-1.0.2_informational_logging_of_vacation.patch +Patch4: dovecot-pkgconfig.patch # Summary: IMAP and POP3 Server Written Primarily with Security in Mind @@ -91,6 +95,7 @@ %patch %patch1 %patch2 +%patch3 %{__sed} -i -e 's|#ssl_disable = no|ssl_disable = yes|' %{pkg_name}-example.conf %{__sed} -i -e 's|/usr/libexec|%{_libdir}|g' %{pkg_name}-example.conf %{__perl} -p -i -e 's|#(mail_plugin_dir =) /usr/lib/dovecot/(.*)$|$1 %{_libdir}/dovecot/modules/$2|g' %{pkg_name}-example.conf @@ -126,6 +131,7 @@ --with-gssapi \ --with-deliver \ --with-docs \ + --disable-static \ --enable-header-install \ --enable-ipv6 \ --enable-pie @@ -148,6 +154,7 @@ --libexecdir=%{_prefix}/lib/ \ --with-moduledir=%{_libdir}/%{pkg_name}/modules \ --with-dovecot=../ \ + --disable-static \ --enable-pie ln -fsv ../ylwrap ylwrap make @@ -187,6 +194,8 @@ AUTHORS ChangeLog COPYING* NEWS TODO README \ %{buildroot}%{_docdir}/%{pkg_name}/ %{__gzip} -9v %{buildroot}%{_docdir}/%{pkg_name}/ChangeLog +# useless atm +%{__rm} -v %{buildroot}%{_libdir}/%{pkg_name}/dovecot-config %clean %{__rm} -rf "%{buildroot}" @@ -273,9 +282,40 @@ %files devel %defattr(-,root,root,-) %{_includedir}/%{pkg_name}/ -%{_libdir}/%{pkg_name}/dovecot-config +#%{_libdir}/pkgconfig/dovecot.pc +# useless atm +# %{_libdir}/%{pkg_name}/dovecot-config %changelog +* Mon Sep 10 2007 - mrueckert@suse.de +- recompressed tarballs with bzip2 +* Mon Sep 10 2007 - mrueckert@suse.de +- update to v1.0.5 (#309088) + - deliver: v1.0.4 broke home directory handling + - maildir: Creating mailboxes didn't use dovecot-shared's group + for cur/new/tmp directories. +- added dovecot-sieve-1.0.2_cmu_sieve_and_userdir.patch + - pull in fixes from cmu sieve upstream + - better error message if the per-user script location is not set +- added dovecot-sieve-1.0.2_informational_logging_of_vacation.patch + informational logging of vacation response outcome +- no longer package useless %%{_libdir}/%%{pkg_name}/dovecot-config +* Sun Sep 09 2007 - mrueckert@suse.de +- update to v1.0.4 (#309088) + * Assume a MIME message if Content-Type: header exists, even if + Mime-Version: header doesn't. + - IMAP: CREATE ns_prefix/box/ didn't work right when namespace + prefix existed. + - deliver: plugin {} settings were overriding settings from + userdb. + - mbox: Expunging the first message might not have worked always + - PostgreSQL: If we can't connect to server, timeout queries + after a while instead of trying forever. + - Solaris: sendfile() support was broken and could have caused + 100%% CPU usage and the connection hanging. + - IMAP: Fixed infinite loop in some situations +- removed dovecot-1.0.3_bad_fetch_store.patch: + included in update * Tue Aug 28 2007 - mrueckert@suse.de - fixed dovecot-devel: --with-headers got renamed to --enable-header-install. ++++++ dovecot-pkgconfig.patch ++++++ diff -r 34445ab6cd58 Makefile.am --- Makefile.am Mon Aug 27 15:58:16 2007 +0300 +++ Makefile.am Wed Sep 05 07:58:26 2007 +0200 @@ -18,6 +18,10 @@ datafiles = \ datafiles = \ dovecot-config +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = dovecot.pc + + if INSTALL_HEADERS pkginclude_HEADERS = config.h pkglib_DATA = $(datafiles) diff -r 34445ab6cd58 configure.in --- configure.in Mon Aug 27 15:58:16 2007 +0300 +++ configure.in Wed Sep 05 07:58:26 2007 +0200 @@ -1857,6 +1857,7 @@ src/plugins/trash/Makefile src/plugins/trash/Makefile src/plugins/zlib/Makefile stamp.h +dovecot.pc dovecot-config.in]) AC_OUTPUT diff -r 34445ab6cd58 dovecot.pc.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ dovecot.pc.in Wed Sep 05 07:58:26 2007 +0200 @@ -0,0 +1,18 @@ +# +prefix=@prefix@ +exec_prefix=@exec_prefix@ +bindir=@bindir@ +libdir=@libdir@ +datarootdir=@datarootdir@ +datadir=@datadir@ +sysconfdir=@sysconfdir@ +includedir=@includedir@ +package=@PACKAGE@ +moduledir=@moduledir@ + +Name: Dovecot +Description: Dovecot Secure IMAP/POP3 Server +Version: @VERSION@ +Libs: +Cflags: -I${includedir} + ++++++ dovecot-sieve-1.0.2_cmu_sieve_and_userdir.patch ++++++ http://hg.dovecot.org/dovecot-sieve-1.0/raw-rev/5132f4b25eb0 http://hg.dovecot.org/dovecot-sieve-1.0/raw-rev/62bbb51b3e34 # HG changeset patch # User <pod@sysdev.oucs.ox.ac.uk> # Date 1186514697 -3600 # Node ID 5132f4b25eb08437f22ce2458bfa6b1e4d27ae9c # Parent 9137442dd18a511023a29fc50062cdb0091e3b1b Merge in changes from CMU sieve 2.3.8 --- dovecot-sieve-1.0.2/src/libsieve/bc_eval.c Wed Aug 01 15:02:51 2007 +0300 +++ dovecot-sieve-1.0.2/src/libsieve/bc_eval.c Tue Aug 07 20:24:57 2007 +0100 @@ -124,7 +124,7 @@ static int sysaddr(const char *addr) if (!strncasecmp(addr, "majordomo", 9)) return 1; - if (strstr(addr, "-request")) + if (strstr(addr, "-request@")) return 1; if (!strncmp(addr, "owner-", 6)) @@ -186,6 +186,17 @@ static char* look_for_me(char *myaddr, i return found; } + +static char *list_fields[] = { + "list-id", + "list-help", + "list-subscribe", + "list-unsubscribe", + "list-post", + "list-owner", + "list-archive", + NULL +}; /* Determine if we should respond to a vacation message */ static int shouldRespond(void * m, sieve_interp_t *interp, @@ -195,14 +206,28 @@ static int shouldRespond(void * m, sieve const char **body; char buf[128]; char *myaddr = NULL; - int l = SIEVE_OK; + int l = SIEVE_OK, j; void *data = NULL, *marker = NULL; char *tmp; int curra, x; char *found=NULL; char *reply_to=NULL; - /* is there an Auto-Submitted keyword other than "no"? */ + /* Implementations SHOULD NOT respond to any message that contains a + "List-Id" [RFC2919], "List-Help", "List-Subscribe", "List- + Unsubscribe", "List-Post", "List-Owner" or "List-Archive" [RFC2369] + header field. */ + for (j = 0; list_fields[j]; j++) { + strcpy(buf, list_fields[j]); + if (interp->getheader(m, buf, &body) == SIEVE_OK) { + l = SIEVE_DONE; + break; + } + } + + /* Implementations SHOULD NOT respond to any message that has an + "Auto-submitted" header field with a value other than "no". + This header field is described in [RFC3834]. */ strcpy(buf, "auto-submitted"); if (interp->getheader(m, buf, &body) == SIEVE_OK) { /* we don't deal with comments, etc. here */ @@ -212,6 +237,7 @@ static int shouldRespond(void * m, sieve } /* is there a Precedence keyword of "junk | bulk | list"? */ + /* XXX non-standard header, but worth checking */ strcpy(buf, "precedence"); if (interp->getheader(m, buf, &body) == SIEVE_OK) { /* we don't deal with comments, etc. here */ @@ -282,7 +308,7 @@ static int shouldRespond(void * m, sieve if (l == SIEVE_OK) { /* ok, we're willing to respond to the sender. but is this message to me? that is, is my address - in the TO, CC or BCC fields? */ + in the [Resent]-To, [Resent]-Cc or [Resent]-Bcc fields? */ if (strcpy(buf, "to"), interp->getheader(m, buf, &body) == SIEVE_OK) found = look_for_me(myaddr, numaddresses ,bc, i, body); @@ -290,6 +316,15 @@ static int shouldRespond(void * m, sieve (interp->getheader(m, buf, &body) == SIEVE_OK))) found = look_for_me(myaddr, numaddresses, bc, i, body); if (!found && (strcpy(buf, "bcc"), + (interp->getheader(m, buf, &body) == SIEVE_OK))) + found = look_for_me(myaddr, numaddresses, bc, i, body); + if (!found && (strcpy(buf, "resent-to"), + (interp->getheader(m, buf, &body) == SIEVE_OK))) + found = look_for_me(myaddr, numaddresses ,bc, i, body); + if (!found && (strcpy(buf, "resent-cc"), + (interp->getheader(m, buf, &body) == SIEVE_OK))) + found = look_for_me(myaddr, numaddresses, bc, i, body); + if (!found && (strcpy(buf, "resent-bcc"), (interp->getheader(m, buf, &body) == SIEVE_OK))) found = look_for_me(myaddr, numaddresses, bc, i, body); if (!found) @@ -1093,10 +1128,7 @@ int sieve_eval_bc(sieve_interp_t *i, con /* s[0] contains the original subject */ const char *origsubj = s[0]; - while (!strncasecmp(origsubj, "Re: ", 4)) - origsubj += 4; - - snprintf(subject, sizeof(subject), "Re: %s", origsubj); + snprintf(subject, sizeof(subject), "Auto: %s", origsubj); } } else { /* user specified subject */ # HG changeset patch # User Timo Sirainen <tss@iki.fi> # Date 1187188655 -10800 # Node ID 62bbb51b3e34b3dc34ba08b7490cebace6d14ab7 # Parent 5132f4b25eb08437f22ce2458bfa6b1e4d27ae9c Better error message for "per-user script location not set." --- dovecot-sieve-1.0.2/src/cmusieve-plugin.c Tue Aug 07 20:24:57 2007 +0100 +++ dovecot-sieve-1.0.2/src/cmusieve-plugin.c Wed Aug 15 17:37:35 2007 +0300 @@ -35,10 +35,8 @@ static const char *get_sieve_path(void) } } else { if (home == NULL) { - /* we must have a home directory */ - i_error("userdb(%s) didn't return a home directory or " - "sieve script location, can't find it", - getenv("USER")); + i_error("Per-user script path is unknown. See " + "http://wiki.dovecot.org/LDA/Sieve#location"); return NULL; } ++++++ dovecot-sieve-1.0.2_informational_logging_of_vacation.patch ++++++ http://hg.dovecot.org/dovecot-sieve-1.0/raw-rev/9f9a867501bf # HG changeset patch # User <pod@sysdev.oucs.ox.ac.uk> # Date 1187020492 -3600 # Node ID 9f9a867501bff1056f26deae98ac07d981895060 # Parent 62bbb51b3e34b3dc34ba08b7490cebace6d14ab7 informational logging of vacation response outcome --- dovecot-sieve-1.0.2/src/sieve-cmu.c Wed Aug 15 17:37:35 2007 +0300 +++ dovecot-sieve-1.0.2/src/sieve-cmu.c Mon Aug 13 16:54:52 2007 +0100 @@ -346,23 +346,25 @@ static int autorespond(void *ac, static int autorespond(void *ac, void *ic __attr_unused__, void *sc, - void *mc __attr_unused__, + void *mc, const char **errmsg __attr_unused__) { sieve_autorespond_context_t *arc = (sieve_autorespond_context_t *) ac; script_data_t *sd = (script_data_t *) sc; - int ret; + sieve_msgdata_t *md = mc; /* ok, let's see if we've responded before */ - ret = duplicate_check(arc->hash, arc->len, sd->username) ? - SIEVE_DONE : SIEVE_OK; - - if (ret == SIEVE_OK) { - duplicate_mark(arc->hash, arc->len, sd->username, - ioloop_time + arc->days * (24 * 60 * 60)); - } - - return ret; + if (duplicate_check(arc->hash, arc->len, sd->username)) { + i_info("msgid=%s: discarded duplicate vacation response to <%s>", + md->id == NULL ? "" : str_sanitize(md->id, 80), + str_sanitize(md->return_path, 80)); + return SIEVE_DONE; + } + + duplicate_mark(arc->hash, arc->len, sd->username, + ioloop_time + arc->days * (24 * 60 * 60)); + + return SIEVE_OK; } static int send_response(void *ac, @@ -409,6 +411,9 @@ static int send_response(void *ac, if (smtp_client_close(smtp_client) == 0) { duplicate_mark(outmsgid, strlen(outmsgid), sdata->username, ioloop_time + DUPLICATE_DEFAULT_KEEP); + i_info("msgid=%s: sent vacation response to <%s>", + md->id == NULL ? "" : str_sanitize(md->id, 80), + str_sanitize(md->return_path, 80)); return SIEVE_OK; } else { *errmsg = "Error sending mail"; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de