diff --git a/postfix-etc-init.d-postfix b/postfix-etc-init.d-postfix index 41d3630..8a5a05d 100644 --- a/postfix-etc-init.d-postfix +++ b/postfix-etc-init.d-postfix @@ -34,7 +34,7 @@ RETVAL=0 start() { # Start daemons. echo -n "Starting postfix: " - /usr/sbin/postalias /etc/postfix/aliases + /usr/sbin/postalias /etc/aliases /usr/sbin/postfix start 2>/dev/null 1>&2 && success || failure RETVAL=$? [ $RETVAL -eq 0 ] && touch /var/lock/subsys/postfix diff --git a/postfix.spec b/postfix.spec index 77fea45..4fa96c1 100644 --- a/postfix.spec +++ b/postfix.spec @@ -47,7 +47,7 @@ Name: postfix Summary: Postfix Mail Transport Agent Version: 2.1.5 -Release: 2 +Release: 2.1 Epoch: 2 Group: System Environment/Daemons URL: http://www.postfix.org @@ -327,10 +327,10 @@ perl -pi -e "s,/usr/local/bin/perl,/usr/bin/perl,g" $RPM_BUILD_ROOT%{postfix_doc %endif # Change alias_maps and alias_database default directory to %{postfix_config_dir} -#bin/postconf -c $RPM_BUILD_ROOT%{postfix_config_dir} -e \ -# "alias_maps = hash:/etc/aliases" \ -# "alias_database = hash:/etc/aliases" \ -#|| exit 1 +bin/postconf -c $RPM_BUILD_ROOT%{postfix_config_dir} -e \ + "alias_maps = hash:/etc/aliases" \ + "alias_database = hash:/etc/aliases" \ +|| exit 1 # This installs into the /etc/rc.d/init.d directory /bin/mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d @@ -354,6 +354,7 @@ done # when called during package installation. ed $RPM_BUILD_ROOT%{postfix_config_dir}/postfix-files < 2:2.1.5-2.1 +- removed aliases from postfix-files (#135840) +- fixed postalias call in init script + * Thu Oct 14 2004 Thomas Woerner 2:2.1.5-2 - switched over to system aliases file and database in /etc/ (#117661) - new reuires and buildrequires for setup >= 2.5.36-1