checked in
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=21
This commit is contained in:
parent
c110b90cc2
commit
a424a81236
@ -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
|
||||
|
||||
|
14
postfix.spec
14
postfix.spec
@ -437,11 +437,12 @@ fi
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
%post
|
||||
%{fillup_and_insserv -y postfix}
|
||||
# We never have to run suseconfig for postfix after installation
|
||||
# We only start postfix own upgrade-configuration by update
|
||||
if [ ${1:-0} -gt 1 ]; then
|
||||
#echo "executing upgrade-configuration"
|
||||
#/usr/sbin/%{name} set-permissions upgrade-configuration setgid_group=%{pf_setgid_group}
|
||||
echo "executing upgrade-configuration"
|
||||
/usr/sbin/%{name} set-permissions upgrade-configuration setgid_group=%{pf_setgid_group}
|
||||
#New map in 11.2 #TODO remove it later
|
||||
. /etc/sysconfig/postfix
|
||||
RELAY=`echo $POSTFIX_MAP_LIST | grep -P " relay | relay$"`
|
||||
@ -451,17 +452,10 @@ if [ ${1:-0} -gt 1 ]; then
|
||||
fi
|
||||
if [ ! -e /var/adm/BNC-555814.fixed ]
|
||||
then
|
||||
sed -i 's/SMTPD_LISTEN_REMOTE=.*/SMTPD_LISTEN_REMOTE=""/' /etc/sysconfig/mail
|
||||
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
|
||||
%{fillup_and_insserv -y postfix}
|
||||
%{fillup_only -an mail}
|
||||
ldconfig
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user