diff --git a/postfix.changes b/postfix.changes index edfec0e..130767d 100644 --- a/postfix.changes +++ b/postfix.changes @@ -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 diff --git a/postfix.spec b/postfix.spec index 0207acf..56e30e2 100644 --- a/postfix.spec +++ b/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 # ---------------------------------------------------------------------------