summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-11-20 14:29:31 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-11-20 14:29:31 +0000
commit55728a4f2bbb52eb648380b40ebb4e44db590039 (patch)
tree2156a0f4d57607aae37ed03379339d0320b06d51 /src
parent30e1880253102a06cd17d0c3c2ff1835c92a3da7 (diff)
Don't set $sender_host_name if forward lookup of name obtained from
reverse lookup times out.
Diffstat (limited to 'src')
-rw-r--r--src/src/host.c3
1 files changed, 2 insertions, 1 deletions
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