From 55728a4f2bbb52eb648380b40ebb4e44db590039 Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Mon, 20 Nov 2006 14:29:31 +0000 Subject: Don't set $sender_host_name if forward lookup of name obtained from reverse lookup times out. --- src/src/host.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/src/host.c b/src/src/host.c index 039f58fb2..24c4bec79 100644 --- a/src/src/host.c +++ b/src/src/host.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/host.c,v 1.26 2006/10/09 14:36:25 ph10 Exp $ */ +/* $Cambridge: exim/src/src/host.c,v 1.27 2006/11/20 14:29:31 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -1792,6 +1792,7 @@ for (hname = sender_host_name; hname != NULL; hname = *aliases++) { HDEBUG(D_host_lookup) debug_printf("temporary error for host name lookup\n"); host_lookup_deferred = TRUE; + sender_host_name = NULL; return DEFER; } else -- cgit v1.2.3