From: Philip Hazel Date: Fri, 17 Jun 2005 14:20:48 +0000 (+0000) Subject: Allow the message "All relevant MX records point to non-existent hosts" X-Git-Tag: exim-4_52~39 X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=commitdiff_plain;h=ca02eafb3654a6539abb59a0f3ce4c52fe97f20e 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. --- 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