diff --git a/postfix.changes b/postfix.changes index 07a2ccb..748cc57 100644 --- a/postfix.changes +++ b/postfix.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 9 10:07:10 UTC 2012 - varkoly@suse.com + +- bnc#753910 - {name} instead of %{name} in postfix .spec +- bnc#756452 - VUL-1: postfix: VRFY allows enumerating users + ------------------------------------------------------------------- Thu May 3 16:47:11 UTC 2012 - chris@computersalat.de diff --git a/postfix.spec b/postfix.spec index 729f71b..8630278 100644 --- a/postfix.spec +++ b/postfix.spec @@ -175,7 +175,7 @@ make LD_LIBRARY_PATH=$(pwd)/lib:${LD_LIBRARY_PATH} /usr/sbin/groupadd -g %{pf_gid} -o -r %{name} 2> /dev/null || : /usr/sbin/groupadd -g %{maildrop_gid} -o -r maildrop 2> /dev/null || : /usr/sbin/useradd -r -o -g %{name} -u %{pf_uid} -s /bin/false -c "Postfix Daemon" -d /%{pf_queue_directory} %{name} 2> /dev/null || : -/usr/sbin/usermod -G %{maildrop_gid},%{mail_gid} {name} 2> /dev/null || : +/usr/sbin/usermod -G %{maildrop_gid},%{mail_gid} %{name} 2> /dev/null || : mkdir -p $RPM_BUILD_ROOT/%{_libdir} install lib/*.1 $RPM_BUILD_ROOT/%{_libdir} for i in $RPM_BUILD_ROOT/%{_libdir}/*.1; do @@ -276,6 +276,9 @@ $RPM_BUILD_ROOT/usr/sbin/postconf -c $RPM_BUILD_ROOT/etc/%{name} \ "html_directory = %{pf_html_directory}" \ "sample_directory = %{pf_sample_directory}" \ "daemon_directory = %{pf_daemon_directory}" \ + "smtpd_helo_required = yes" \ + "smtpd_delay_reject = yes" \ + "disable_vrfy_command = yes" \ 'smtpd_banner = $myhostname ESMTP' #Set Permissions install -m 644 %{name}-SuSE/%{name}-files $RPM_BUILD_ROOT/usr/lib/postfix/postfix-files @@ -326,7 +329,7 @@ fi /usr/sbin/groupadd -g %{pf_gid} -o -r %{name} 2> /dev/null || : /usr/sbin/groupadd -g %{maildrop_gid} -o -r maildrop 2> /dev/null || : /usr/sbin/useradd -r -o -g %{name} -u %{pf_uid} -s /bin/false -c "Postfix Daemon" -d /%{pf_queue_directory} %{name} 2> /dev/null || : -/usr/sbin/usermod -G %{maildrop_gid},%{mail_gid} {name} 2> /dev/null || : +/usr/sbin/usermod -G %{maildrop_gid},%{mail_gid} %{name} 2> /dev/null || : # --------------------------------------------------------------------------- %pre mysql