From ca02eafb3654a6539abb59a0f3ce4c52fe97f20e Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Fri, 17 Jun 2005 14:20:48 +0000 Subject: [PATCH] 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. --- doc/doc-txt/ChangeLog | 5 ++++- src/src/routers/dnslookup.c | 3 ++- 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 -- 2.30.2