ph10 2006/11/20 14:29:32 GMT
Modified files:
exim-doc/doc-txt ChangeLog
exim-src/src host.c
exim-test/log 0094
exim-test/mail 0094.userx
Log:
Don't set $sender_host_name if forward lookup of name obtained from
reverse lookup times out.
Revision Changes Path
1.439 +3 -1 exim/exim-doc/doc-txt/ChangeLog
1.27 +1 -0 exim/exim-src/src/host.c
1.2 +1 -1 exim/exim-test/log/0094
1.2 +1 -1 exim/exim-test/mail/0094.userx
Index: ChangeLog
===================================================================
RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
retrieving revision 1.438
retrieving revision 1.439
diff -u -r1.438 -r1.439
--- ChangeLog 20 Nov 2006 13:53:44 -0000 1.438
+++ ChangeLog 20 Nov 2006 14:29:31 -0000 1.439
@@ -1,4 +1,4 @@
-$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.438 2006/11/20 13:53:44 ph10 Exp $
+$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.439 2006/11/20 14:29:31 ph10 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
@@ -330,7 +330,9 @@
those revolvers/nameservers that support "A-for-A" lookups, in
contravention of the specifications.
-
+PH/48 When a host name was looked up from an IP address, and the subsequent
+ forward lookup of the name timed out, the host name was left in
+ $sender_host_name, contrary to the specification.
Exim version 4.63
Index: host.c
===================================================================
RCS file: /home/cvs/exim/exim-src/src/host.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- host.c 9 Oct 2006 14:36:25 -0000 1.26
+++ host.c 20 Nov 2006 14:29:31 -0000 1.27
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/exim-src/src/host.c,v 1.26 2006/10/09 14:36:25 ph10 Exp $ */
+/* $Cambridge: exim/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 @@
{
HDEBUG(D_host_lookup) debug_printf("temporary error for host name lookup\n");
host_lookup_deferred = TRUE;
+ sender_host_name = NULL;
return DEFER;
}
else
Index: 0094
===================================================================
RCS file: /home/cvs/exim/exim-test/log/0094,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 0094 7 Feb 2006 10:34:46 -0000 1.1
+++ 0094 20 Nov 2006 14:29:31 -0000 1.2
@@ -5,6 +5,6 @@
1999-03-02 09:44:33 10HmaY-0005vi-00 <= userx@??? H=[99.99.99.99] U=root P=smtp S=sss
1999-03-02 09:44:33 10HmaY-0005vi-00 => userx <userx@???> R=localuser T=appendfile
1999-03-02 09:44:33 10HmaY-0005vi-00 Completed
-1999-03-02 09:44:33 10HmaZ-0005vi-00 <= userx@??? H=x.test.again.dns [V4NET.99.99.96] U=root P=smtp S=sss
+1999-03-02 09:44:33 10HmaZ-0005vi-00 <= userx@??? H=[V4NET.99.99.96] U=root P=smtp S=sss
1999-03-02 09:44:33 10HmaZ-0005vi-00 => userx <userx@???> R=localuser T=appendfile
1999-03-02 09:44:33 10HmaZ-0005vi-00 Completed
Index: 0094.userx
===================================================================
RCS file: /home/cvs/exim/exim-test/mail/0094.userx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 0094.userx 7 Feb 2006 10:34:59 -0000 1.1
+++ 0094.userx 20 Nov 2006 14:29:32 -0000 1.2
@@ -21,7 +21,7 @@
This is a test message
From userx@??? Tue Mar 02 09:44:33 1999
-Received: from x.test.again.dns ([V4NET.99.99.96] ident=root)
+Received: from [V4NET.99.99.96] (ident=root)
by the.local.host.name with smtp (Exim x.yz)
(envelope-from <userx@???>)
id 10HmaZ-0005vi-00