summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2005-06-17 14:20:48 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2005-06-17 14:20:48 +0000
commitca02eafb3654a6539abb59a0f3ce4c52fe97f20e (patch)
treea29e7a08b98b7dd5b60bc24992edf9f9ca4d065f
parentc6c2dc1dfc3928a5f6c61024b68e011db41884ad (diff)
Allow the message "All relevant MX records point to non-existent hosts"
to be included in bounce messages, as it doesn't seem to be a security risk.
-rw-r--r--doc/doc-txt/ChangeLog5
-rw-r--r--src/src/routers/dnslookup.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog
index d920ada8b..ac121eb81 100644
--- a/doc/doc-txt/ChangeLog
+++ b/doc/doc-txt/ChangeLog
@@ -1,4 +1,4 @@
-$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.163 2005/06/17 13:52:14 ph10 Exp $
+$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.164 2005/06/17 14:20:48 ph10 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
@@ -160,6 +160,9 @@ PH/20 Added macros for time_t as for off_t (see PH/15 above) and used them to
"%lld" and "long long". Replaced the call to snprintf() with a call to
string_vformat().
+PH/21 Added another message to those in 4.51/PH/42, namely "All relevant MX
+ records point to non-existent hosts".
+
Exim version 4.51
-----------------
diff --git a/src/src/routers/dnslookup.c b/src/src/routers/dnslookup.c
index b5ef0478b..fd7140e46 100644
--- a/src/src/routers/dnslookup.c
+++ b/src/src/routers/dnslookup.c
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/src/src/routers/dnslookup.c,v 1.3 2005/01/11 15:51:03 ph10 Exp $ */
+/* $Cambridge: exim/src/src/routers/dnslookup.c,v 1.4 2005/06/17 14:20:48 ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -300,6 +300,7 @@ for (;;)
if (h.mx >= 0 && h.address == NULL)
{
+ setflag(addr, af_pass_message); /* This is not a security risk */
if (h.name[0] == 0)
addr->message = US"an SRV record indicated no SMTP service";
else