SHA256
1
0
forked from pool/postfix
OBS User autobuild 2009-12-11 12:34:57 +00:00 committed by Git OBS Bridge
parent c110b90cc2
commit a424a81236
2 changed files with 4 additions and 20 deletions

View File

@ -1,13 +1,3 @@
-------------------------------------------------------------------
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

@ -437,11 +437,12 @@ 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$"`
@ -451,17 +452,10 @@ 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
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------