SHA256
1
0
forked from pool/postfix

Accepting request 117029 from server:mail

bnc#756452 - VUL-1: postfix: VRFY allows enumerating users

OBS-URL: https://build.opensuse.org/request/show/117029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postfix?expand=0&rev=94
This commit is contained in:
Stephan Kulow 2012-05-09 16:20:20 +00:00 committed by Git OBS Bridge
commit e5dcf63513
2 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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