[tw]
- do not accept localhost.localdomain as valid address from smtp
This commit is contained in:
parent
a76220095e
commit
2174409589
11
sendmail-8.13.1-localdomain.patch
Normal file
11
sendmail-8.13.1-localdomain.patch
Normal file
@ -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 >')
|
@ -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 <twoerner@redhat.com> 8.14.1-3
|
||||
- do not accept localhost.localdomain as valid address from smtp
|
||||
|
||||
* Mon Apr 16 2007 Thomas Woerner <twoerner@redhat.com> 8.14.1-2
|
||||
- readded chkconfig add for sendmail in post script
|
||||
- dropped mysql support (useless without further patching)
|
||||
|
Loading…
Reference in New Issue
Block a user