From 2174409589dee7e371b97edc650688c6eea6f4f6 Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Jul 20 2007 13:31:50 +0000 Subject: [tw] - do not accept localhost.localdomain as valid address from smtp --- diff --git a/sendmail-8.13.1-localdomain.patch b/sendmail-8.13.1-localdomain.patch new file mode 100644 index 0000000..1fd344b --- /dev/null +++ b/sendmail-8.13.1-localdomain.patch @@ -0,0 +1,11 @@ +--- sendmail-8.13.1/cf/m4/proto.m4.localdomain 2007-01-22 16:35:19.000000000 +0100 ++++ sendmail-8.13.1/cf/m4/proto.m4 2007-01-22 16:36:47.000000000 +0100 +@@ -1840,6 +1840,8 @@ + $: < ? $&{client_name} > < $1 @ [127.0.0.1] > + R<@> < $* @ localhost.$m > + $: < ? $&{client_name} > < $1 @ localhost.$m > ++R<@> < $* @ localhost.localdomain > ++ $: < ? $&{client_name} > < $1 @ localhost.localdomain > + ifdef(`_NO_UUCP_', `dnl', + `R<@> < $* @ localhost.UUCP > + $: < ? $&{client_name} > < $1 @ localhost.UUCP >') diff --git a/sendmail.spec b/sendmail.spec index e036b24..f3835a6 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -15,7 +15,7 @@ Summary: A widely used Mail Transport Agent (MTA) Name: sendmail Version: 8.14.1 -Release: 2 +Release: 3 License: Sendmail Group: System Environment/Daemons URL: http://www.sendmail.org/ @@ -46,6 +46,7 @@ Patch12: sendmail-8.13.0-cyrus.patch Patch13: sendmail-8.13.7-aliases_dir.patch Patch14: sendmail-8.13.7-vacation.patch Patch15: sendmail-8.14.1-noversion.patch +Patch16: sendmail-8.13.1-localdomain.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: tcp_wrappers-devel BuildRequires: db4-devel @@ -137,6 +138,7 @@ your sendmail.cf file. %patch13 -p1 -b .aliases_dir %patch14 -p1 -b .vacation %patch15 -p1 -b .noversion +%patch16 -p1 -b .localdomain %build # generate redhat config file @@ -527,6 +529,9 @@ exit 0 %changelog +* Fri Jul 20 2007 Thomas Woerner 8.14.1-3 +- do not accept localhost.localdomain as valid address from smtp + * Mon Apr 16 2007 Thomas Woerner 8.14.1-2 - readded chkconfig add for sendmail in post script - dropped mysql support (useless without further patching)