From 8e99aee374166402c70bc5f7b98718638479f40343430fb17314e94401b8f4b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Fri, 16 Jan 2015 04:54:20 +0000 Subject: [PATCH] Accepting request 280976 from home:varkoly:branches:server:mail - bnc#912594 config.postfix creates config based on old options - bnc#911806 config.postfix does not set up correct saslauthd socket directory for chroot - bnc#910265 config.postfix does not upgrade the chroot - bnc#908003 wrong access rights on /usr/sbin/postdrop causes permission denied when trying to send a mail as non root user - bnc#729154 wrong permissions for some postfix components OBS-URL: https://build.opensuse.org/request/show/280976 OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=206 --- postfix-SuSE.tar.gz | 4 ++-- postfix.changes | 14 ++++++++++++++ postfix.spec | 40 ++++++++++++++++++++++++++++------------ 3 files changed, 44 insertions(+), 14 deletions(-) diff --git a/postfix-SuSE.tar.gz b/postfix-SuSE.tar.gz index 8af559c..b6beac8 100644 --- a/postfix-SuSE.tar.gz +++ b/postfix-SuSE.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2a27dc041c9e945b5b36cef53c71f0022f50233b5ba85be5d7fa53ca501f49b1 -size 24377 +oid sha256:30c8fa05561970a3f02fcc71a45021bb16e6849e52b495920d2d85c9bc244198 +size 26812 diff --git a/postfix.changes b/postfix.changes index 25d3a6c..4f6e2a2 100644 --- a/postfix.changes +++ b/postfix.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Jan 13 07:04:52 UTC 2015 - varkoly@suse.com + +- bnc#912594 config.postfix creates config based on old options + +------------------------------------------------------------------- +Tue Jan 6 14:26:51 UTC 2015 - varkoly@suse.com + +- bnc#911806 config.postfix does not set up correct saslauthd socket directory for chroot +- bnc#910265 config.postfix does not upgrade the chroot +- bnc#908003 wrong access rights on /usr/sbin/postdrop causes + permission denied when trying to send a mail as non root user +- bnc#729154 wrong permissions for some postfix components + ------------------------------------------------------------------- Fri Nov 21 14:49:19 UTC 2014 - tchvatal@suse.com diff --git a/postfix.spec b/postfix.spec index b8e85f7..bd9fffa 100644 --- a/postfix.spec +++ b/postfix.spec @@ -1,7 +1,7 @@ # # spec file for package postfix # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -50,6 +50,7 @@ PreReq: /usr/bin/getent PreReq: /usr/sbin/useradd /usr/sbin/groupadd /usr/sbin/usermod PreReq: /bin/sed /bin/awk /bin/grep PreReq: textutils sh-utils fileutils pcre netcfg +PreReq: permissions %if 0%{?suse_version} > 1130 PreReq: sysvinit(syslog) sysvinit(network) %endif @@ -443,6 +444,10 @@ fi %{fillup_only -an mail} %if 0%{?suse_version} > 1140 %service_add_post %{name}.service +%set_permissions /usr/sbin/postqueue +%set_permissions /usr/sbin/postdrop +%verifyscript +%verify_permissions -e /usr/sbin/postqueue -e /usr/sbin/postdrop %endif /sbin/ldconfig # --------------------------------------------------------------------------- @@ -520,17 +525,28 @@ rm -rf $RPM_BUILD_ROOT %config %attr(0755,root,root) /etc/postfix/system/* %config %{_unitdir}/system/postfix.service %endif -/usr/bin/mailq -/usr/bin/newaliases -%attr(0755, root, root) /usr/sbin/sendmail -/usr/sbin/qmqp-source -/usr/sbin/smtp-sink -/usr/sbin/smtp-source -/usr/sbin/mk%{name}cert -/usr/sbin/check_mail_queue -/usr/sbin/config.postfix -%verify(not mode group) /usr/sbin/post* -/sbin/rc%{name} +%verify(not mode) %attr(2755,root,%{pf_setgid_group}) /usr/sbin/postdrop +%verify(not mode) %attr(2755,root,%{pf_setgid_group}) /usr/sbin/postqueue +%attr(0755,root,root) /usr/bin/mailq +%attr(0755,root,root) /usr/bin/newaliases +%attr(0755,root,root) /usr/sbin/sendmail +%attr(0755,root,root) /usr/sbin/postalias +%attr(0755,root,root) /usr/sbin/postcat +%attr(0755,root,root) /usr/sbin/postconf +%attr(0755,root,root) /usr/sbin/postfix +%attr(0755,root,root) /usr/sbin/postkick +%attr(0755,root,root) /usr/sbin/postlock +%attr(0755,root,root) /usr/sbin/postlog +%attr(0755,root,root) /usr/sbin/postmap +%attr(0755,root,root) /usr/sbin/postmulti +%attr(0755,root,root) /usr/sbin/postsuper +%attr(0755,root,root) /usr/sbin/qmqp-source +%attr(0755,root,root) /usr/sbin/smtp-sink +%attr(0755,root,root) /usr/sbin/smtp-source +%attr(0755,root,root) /usr/sbin/mkpostfixcert +%attr(0755,root,root) /usr/sbin/check_mail_queue +%attr(0755,root,root) /usr/sbin/config.postfix +%attr(0755,root,root) /sbin/rc%{name} %{_libdir}/lib* /usr/lib/sendmail %dir /usr/lib/%{name}