From f3af0994252e0edcd134995e01fe094b42280e96ca1df177d8670281835af99e Mon Sep 17 00:00:00 2001 From: Peter Varkoly Date: Wed, 9 May 2012 10:07:57 +0000 Subject: [PATCH 1/2] - bnc#753910 - {name} instead of %{name} in postfix .spec OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=140 --- postfix.changes | 5 +++++ postfix.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/postfix.changes b/postfix.changes index 07a2ccb..afa96e9 100644 --- a/postfix.changes +++ b/postfix.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 9 10:07:10 UTC 2012 - varkoly@suse.com + +- bnc#753910 - {name} instead of %{name} in postfix .spec + ------------------------------------------------------------------- Thu May 3 16:47:11 UTC 2012 - chris@computersalat.de diff --git a/postfix.spec b/postfix.spec index 729f71b..0582478 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 @@ -326,7 +326,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 From 2f5a53e51834dbf1eca5380db1702ca108b59e3d34e2328f8bcd4b6d848af927 Mon Sep 17 00:00:00 2001 From: Peter Varkoly Date: Wed, 9 May 2012 10:28:12 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=141 --- postfix.changes | 1 + postfix.spec | 3 +++ 2 files changed, 4 insertions(+) diff --git a/postfix.changes b/postfix.changes index afa96e9..748cc57 100644 --- a/postfix.changes +++ b/postfix.changes @@ -2,6 +2,7 @@ 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 0582478..8630278 100644 --- a/postfix.spec +++ b/postfix.spec @@ -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