Updating link to change in openSUSE:Factory/postfix revision 40.0

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=9245ea2a78938a83f957965fb16eb208
This commit is contained in:
OBS User buildservice-autocommit 2009-12-11 12:34:58 +00:00 committed by Git OBS Bridge
parent a424a81236
commit 437b5f14fc
2 changed files with 21 additions and 5 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Dec 10 13:15:15 CET 2009 - varkoly@suse.de
- Remove postfixs update script. This does not work now.
-------------------------------------------------------------------
Tue Dec 8 19:15:15 CET 2009 - varkoly@suse.de
- Fix the %post section add missed %{fillup_only -an mail}
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 16 17:14:39 CET 2009 - varkoly@suse.de Mon Nov 16 17:14:39 CET 2009 - varkoly@suse.de

View File

@ -22,7 +22,7 @@
Name: postfix Name: postfix
Summary: A fast, secure, and flexible mailer Summary: A fast, secure, and flexible mailer
Version: 2.6.1 Version: 2.6.1
Release: 2 Release: 3
License: IBM Public License .. License: IBM Public License ..
Group: Productivity/Networking/Email/Servers Group: Productivity/Networking/Email/Servers
Url: http://www.postfix.org/ Url: http://www.postfix.org/
@ -437,12 +437,11 @@ fi
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
%post %post
%{fillup_and_insserv -y postfix}
# We never have to run suseconfig for postfix after installation # We never have to run suseconfig for postfix after installation
# We only start postfix own upgrade-configuration by update # We only start postfix own upgrade-configuration by update
if [ ${1:-0} -gt 1 ]; then if [ ${1:-0} -gt 1 ]; then
echo "executing upgrade-configuration" #echo "executing upgrade-configuration"
/usr/sbin/%{name} set-permissions upgrade-configuration setgid_group=%{pf_setgid_group} #/usr/sbin/%{name} set-permissions upgrade-configuration setgid_group=%{pf_setgid_group}
#New map in 11.2 #TODO remove it later #New map in 11.2 #TODO remove it later
. /etc/sysconfig/postfix . /etc/sysconfig/postfix
RELAY=`echo $POSTFIX_MAP_LIST | grep -P " relay | relay$"` RELAY=`echo $POSTFIX_MAP_LIST | grep -P " relay | relay$"`
@ -452,10 +451,17 @@ if [ ${1:-0} -gt 1 ]; then
fi fi
if [ ! -e /var/adm/BNC-555814.fixed ] if [ ! -e /var/adm/BNC-555814.fixed ]
then then
sed -i 's/SMTPD_LISTEN_REMOTE=.*/SMTPD_LISTEN_REMOTE=""/' /etc/sysconfig/mail
touch /var/adm/BNC-555814.fixed touch /var/adm/BNC-555814.fixed
. /etc/sysconfig/mail
if [ "$CONFIG_TYPE" = "undef" ]
then
sed -i 's/SMTPD_LISTEN_REMOTE=.*/SMTPD_LISTEN_REMOTE=""/' /etc/sysconfig/mail
postconf -e 'inet_interfaces = localhost'
fi fi
fi fi
fi
%{fillup_and_insserv -y postfix}
%{fillup_only -an mail}
ldconfig ldconfig
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------