Mailinglist Archive: opensuse-commit (1314 mails)
| < Previous | Next > |
commit postfix for openSUSE:12.1:Update:Test
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Wed, 11 Jan 2012 18:28:58 +0100
- Message-id: <20120111172858.717F42031F@hilbert.suse.de>
Hello community,
here is the log from the commit of package postfix for
openSUSE:12.1:Update:Test checked in at 2012-01-11 18:28:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.1:Update:Test/postfix (Old)
and /work/SRC/openSUSE:12.1:Update:Test/.postfix.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postfix", Maintainer is "varkoly@xxxxxxxx"
Changes:
--------
--- /work/SRC/openSUSE:12.1:Update:Test/postfix/postfix.changes 2011-12-14
17:43:08.000000000 +0100
+++ /work/SRC/openSUSE:12.1:Update:Test/.postfix.new/postfix.changes
2012-01-11 18:28:55.000000000 +0100
@@ -2 +2,6 @@
-Tue Dec 13 14:43:57 UTC 2011 - varkoly@xxxxxxxx
+Wed Jan 11 14:21:21 UTC 2012 - varkoly@xxxxxxxx
+
+- bnc#738900 - cyrus-imapd not receiving mail from postfix
+
+-------------------------------------------------------------------
+Tue Dec 13 14:50:45 UTC 2011 - varkoly@xxxxxxxx
@@ -7 +12 @@
-Tue Dec 6 11:07:00 UTC 2011 - varkoly@xxxxxxxx
+Tue Dec 6 11:04:12 UTC 2011 - varkoly@xxxxxxxx
@@ -12 +17,6 @@
-Fri Dec 2 07:07:00 UTC 2011 - varkoly@xxxxxxxx
+Fri Dec 2 06:44:28 UTC 2011 - varkoly@xxxxxxxx
+
+- bnc#728308 - warning output after update the postfix package
+
+-------------------------------------------------------------------
+Wed Nov 9 20:05:38 UTC 2011 - varkoly@xxxxxxxx
@@ -14 +24,9 @@
-- bnc#728308 - warning output after update the postfix package.
+- update to 2.8.7
+ Bugfixes:
+ smtpd(8) did not sanitize newline characters in cleanup(8)
+ REJECT messages, causing them to be sent out via SMTP as bare newline
characters.
+ smtpd(8) sent multi-line responses from a before-queue content filter as
text with
+ bare <LF> instead of <CR><LF>.
+ Workaround: postscreen sent non-compliant SMTP responses (220- followed by
421)
+ when it could not give a connection to a real smtpd process, causing some
+ remote SMTP clients to bounce mail.
Old:
----
postfix-2.8.5.tar.bz2
New:
----
postfix-2.8.7.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ postfix.spec ++++++
--- /var/tmp/diff_new_pack.QJD7iE/_old 2012-01-11 18:28:55.000000000 +0100
+++ /var/tmp/diff_new_pack.QJD7iE/_new 2012-01-11 18:28:55.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package postfix
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,13 @@
#
-
Name: postfix
Summary: A fast, secure, and flexible mailer
-Version: 2.8.5
-Release: 1
-License: IBM Public License ..
+License: IPL-1.0
Group: Productivity/Networking/Email/Servers
+Version: 2.8.7
+Release: 0
Url: http://www.postfix.org/
-AutoReqProv: on
Source: %{name}-%{version}.tar.bz2
Source1: %{name}-SuSE.tar.gz
Source2: %{name}-mysql.tar.bz2
@@ -42,7 +40,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %insserv_prereq %fillup_prereq
PreReq: /usr/bin/getent
-PreReq: /usr/sbin/useradd /usr/sbin/groupadd
+PreReq: /usr/sbin/useradd /usr/sbin/groupadd /usr/sbin/usermod
PreReq: /bin/sed /bin/awk /bin/grep
PreReq: textutils sh-utils fileutils pcre netcfg
%if 0%{?suse_version} > 1130
@@ -51,7 +49,9 @@
Requires: iproute2
BuildRequires: db-devel
BuildRequires: mysql-devel
-BuildRequires: openldap2-devel pcre-devel postgresql-devel
+BuildRequires: openldap2-devel
+BuildRequires: pcre-devel
+BuildRequires: postgresql-devel
# require pwdutils to make postinstall script check work
BuildRequires: pwdutils
%if 0%{?suse_version} >= 1100
@@ -84,6 +84,7 @@
%define pf_uid 51
%define pf_gid 51
%define maildrop_gid 59
+%define mail_gid 12
%define conf_backup_dir /var/adm/backup/%{name}
%define omc_pdir /usr/share/omc/
%define omc_dir /usr/share/omc/svcinfo.d/
@@ -100,9 +101,7 @@
%package devel
Summary: Development headers for the postfix package
-License: IBM Public License ..
Group: Development/Libraries/C and C++
-AutoReqProv: on
PreReq: %{name} = %{version}
%description devel
@@ -110,7 +109,6 @@
%package doc
Summary: Documentations for the postfix package
-License: IBM Public License ..
Group: Productivity/Networking/Email/Servers
%if 0%{?suse_version} >= 1120
BuildArch: noarch
@@ -122,9 +120,7 @@
%package mysql
Summary: Postfix plugin to support MySQL maps
-License: IBM Public License ..
Group: Productivity/Networking/Email/Servers
-AutoReqProv: on
PreReq: %{name} = %{version}
%description mysql
@@ -133,9 +129,7 @@
%package postgresql
Summary: Postfix plugin to support PostgreSQL maps
-License: IBM Public License ..
Group: Productivity/Networking/Email/Servers
-AutoReqProv: on
PreReq: %{name} = %{version}
%description postgresql
@@ -181,6 +175,7 @@
/usr/sbin/groupadd -g %{pf_gid} -o -r %{name} 2> /dev/null || :
/usr/sbin/groupadd -g %{maildrop_gid} -o -r maildrop 2> /dev/null || :
/usr/sbin/useradd -r -o -g %{name} -u %{pf_uid} -s /bin/false -c "Postfix
Daemon" -d /%{pf_queue_directory} %{name} 2> /dev/null || :
+/usr/sbin/usermod -G %{maildrop_gid},%{mail_gid} {name} 2> /dev/null || :
mkdir -p $RPM_BUILD_ROOT/%{_libdir}
install lib/*.1 $RPM_BUILD_ROOT/%{_libdir}
for i in $RPM_BUILD_ROOT/%{_libdir}/*.1; do
@@ -330,6 +325,7 @@
/usr/sbin/groupadd -g %{pf_gid} -o -r %{name} 2> /dev/null || :
/usr/sbin/groupadd -g %{maildrop_gid} -o -r maildrop 2> /dev/null || :
/usr/sbin/useradd -r -o -g %{name} -u %{pf_uid} -s /bin/false -c "Postfix
Daemon" -d /%{pf_queue_directory} %{name} 2> /dev/null || :
+/usr/sbin/usermod -G %{maildrop_gid},%{mail_gid} {name} 2> /dev/null || :
# ---------------------------------------------------------------------------
%pre mysql
++++++ postfix-2.8.5.tar.bz2 -> postfix-2.8.7.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/HISTORY new/postfix-2.8.7/HISTORY
--- old/postfix-2.8.5/HISTORY 2011-08-31 22:02:02.000000000 +0200
+++ new/postfix-2.8.7/HISTORY 2011-11-05 20:16:53.000000000 +0100
@@ -16648,3 +16648,50 @@
Bugfix: allow for Milters that send an SMTP server reply
without RFC 3463 enhanced status code. Reported by Vladimir
Vassiliev. File: milter/milter8.c.
+
+20110903
+
+ Bugfix: master daemon panic with "master_spawn: at process
+ limit" error, when "postfix reload" reduced the process
+ limit from (a value larger than the current process count
+ for some service) to (a value <= the current process count),
+ and then a new connection was made to that service. This
+ is the smallest change that eliminates the problem. The
+ final solution involves structural change, and goes into
+ the development release. File: master/master_avail.c.
+
+20110921
+
+ Bugfix (introduced: Postfix 1.1): smtpd(8) did not sanitize
+ newline characters in cleanup(8) REJECT messages, causing
+ them to be sent out via SMTP as bare newline characters.
+ This happened when a REJECT pattern matched multi-line
+ header text. Discovered by Kevin Locke. File: smtpd/smtpd.c.
+
+20110922
+
+ Bugfix (introduced: Postfix 2.1): smtpd(8) sent multi-line
+ responses from a before-queue content filter as text with
+ bare <LF> instead of <CR><LF>. Found during code maintenance.
+ File: smtpd/smtpd_proxy.c.
+
+20111020
+
+ EAI Future-proofing: don't apply strict_mime_encoding_domain
+ checks to unknown message subtypes such as message/global*.
+ File: global/mime_state.c.
+
+20111025
+
+ Workaround: postscreen sent non-compliant SMTP responses
+ (220- followed by 421) when it could not give a connection
+ to a real smtpd process, causing some remote SMTP clients
+ to bounce mail. The workaround is to hang up without sending
+ the 421 reply (which is harmless); the complete fix involves
+ too much change for a stable release. Problem reported by
+ Ralf Hildebrandt. File: postscreen/postscreen_send.c.
+
+20111102
+
+ Portability: OpenBSD 5.x is supported. Files: makedefs,
+ util/sys_defs.h.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/makedefs new/postfix-2.8.7/makedefs
--- old/postfix-2.8.5/makedefs 2011-06-16 00:36:37.000000000 +0200
+++ new/postfix-2.8.7/makedefs 2011-11-03 00:46:22.000000000 +0100
@@ -152,6 +152,8 @@
;;
OpenBSD.4*) SYSTYPE=OPENBSD4
;;
+ OpenBSD.5*) SYSTYPE=OPENBSD5
+ ;;
ekkoBSD.1*) SYSTYPE=EKKOBSD1
;;
NetBSD.1*) SYSTYPE=NETBSD1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/src/global/mail_version.h
new/postfix-2.8.7/src/global/mail_version.h
--- old/postfix-2.8.5/src/global/mail_version.h 2011-09-02 23:57:19.000000000
+0200
+++ new/postfix-2.8.7/src/global/mail_version.h 2011-11-05 20:17:13.000000000
+0100
@@ -20,8 +20,8 @@
* Patches change both the patchlevel and the release date. Snapshots have no
* patchlevel; they change the release date only.
*/
-#define MAIL_RELEASE_DATE "20110902"
-#define MAIL_VERSION_NUMBER "2.8.5"
+#define MAIL_RELEASE_DATE "20111105"
+#define MAIL_VERSION_NUMBER "2.8.7"
#ifdef SNAPSHOT
# define MAIL_VERSION_DATE "-" MAIL_RELEASE_DATE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/src/global/mime_state.c
new/postfix-2.8.7/src/global/mime_state.c
--- old/postfix-2.8.5/src/global/mime_state.c 2010-12-06 00:21:27.000000000
+0100
+++ new/postfix-2.8.7/src/global/mime_state.c 2011-10-20 23:31:43.000000000
+0200
@@ -925,7 +925,9 @@
if (state->curr_domain != MIME_ENC_7BIT)
REPORT_ERROR(state, MIME_ERR_ENCODING_DOMAIN,
mime_state_enc_name(state->curr_encoding));
- } else {
+ }
+ /* EAI: message/global allows non-identity encoding. */
+ else if (state->curr_stype == MIME_STYPE_RFC822) {
if (state->curr_encoding != state->curr_domain)
REPORT_ERROR(state, MIME_ERR_ENCODING_DOMAIN,
mime_state_enc_name(state->curr_encoding));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/src/master/master_avail.c
new/postfix-2.8.7/src/master/master_avail.c
--- old/postfix-2.8.5/src/master/master_avail.c 2009-06-11 22:46:17.000000000
+0200
+++ new/postfix-2.8.7/src/master/master_avail.c 2011-10-20 23:25:12.000000000
+0200
@@ -85,7 +85,9 @@
if (event == 0) /* XXX Can this happen? */
return;
- if (MASTER_THROTTLED(serv)) { /* XXX interface botch */
+ /* XXX Should check these when the process or service status is changed. */
+ if (!MASTER_LIMIT_OK(serv->max_proc, serv->total_proc)
+ || MASTER_THROTTLED(serv)) { /* XXX interface botch */
for (n = 0; n < serv->listen_fd_count; n++)
event_disable_readwrite(serv->listen_fd[n]);
} else {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/src/postscreen/postscreen_send.c
new/postfix-2.8.7/src/postscreen/postscreen_send.c
--- old/postfix-2.8.5/src/postscreen/postscreen_send.c 2011-02-16
14:40:32.000000000 +0100
+++ new/postfix-2.8.7/src/postscreen/postscreen_send.c 2011-11-05
14:48:27.000000000 +0100
@@ -187,7 +187,9 @@
PASS_CONNECT(psc_smtpd_service_name, NON_BLOCKING,
PSC_SEND_SOCK_CONNECT_TIMEOUT)) < 0) {
msg_warn("cannot connect to service %s: %m", psc_smtpd_service_name);
- PSC_SEND_REPLY(state, "421 4.3.2 All server ports are busy\r\n");
+ /* Best effort: after sending 220-, hang up without sending 421. */
+ if ((state->flags & PSC_STATE_FLAG_PREGR_TODO) == 0)
+ PSC_SEND_REPLY(state, "421 4.3.2 All server ports are busy\r\n");
psc_free_session_state(state);
return;
}
@@ -196,7 +198,9 @@
vstream_fileno(state->smtp_client_stream)) < 0) {
msg_warn("cannot pass connection to service %s: %m",
psc_smtpd_service_name);
- PSC_SEND_REPLY(state, "421 4.3.2 No system resources\r\n");
+ /* Best effort: after sending 220-, hang up without sending 421. */
+ if ((state->flags & PSC_STATE_FLAG_PREGR_TODO) == 0)
+ PSC_SEND_REPLY(state, "421 4.3.2 No system resources\r\n");
psc_free_session_state(state);
return;
} else {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/src/smtpd/smtpd.c
new/postfix-2.8.7/src/smtpd/smtpd.c
--- old/postfix-2.8.5/src/smtpd/smtpd.c 2011-02-07 19:34:41.000000000 +0100
+++ new/postfix-2.8.7/src/smtpd/smtpd.c 2011-10-20 23:28:55.000000000 +0200
@@ -3040,6 +3040,7 @@
if (state->err == 0) {
why = vstring_alloc(10);
state->err = mail_stream_finish(state->dest, why);
+ printable(STR(why), ' ');
} else
mail_stream_cleanup(state->dest);
state->dest = 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/src/smtpd/smtpd_proxy.c
new/postfix-2.8.7/src/smtpd/smtpd_proxy.c
--- old/postfix-2.8.5/src/smtpd/smtpd_proxy.c 2010-09-03 14:20:45.000000000
+0200
+++ new/postfix-2.8.7/src/smtpd/smtpd_proxy.c 2011-10-20 23:30:15.000000000
+0200
@@ -784,7 +784,7 @@
*/
if (LEN(proxy->buffer) < var_line_limit) {
if (VSTRING_LEN(proxy->buffer))
- VSTRING_ADDCH(proxy->buffer, '\n');
+ vstring_strcat(proxy->buffer, "\r\n");
vstring_strcat(proxy->buffer, STR(buffer));
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/src/util/sys_defs.h
new/postfix-2.8.7/src/util/sys_defs.h
--- old/postfix-2.8.5/src/util/sys_defs.h 2011-06-16 00:36:37.000000000
+0200
+++ new/postfix-2.8.7/src/util/sys_defs.h 2011-11-03 00:46:22.000000000
+0100
@@ -28,6 +28,7 @@
|| defined(FREEBSD8) \
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
+ || defined(OPENBSD5) \
|| defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \
|| defined(NETBSD4) \
|| defined(EKKOBSD1)
++++++ postfix-SuSE.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-SuSE/postfix.service
new/postfix-SuSE/postfix.service
--- old/postfix-SuSE/postfix.service 2011-12-13 15:45:39.000000000 +0100
+++ new/postfix-SuSE/postfix.service 2011-08-12 17:35:38.000000000 +0200
@@ -27,7 +27,6 @@
ExecStartPre=-/bin/echo 'Starting mail service (Postfix)'
EnvironmentFile=-/etc/sysconfig/postfix
ExecStartPre=/etc/postfix/system/update_chroot
-ExecStartPre=/etc/postfix/system/rebuild_tables
ExecStart=/usr/sbin/postfix start
ExecStartPost=/etc/postfix/system/wait_qmgr 60
ExecStartPost=/etc/postfix/system/cond_slp register
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-SuSE/rc.postfix new/postfix-SuSE/rc.postfix
--- old/postfix-SuSE/rc.postfix 2011-12-13 13:44:15.000000000 +0100
+++ new/postfix-SuSE/rc.postfix 2011-08-22 11:29:28.000000000 +0200
@@ -61,21 +61,6 @@
fi
}
-rebuild_tables() {
- if [ -n "${POSTFIX_UPDATE_MAPS/[yY][Ee][Ss]/}" ]; then
- return
- fi
- # Update the postmaps
- for i in $POSTFIX_MAP_LIST; do
- m=/etc/postfix/$i;
- d=$m.db
- test -e "$d" || continue;
- if [ -e $m -a $m -nt $d ]; then
- postmap $m;
- fi
- done
-}
-
chk_mysql_sock(){
if [ -n "$($print_defaults mysqld)" ]; then
MYSQL_SOCKET=$($print_defaults mysqld | grep -e '--socket[[:blank:]=]' |
awk -F"=" '{print $2}')
@@ -213,7 +198,6 @@
## the echo return value is set appropriate.
if ! checkproc -p $PIDFILE $MASTER_BIN; then
- rebuild_tables
$POSTFIX_BIN start > /dev/null 2>&1
else
rc_reset
@@ -262,10 +246,9 @@
echo -n "Reload mail service (Postfix)"
- rebuild_tables
$POSTFIX_BIN reload > /dev/null 2>&1
rc_status -v
- $POSTFIX_BIN flush > /dev/null 2>&1
+ POSTFIX_BIN flush > /dev/null 2>&1
## Otherwise:
#$0 stop && $0 start
@@ -274,7 +257,6 @@
reload)
echo -n "Reload mail service (Postfix)"
- rebuild_tables
$POSTFIX_BIN reload > /dev/null 2>&1
rc_status -v
$POSTFIX_BIN flush > /dev/null 2>&1
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
here is the log from the commit of package postfix for
openSUSE:12.1:Update:Test checked in at 2012-01-11 18:28:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.1:Update:Test/postfix (Old)
and /work/SRC/openSUSE:12.1:Update:Test/.postfix.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postfix", Maintainer is "varkoly@xxxxxxxx"
Changes:
--------
--- /work/SRC/openSUSE:12.1:Update:Test/postfix/postfix.changes 2011-12-14
17:43:08.000000000 +0100
+++ /work/SRC/openSUSE:12.1:Update:Test/.postfix.new/postfix.changes
2012-01-11 18:28:55.000000000 +0100
@@ -2 +2,6 @@
-Tue Dec 13 14:43:57 UTC 2011 - varkoly@xxxxxxxx
+Wed Jan 11 14:21:21 UTC 2012 - varkoly@xxxxxxxx
+
+- bnc#738900 - cyrus-imapd not receiving mail from postfix
+
+-------------------------------------------------------------------
+Tue Dec 13 14:50:45 UTC 2011 - varkoly@xxxxxxxx
@@ -7 +12 @@
-Tue Dec 6 11:07:00 UTC 2011 - varkoly@xxxxxxxx
+Tue Dec 6 11:04:12 UTC 2011 - varkoly@xxxxxxxx
@@ -12 +17,6 @@
-Fri Dec 2 07:07:00 UTC 2011 - varkoly@xxxxxxxx
+Fri Dec 2 06:44:28 UTC 2011 - varkoly@xxxxxxxx
+
+- bnc#728308 - warning output after update the postfix package
+
+-------------------------------------------------------------------
+Wed Nov 9 20:05:38 UTC 2011 - varkoly@xxxxxxxx
@@ -14 +24,9 @@
-- bnc#728308 - warning output after update the postfix package.
+- update to 2.8.7
+ Bugfixes:
+ smtpd(8) did not sanitize newline characters in cleanup(8)
+ REJECT messages, causing them to be sent out via SMTP as bare newline
characters.
+ smtpd(8) sent multi-line responses from a before-queue content filter as
text with
+ bare <LF> instead of <CR><LF>.
+ Workaround: postscreen sent non-compliant SMTP responses (220- followed by
421)
+ when it could not give a connection to a real smtpd process, causing some
+ remote SMTP clients to bounce mail.
Old:
----
postfix-2.8.5.tar.bz2
New:
----
postfix-2.8.7.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ postfix.spec ++++++
--- /var/tmp/diff_new_pack.QJD7iE/_old 2012-01-11 18:28:55.000000000 +0100
+++ /var/tmp/diff_new_pack.QJD7iE/_new 2012-01-11 18:28:55.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package postfix
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,13 @@
#
-
Name: postfix
Summary: A fast, secure, and flexible mailer
-Version: 2.8.5
-Release: 1
-License: IBM Public License ..
+License: IPL-1.0
Group: Productivity/Networking/Email/Servers
+Version: 2.8.7
+Release: 0
Url: http://www.postfix.org/
-AutoReqProv: on
Source: %{name}-%{version}.tar.bz2
Source1: %{name}-SuSE.tar.gz
Source2: %{name}-mysql.tar.bz2
@@ -42,7 +40,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %insserv_prereq %fillup_prereq
PreReq: /usr/bin/getent
-PreReq: /usr/sbin/useradd /usr/sbin/groupadd
+PreReq: /usr/sbin/useradd /usr/sbin/groupadd /usr/sbin/usermod
PreReq: /bin/sed /bin/awk /bin/grep
PreReq: textutils sh-utils fileutils pcre netcfg
%if 0%{?suse_version} > 1130
@@ -51,7 +49,9 @@
Requires: iproute2
BuildRequires: db-devel
BuildRequires: mysql-devel
-BuildRequires: openldap2-devel pcre-devel postgresql-devel
+BuildRequires: openldap2-devel
+BuildRequires: pcre-devel
+BuildRequires: postgresql-devel
# require pwdutils to make postinstall script check work
BuildRequires: pwdutils
%if 0%{?suse_version} >= 1100
@@ -84,6 +84,7 @@
%define pf_uid 51
%define pf_gid 51
%define maildrop_gid 59
+%define mail_gid 12
%define conf_backup_dir /var/adm/backup/%{name}
%define omc_pdir /usr/share/omc/
%define omc_dir /usr/share/omc/svcinfo.d/
@@ -100,9 +101,7 @@
%package devel
Summary: Development headers for the postfix package
-License: IBM Public License ..
Group: Development/Libraries/C and C++
-AutoReqProv: on
PreReq: %{name} = %{version}
%description devel
@@ -110,7 +109,6 @@
%package doc
Summary: Documentations for the postfix package
-License: IBM Public License ..
Group: Productivity/Networking/Email/Servers
%if 0%{?suse_version} >= 1120
BuildArch: noarch
@@ -122,9 +120,7 @@
%package mysql
Summary: Postfix plugin to support MySQL maps
-License: IBM Public License ..
Group: Productivity/Networking/Email/Servers
-AutoReqProv: on
PreReq: %{name} = %{version}
%description mysql
@@ -133,9 +129,7 @@
%package postgresql
Summary: Postfix plugin to support PostgreSQL maps
-License: IBM Public License ..
Group: Productivity/Networking/Email/Servers
-AutoReqProv: on
PreReq: %{name} = %{version}
%description postgresql
@@ -181,6 +175,7 @@
/usr/sbin/groupadd -g %{pf_gid} -o -r %{name} 2> /dev/null || :
/usr/sbin/groupadd -g %{maildrop_gid} -o -r maildrop 2> /dev/null || :
/usr/sbin/useradd -r -o -g %{name} -u %{pf_uid} -s /bin/false -c "Postfix
Daemon" -d /%{pf_queue_directory} %{name} 2> /dev/null || :
+/usr/sbin/usermod -G %{maildrop_gid},%{mail_gid} {name} 2> /dev/null || :
mkdir -p $RPM_BUILD_ROOT/%{_libdir}
install lib/*.1 $RPM_BUILD_ROOT/%{_libdir}
for i in $RPM_BUILD_ROOT/%{_libdir}/*.1; do
@@ -330,6 +325,7 @@
/usr/sbin/groupadd -g %{pf_gid} -o -r %{name} 2> /dev/null || :
/usr/sbin/groupadd -g %{maildrop_gid} -o -r maildrop 2> /dev/null || :
/usr/sbin/useradd -r -o -g %{name} -u %{pf_uid} -s /bin/false -c "Postfix
Daemon" -d /%{pf_queue_directory} %{name} 2> /dev/null || :
+/usr/sbin/usermod -G %{maildrop_gid},%{mail_gid} {name} 2> /dev/null || :
# ---------------------------------------------------------------------------
%pre mysql
++++++ postfix-2.8.5.tar.bz2 -> postfix-2.8.7.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/HISTORY new/postfix-2.8.7/HISTORY
--- old/postfix-2.8.5/HISTORY 2011-08-31 22:02:02.000000000 +0200
+++ new/postfix-2.8.7/HISTORY 2011-11-05 20:16:53.000000000 +0100
@@ -16648,3 +16648,50 @@
Bugfix: allow for Milters that send an SMTP server reply
without RFC 3463 enhanced status code. Reported by Vladimir
Vassiliev. File: milter/milter8.c.
+
+20110903
+
+ Bugfix: master daemon panic with "master_spawn: at process
+ limit" error, when "postfix reload" reduced the process
+ limit from (a value larger than the current process count
+ for some service) to (a value <= the current process count),
+ and then a new connection was made to that service. This
+ is the smallest change that eliminates the problem. The
+ final solution involves structural change, and goes into
+ the development release. File: master/master_avail.c.
+
+20110921
+
+ Bugfix (introduced: Postfix 1.1): smtpd(8) did not sanitize
+ newline characters in cleanup(8) REJECT messages, causing
+ them to be sent out via SMTP as bare newline characters.
+ This happened when a REJECT pattern matched multi-line
+ header text. Discovered by Kevin Locke. File: smtpd/smtpd.c.
+
+20110922
+
+ Bugfix (introduced: Postfix 2.1): smtpd(8) sent multi-line
+ responses from a before-queue content filter as text with
+ bare <LF> instead of <CR><LF>. Found during code maintenance.
+ File: smtpd/smtpd_proxy.c.
+
+20111020
+
+ EAI Future-proofing: don't apply strict_mime_encoding_domain
+ checks to unknown message subtypes such as message/global*.
+ File: global/mime_state.c.
+
+20111025
+
+ Workaround: postscreen sent non-compliant SMTP responses
+ (220- followed by 421) when it could not give a connection
+ to a real smtpd process, causing some remote SMTP clients
+ to bounce mail. The workaround is to hang up without sending
+ the 421 reply (which is harmless); the complete fix involves
+ too much change for a stable release. Problem reported by
+ Ralf Hildebrandt. File: postscreen/postscreen_send.c.
+
+20111102
+
+ Portability: OpenBSD 5.x is supported. Files: makedefs,
+ util/sys_defs.h.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/makedefs new/postfix-2.8.7/makedefs
--- old/postfix-2.8.5/makedefs 2011-06-16 00:36:37.000000000 +0200
+++ new/postfix-2.8.7/makedefs 2011-11-03 00:46:22.000000000 +0100
@@ -152,6 +152,8 @@
;;
OpenBSD.4*) SYSTYPE=OPENBSD4
;;
+ OpenBSD.5*) SYSTYPE=OPENBSD5
+ ;;
ekkoBSD.1*) SYSTYPE=EKKOBSD1
;;
NetBSD.1*) SYSTYPE=NETBSD1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/src/global/mail_version.h
new/postfix-2.8.7/src/global/mail_version.h
--- old/postfix-2.8.5/src/global/mail_version.h 2011-09-02 23:57:19.000000000
+0200
+++ new/postfix-2.8.7/src/global/mail_version.h 2011-11-05 20:17:13.000000000
+0100
@@ -20,8 +20,8 @@
* Patches change both the patchlevel and the release date. Snapshots have no
* patchlevel; they change the release date only.
*/
-#define MAIL_RELEASE_DATE "20110902"
-#define MAIL_VERSION_NUMBER "2.8.5"
+#define MAIL_RELEASE_DATE "20111105"
+#define MAIL_VERSION_NUMBER "2.8.7"
#ifdef SNAPSHOT
# define MAIL_VERSION_DATE "-" MAIL_RELEASE_DATE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/src/global/mime_state.c
new/postfix-2.8.7/src/global/mime_state.c
--- old/postfix-2.8.5/src/global/mime_state.c 2010-12-06 00:21:27.000000000
+0100
+++ new/postfix-2.8.7/src/global/mime_state.c 2011-10-20 23:31:43.000000000
+0200
@@ -925,7 +925,9 @@
if (state->curr_domain != MIME_ENC_7BIT)
REPORT_ERROR(state, MIME_ERR_ENCODING_DOMAIN,
mime_state_enc_name(state->curr_encoding));
- } else {
+ }
+ /* EAI: message/global allows non-identity encoding. */
+ else if (state->curr_stype == MIME_STYPE_RFC822) {
if (state->curr_encoding != state->curr_domain)
REPORT_ERROR(state, MIME_ERR_ENCODING_DOMAIN,
mime_state_enc_name(state->curr_encoding));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/src/master/master_avail.c
new/postfix-2.8.7/src/master/master_avail.c
--- old/postfix-2.8.5/src/master/master_avail.c 2009-06-11 22:46:17.000000000
+0200
+++ new/postfix-2.8.7/src/master/master_avail.c 2011-10-20 23:25:12.000000000
+0200
@@ -85,7 +85,9 @@
if (event == 0) /* XXX Can this happen? */
return;
- if (MASTER_THROTTLED(serv)) { /* XXX interface botch */
+ /* XXX Should check these when the process or service status is changed. */
+ if (!MASTER_LIMIT_OK(serv->max_proc, serv->total_proc)
+ || MASTER_THROTTLED(serv)) { /* XXX interface botch */
for (n = 0; n < serv->listen_fd_count; n++)
event_disable_readwrite(serv->listen_fd[n]);
} else {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/src/postscreen/postscreen_send.c
new/postfix-2.8.7/src/postscreen/postscreen_send.c
--- old/postfix-2.8.5/src/postscreen/postscreen_send.c 2011-02-16
14:40:32.000000000 +0100
+++ new/postfix-2.8.7/src/postscreen/postscreen_send.c 2011-11-05
14:48:27.000000000 +0100
@@ -187,7 +187,9 @@
PASS_CONNECT(psc_smtpd_service_name, NON_BLOCKING,
PSC_SEND_SOCK_CONNECT_TIMEOUT)) < 0) {
msg_warn("cannot connect to service %s: %m", psc_smtpd_service_name);
- PSC_SEND_REPLY(state, "421 4.3.2 All server ports are busy\r\n");
+ /* Best effort: after sending 220-, hang up without sending 421. */
+ if ((state->flags & PSC_STATE_FLAG_PREGR_TODO) == 0)
+ PSC_SEND_REPLY(state, "421 4.3.2 All server ports are busy\r\n");
psc_free_session_state(state);
return;
}
@@ -196,7 +198,9 @@
vstream_fileno(state->smtp_client_stream)) < 0) {
msg_warn("cannot pass connection to service %s: %m",
psc_smtpd_service_name);
- PSC_SEND_REPLY(state, "421 4.3.2 No system resources\r\n");
+ /* Best effort: after sending 220-, hang up without sending 421. */
+ if ((state->flags & PSC_STATE_FLAG_PREGR_TODO) == 0)
+ PSC_SEND_REPLY(state, "421 4.3.2 No system resources\r\n");
psc_free_session_state(state);
return;
} else {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/src/smtpd/smtpd.c
new/postfix-2.8.7/src/smtpd/smtpd.c
--- old/postfix-2.8.5/src/smtpd/smtpd.c 2011-02-07 19:34:41.000000000 +0100
+++ new/postfix-2.8.7/src/smtpd/smtpd.c 2011-10-20 23:28:55.000000000 +0200
@@ -3040,6 +3040,7 @@
if (state->err == 0) {
why = vstring_alloc(10);
state->err = mail_stream_finish(state->dest, why);
+ printable(STR(why), ' ');
} else
mail_stream_cleanup(state->dest);
state->dest = 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/src/smtpd/smtpd_proxy.c
new/postfix-2.8.7/src/smtpd/smtpd_proxy.c
--- old/postfix-2.8.5/src/smtpd/smtpd_proxy.c 2010-09-03 14:20:45.000000000
+0200
+++ new/postfix-2.8.7/src/smtpd/smtpd_proxy.c 2011-10-20 23:30:15.000000000
+0200
@@ -784,7 +784,7 @@
*/
if (LEN(proxy->buffer) < var_line_limit) {
if (VSTRING_LEN(proxy->buffer))
- VSTRING_ADDCH(proxy->buffer, '\n');
+ vstring_strcat(proxy->buffer, "\r\n");
vstring_strcat(proxy->buffer, STR(buffer));
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-2.8.5/src/util/sys_defs.h
new/postfix-2.8.7/src/util/sys_defs.h
--- old/postfix-2.8.5/src/util/sys_defs.h 2011-06-16 00:36:37.000000000
+0200
+++ new/postfix-2.8.7/src/util/sys_defs.h 2011-11-03 00:46:22.000000000
+0100
@@ -28,6 +28,7 @@
|| defined(FREEBSD8) \
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
+ || defined(OPENBSD5) \
|| defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \
|| defined(NETBSD4) \
|| defined(EKKOBSD1)
++++++ postfix-SuSE.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-SuSE/postfix.service
new/postfix-SuSE/postfix.service
--- old/postfix-SuSE/postfix.service 2011-12-13 15:45:39.000000000 +0100
+++ new/postfix-SuSE/postfix.service 2011-08-12 17:35:38.000000000 +0200
@@ -27,7 +27,6 @@
ExecStartPre=-/bin/echo 'Starting mail service (Postfix)'
EnvironmentFile=-/etc/sysconfig/postfix
ExecStartPre=/etc/postfix/system/update_chroot
-ExecStartPre=/etc/postfix/system/rebuild_tables
ExecStart=/usr/sbin/postfix start
ExecStartPost=/etc/postfix/system/wait_qmgr 60
ExecStartPost=/etc/postfix/system/cond_slp register
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/postfix-SuSE/rc.postfix new/postfix-SuSE/rc.postfix
--- old/postfix-SuSE/rc.postfix 2011-12-13 13:44:15.000000000 +0100
+++ new/postfix-SuSE/rc.postfix 2011-08-22 11:29:28.000000000 +0200
@@ -61,21 +61,6 @@
fi
}
-rebuild_tables() {
- if [ -n "${POSTFIX_UPDATE_MAPS/[yY][Ee][Ss]/}" ]; then
- return
- fi
- # Update the postmaps
- for i in $POSTFIX_MAP_LIST; do
- m=/etc/postfix/$i;
- d=$m.db
- test -e "$d" || continue;
- if [ -e $m -a $m -nt $d ]; then
- postmap $m;
- fi
- done
-}
-
chk_mysql_sock(){
if [ -n "$($print_defaults mysqld)" ]; then
MYSQL_SOCKET=$($print_defaults mysqld | grep -e '--socket[[:blank:]=]' |
awk -F"=" '{print $2}')
@@ -213,7 +198,6 @@
## the echo return value is set appropriate.
if ! checkproc -p $PIDFILE $MASTER_BIN; then
- rebuild_tables
$POSTFIX_BIN start > /dev/null 2>&1
else
rc_reset
@@ -262,10 +246,9 @@
echo -n "Reload mail service (Postfix)"
- rebuild_tables
$POSTFIX_BIN reload > /dev/null 2>&1
rc_status -v
- $POSTFIX_BIN flush > /dev/null 2>&1
+ POSTFIX_BIN flush > /dev/null 2>&1
## Otherwise:
#$0 stop && $0 start
@@ -274,7 +257,6 @@
reload)
echo -n "Reload mail service (Postfix)"
- rebuild_tables
$POSTFIX_BIN reload > /dev/null 2>&1
rc_status -v
$POSTFIX_BIN flush > /dev/null 2>&1
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |