From b9b6cf93b654d63e1bfc559b2676813b4409977c Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Jan 03 2010 22:45:02 +0000 Subject: handle IPv6:::1 in block_bad_helo.m4 like 127.0.0.1 (#549217) --- diff --git a/sendmail-8.14.3-ipv6-bad-helo.patch b/sendmail-8.14.3-ipv6-bad-helo.patch new file mode 100644 index 0000000..1e8b493 --- /dev/null +++ b/sendmail-8.14.3-ipv6-bad-helo.patch @@ -0,0 +1,8 @@ +--- sendmail-8.14.3/cf/feature/block_bad_helo.m4 2006-06-16 00:49:30.000000000 +0200 ++++ sendmail-8.14.3/cf/feature/block_bad_helo.m4.ipv6-bad-helo 2010-01-03 23:28:25.000000000 +0100 +@@ -16,3 +16,5 @@ + define(`_BLOCK_BAD_HELO_', `')dnl + RELAY_DOMAIN(`127.0.0.1')dnl + LOCAL_DOMAIN(`[127.0.0.1]')dnl ++RELAY_DOMAIN(`IPv6:::1')dnl ++LOCAL_DOMAIN(`[IPv6:::1]')dnl diff --git a/sendmail.spec b/sendmail.spec index 1f0ffd5..8da9e68 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -14,7 +14,7 @@ Summary: A widely used Mail Transport Agent (MTA) Name: sendmail Version: 8.14.3 -Release: 9%{?dist} +Release: 10%{?dist} License: Sendmail Group: System Environment/Daemons URL: http://www.sendmail.org/ @@ -50,6 +50,7 @@ Patch17: sendmail-8.14.3-sharedmilter.patch Patch18: sendmail-8.14.3-switchfile.patch Patch19: sendmail-8.14.3-exitpanic.patch Patch20: sendmail-8.14.3-milterfdleaks.patch +Patch21: sendmail-8.14.3-ipv6-bad-helo.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: tcp_wrappers-devel BuildRequires: db4-devel @@ -163,6 +164,7 @@ cp devtools/M4/UNIX/{,shared}library.m4 %patch18 -p1 -b .switchfile %patch19 -p1 -b .exitpanic %patch20 -p1 -b .milterfdleaks +%patch21 -p1 -b .ipv6-bad-helo for f in RELEASE_NOTES contrib/etrn.0; do iconv -f iso8859-1 -t utf8 -o ${f}{_,} && @@ -564,6 +566,9 @@ exit 0 %changelog +* Sun Jan 03 2010 Robert Scheck 8.14.3-10 +- handle IPv6:::1 in block_bad_helo.m4 like 127.0.0.1 (#549217) + * Tue Dec 15 2009 Miroslav Lichvar 8.14.3-9 - fix milter file descriptors leaks (#485426) - skip colon separator when parsing service name in ServiceSwitchFile