SHA256
1
0
forked from pool/postfix

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
This commit is contained in:
Cristian Rodríguez 2015-01-16 04:54:20 +00:00 committed by Git OBS Bridge
parent f5dddc9d9c
commit 8e99aee374
3 changed files with 44 additions and 14 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:2a27dc041c9e945b5b36cef53c71f0022f50233b5ba85be5d7fa53ca501f49b1 oid sha256:30c8fa05561970a3f02fcc71a45021bb16e6849e52b495920d2d85c9bc244198
size 24377 size 26812

View File

@ -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 Fri Nov 21 14:49:19 UTC 2014 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package postfix # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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: /usr/sbin/useradd /usr/sbin/groupadd /usr/sbin/usermod
PreReq: /bin/sed /bin/awk /bin/grep PreReq: /bin/sed /bin/awk /bin/grep
PreReq: textutils sh-utils fileutils pcre netcfg PreReq: textutils sh-utils fileutils pcre netcfg
PreReq: permissions
%if 0%{?suse_version} > 1130 %if 0%{?suse_version} > 1130
PreReq: sysvinit(syslog) sysvinit(network) PreReq: sysvinit(syslog) sysvinit(network)
%endif %endif
@ -443,6 +444,10 @@ fi
%{fillup_only -an mail} %{fillup_only -an mail}
%if 0%{?suse_version} > 1140 %if 0%{?suse_version} > 1140
%service_add_post %{name}.service %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 %endif
/sbin/ldconfig /sbin/ldconfig
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
@ -520,17 +525,28 @@ rm -rf $RPM_BUILD_ROOT
%config %attr(0755,root,root) /etc/postfix/system/* %config %attr(0755,root,root) /etc/postfix/system/*
%config %{_unitdir}/system/postfix.service %config %{_unitdir}/system/postfix.service
%endif %endif
/usr/bin/mailq %verify(not mode) %attr(2755,root,%{pf_setgid_group}) /usr/sbin/postdrop
/usr/bin/newaliases %verify(not mode) %attr(2755,root,%{pf_setgid_group}) /usr/sbin/postqueue
%attr(0755, root, root) /usr/sbin/sendmail %attr(0755,root,root) /usr/bin/mailq
/usr/sbin/qmqp-source %attr(0755,root,root) /usr/bin/newaliases
/usr/sbin/smtp-sink %attr(0755,root,root) /usr/sbin/sendmail
/usr/sbin/smtp-source %attr(0755,root,root) /usr/sbin/postalias
/usr/sbin/mk%{name}cert %attr(0755,root,root) /usr/sbin/postcat
/usr/sbin/check_mail_queue %attr(0755,root,root) /usr/sbin/postconf
/usr/sbin/config.postfix %attr(0755,root,root) /usr/sbin/postfix
%verify(not mode group) /usr/sbin/post* %attr(0755,root,root) /usr/sbin/postkick
/sbin/rc%{name} %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* %{_libdir}/lib*
/usr/lib/sendmail /usr/lib/sendmail
%dir /usr/lib/%{name} %dir /usr/lib/%{name}