ph10 2006/02/14 16:18:14 GMT
Modified files:
exim-doc/doc-txt ChangeLog NewStuff
exim-src/src globals.c
exim-test/dnszones-src db.test.ex
exim-test/scripts/2200-dnsdb 2200
exim-test/stdout 2200
Log:
Allow slashes in the dns_check_names_pattern default value.
Revision Changes Path
1.303 +5 -0 exim/exim-doc/doc-txt/ChangeLog
1.86 +6 -0 exim/exim-doc/doc-txt/NewStuff
1.50 +1 -1 exim/exim-src/src/globals.c
1.2 +1 -0 exim/exim-test/dnszones-src/db.test.ex
1.2 +1 -0 exim/exim-test/scripts/2200-dnsdb/2200
1.2 +1 -0 exim/exim-test/stdout/2200
Index: ChangeLog
===================================================================
RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
retrieving revision 1.302
retrieving revision 1.303
diff -u -r1.302 -r1.303
--- ChangeLog 14 Feb 2006 15:56:43 -0000 1.302
+++ ChangeLog 14 Feb 2006 16:18:14 -0000 1.303
@@ -1,4 +1,4 @@
-$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.302 2006/02/14 15:56:43 ph10 Exp $
+$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.303 2006/02/14 16:18:14 ph10 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
@@ -175,6 +175,11 @@
PH/34 Omit spaces between a header name and the colon in the error message that
is given when verify = headers_syntax fails (if there are lots of them,
the message gets confusing).
+
+PH/35 Change the default for dns_check_names_pattern to allow slashes within
+ names, as there are now some PTR records that contain slashes. This check
+ is only to protect against broken name servers that fall over on strange
+ characters, so the fact that it applies to all lookups doesn't matter.
Exim version 4.60
Index: NewStuff
===================================================================
RCS file: /home/cvs/exim/exim-doc/doc-txt/NewStuff,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- NewStuff 14 Feb 2006 14:55:37 -0000 1.85
+++ NewStuff 14 Feb 2006 16:18:14 -0000 1.86
@@ -1,4 +1,4 @@
-$Cambridge: exim/exim-doc/doc-txt/NewStuff,v 1.85 2006/02/14 14:55:37 ph10 Exp $
+$Cambridge: exim/exim-doc/doc-txt/NewStuff,v 1.86 2006/02/14 16:18:14 ph10 Exp $
New Features in Exim
--------------------
@@ -54,6 +54,12 @@
sender verification failure is not written. Log lines for the rejection
of SMTP commands (e.g. RCPT) contain just "sender verify failed", so some
detail is lost.
+
+PH/08 The default for dns_check_names_pattern now allows slashes within names,
+ as there are now some PTR records that contain slashes. This check is
+ only to protect against broken name servers that fall over on strange
+ characters, so the fact that it applies to all lookups doesn't matter.
+
Version 4.60
Index: globals.c
===================================================================
RCS file: /home/cvs/exim/exim-src/src/globals.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- globals.c 14 Feb 2006 14:55:37 -0000 1.49
+++ globals.c 14 Feb 2006 16:18:14 -0000 1.50
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/exim-src/src/globals.c,v 1.49 2006/02/14 14:55:37 ph10 Exp $ */
+/* $Cambridge: exim/exim-src/src/globals.c,v 1.50 2006/02/14 16:18:14 ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -370,7 +370,7 @@
int callout_cache_positive_expire = 24*60*60;
int callout_cache_negative_expire = 2*60*60;
uschar *callout_random_local_part = US"$primary_hostname-$tod_epoch-testing";
-uschar *check_dns_names_pattern= US"(?i)^(?>(?(1)\\.|())[^\\W_](?>[a-z0-9-]*[^\\W_])?)+$";
+uschar *check_dns_names_pattern= US"(?i)^(?>(?(1)\\.|())[^\\W_](?>[a-z0-9/-]*[^\\W_])?)+$";
int check_log_inodes = 0;
int check_log_space = 0;
BOOL check_rfc2047_length = TRUE;
Index: db.test.ex
===================================================================
RCS file: /home/cvs/exim/exim-test/dnszones-src/db.test.ex,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- db.test.ex 6 Feb 2006 16:22:56 -0000 1.1
+++ db.test.ex 14 Feb 2006 16:18:14 -0000 1.2
@@ -1,4 +1,4 @@
-; $Cambridge: exim/exim-test/dnszones-src/db.test.ex,v 1.1 2006/02/06 16:22:56 ph10 Exp $
+; $Cambridge: exim/exim-test/dnszones-src/db.test.ex,v 1.2 2006/02/14 16:18:14 ph10 Exp $
; This is a testing zone file for use when testing DNS handling in Exim. This
; is a fake zone of no real use - hence no SOA record. The zone name is
@@ -21,6 +21,7 @@
test.ex. NS exim.test.ex.
test.ex. TXT "A TXT record for test.ex."
+s/lash TXT "A TXT record for s/lash.test.ex."
cname CNAME test.ex.
Index: 2200
===================================================================
RCS file: /home/cvs/exim/exim-test/scripts/2200-dnsdb/2200,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 2200 7 Feb 2006 10:54:48 -0000 1.1
+++ 2200 14 Feb 2006 16:18:14 -0000 1.2
@@ -2,6 +2,7 @@
exim -be
test.ex ${lookup dnsdb{test.ex}{$value}fail}
+s/lash.test.ex ${lookup dnsdb{s/lash.test.ex}{$value}fail}
txt=test.ex ${lookup dnsdb{txt=test.ex}{$value}fail}
a=black-1.test.ex ${lookup dnsdb{a=black-1.test.ex}{$value}fail}
xxx=test.ex ${lookup dnsdb{xxx=test.ex}{$value}fail}
Index: 2200
===================================================================
RCS file: /home/cvs/exim/exim-test/stdout/2200,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- 2200 7 Feb 2006 10:47:37 -0000 1.1
+++ 2200 14 Feb 2006 16:18:14 -0000 1.2
@@ -1,4 +1,5 @@
> test.ex A TXT record for test.ex.
+> s/lash.test.ex A TXT record for s/lash.test.ex.
> txt=test.ex A TXT record for test.ex.
> a=black-1.test.ex V4NET.11.12.13
> Failed: lookup of "xxx=test.ex" gave DEFER: unsupported DNS record type