components/sendmail/patches/x-ipv6-compression.patch
author saurabh.vyas@oracle.com
Fri, 08 May 2015 11:22:54 -0700
changeset 4264 7d52b0c22474
parent 3916 1224230f8337
permissions -rw-r--r--
21027466 problem in SERVICE/KEYSTONE
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3916
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     1
This patch was developed in-house, contributed upstream, and accepted with
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     2
minor modifications for 8.15.2; when that release comes out, it should no
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     3
longer be needed.
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     4
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     5
--- sendmail-8.15.1/RELEASE_NOTES.~1~	2015-03-02 10:53:48.866427766 -0800
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     6
+++ sendmail-8.15.1/RELEASE_NOTES	2015-03-02 10:55:13.925190180 -0800
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     7
@@ -5,6 +5,13 @@
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     8
 of the sendmail configuration files, the date of release, and a
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     9
 summary of the changes in that release.
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    10
 
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    11
+	CONFIG: New option UseCompressedIPv6Addresses to select between
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    12
+		compressed and uncompressed IPv6 addresses.  The default
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    13
+		value depends on the compile-time option IPV6_FULL:
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    14
+		For 1 the default is False, for 0 it is True, thus
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    15
+		preserving the current behaviour.  Based on patch from
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    16
+		John Beck of Oracle.
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    17
+
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    18
 8.15.1/8.15.1	2014/12/06
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    19
 	SECURITY: Properly set the close-on-exec flag for file descriptors
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    20
 		(except stdin, stdout, and stderr) before executing mailers.
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    21
--- sendmail-8.15.1/cf/README.~2~	2015-03-02 10:56:39.888131319 -0800
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    22
+++ sendmail-8.15.1/cf/README	2015-03-02 10:56:39.926065186 -0800
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    23
@@ -3454,6 +3454,12 @@
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    24
 					cached but otherwise idle connection
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    25
 					to a host will prevent other sendmails
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    26
 					from connecting to the other host.
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    27
+confUSE_COMPRESSED_IPV6_ADDRESSES
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    28
+			UseCompressedIPv6Addresses
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    29
+					[undefined] If set, use the compressed
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    30
+					form of IPv6 addresses, such as
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    31
+					IPV6:::1, instead of the uncompressed
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    32
+					form, such as IPv6:0:0:0:0:0:0:0:1.
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    33
 confUSE_ERRORS_TO*	UseErrorsTo	[False] Use the Errors-To: header to
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    34
 					deliver error messages.  This should
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    35
 					not be necessary because of general
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    36
--- sendmail-8.15.1/cf/m4/proto.m4.~2~	2015-03-02 10:59:56.762362990 -0800
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    37
+++ sendmail-8.15.1/cf/m4/proto.m4	2015-03-02 10:59:56.821388655 -0800
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    38
@@ -329,6 +329,9 @@
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    39
 # use Errors-To: header?
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    40
 _OPTION(UseErrorsTo, `confUSE_ERRORS_TO', `False')
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    41
 
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    42
+# use compressed IPv6 address format?
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    43
+_OPTION(UseCompressedIPv6Addresses, `confUSE_COMPRESSED_IPV6_ADDRESSES', `')
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    44
+
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    45
 # log level
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    46
 _OPTION(LogLevel, `confLOG_LEVEL', `10')
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    47
 
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    48
--- sendmail-8.15.1/doc/op/op.me.~1~
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    49
+++ sendmail-8.15.1/doc/op/op.me
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    50
@@ -8360,6 +8360,12 @@ are always unsafe.
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    51
 Note: use
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    52
 .b DontBlameSendmail
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    53
 instead; this option is deprecated.
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    54
+.ip UseCompressedIPv6Addresses
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    55
+[no short name]
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    56
+If set, the compressed format of IPv6 addresses,
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    57
+such as IPV6:::1, will be used,
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    58
+instead of the uncompressed format,
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    59
+such as IPv6:0:0:0:0:0:0:0:1.
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    60
 .ip UseErrorsTo
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    61
 [l]
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    62
 If there is an
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    63
--- sendmail-8.15.1/sendmail/conf.c.~1~	2014-11-07 10:01:17.000000000 -0800
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    64
+++ sendmail-8.15.1/sendmail/conf.c	2015-03-02 11:02:56.829822173 -0800
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    65
@@ -379,6 +379,9 @@
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    66
 	}
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    67
 	else
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    68
 		InetMode = AF_INET;
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    69
+#if !IPV6_FULL
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    70
+	UseCompressedIPv6Addresses = true;
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    71
+#endif
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    72
 #else /* NETINET6 */
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    73
 	InetMode = AF_INET;
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    74
 #endif /* NETINET6 */
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    75
@@ -5756,7 +5759,7 @@
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    76
 	"HES_GETMAILHOST",
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    77
 #endif
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    78
 #if IPV6_FULL
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    79
-	/* Use uncompressed IPv6 address format (no "::") */
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    80
+	/* Use uncompressed IPv6 address format (no "::") by default */
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    81
 	"IPV6_FULL",
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    82
 #endif
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    83
 #if LDAPMAP
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    84
--- a/sendmail/daemon.c
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    85
+++ b/sendmail/daemon.c
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    86
@@ -4261,12 +4261,10 @@ anynet_ntop(s6a, dst, dst_len)
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    87
 			return NULL;
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    88
 		dst += sz;
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    89
 		dst_len -= sz;
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    90
-# if IPV6_FULL
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    91
-		ap = sm_inet6_ntop(s6a, dst, dst_len);
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    92
-# else /* IPV6_FULL */
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    93
-		ap = (char *) inet_ntop(AF_INET6, s6a, dst, dst_len);
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    94
-# endif /* IPV6_FULL */
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    95
-
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    96
+		if (UseCompressedIPv6Addresses)
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    97
+			ap = (char *) inet_ntop(AF_INET6, s6a, dst, dst_len);
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    98
+		else
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    99
+			ap = sm_inet6_ntop(s6a, dst, dst_len);
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   100
 		/* Restore pointer to beginning of string */
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   101
 		if (ap != NULL)
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   102
 			ap = d;
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   103
--- sendmail-8.15.1/sendmail/readcf.c.~1~	2014-10-22 09:33:53.000000000 -0700
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   104
+++ sendmail-8.15.1/sendmail/readcf.c	2015-03-02 11:04:38.892714939 -0800
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   105
@@ -2473,6 +2473,8 @@
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   106
 # define O_ADDBCC 0xeb
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   107
 	{ "AddBcc",			O_ADDBCC,	OI_NONE },
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   108
 #endif
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   109
+#define O_USECOMPRESSEDIPV6ADDRESSES 0xec
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   110
+	{ "UseCompressedIPv6Addresses",	O_USECOMPRESSEDIPV6ADDRESSES, OI_NONE },
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   111
 
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   112
 	{ NULL,				'\0',		OI_NONE	}
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   113
 };
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   114
@@ -4277,6 +4279,9 @@
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   115
 		AddBcc = atobool(val);
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   116
 		break;
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   117
 #endif
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   118
+	  case O_USECOMPRESSEDIPV6ADDRESSES:
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   119
+		UseCompressedIPv6Addresses = atobool(val);
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   120
+		break;
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   121
 
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   122
 	  default:
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   123
 		if (tTd(37, 1))
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   124
--- sendmail-8.15.1/sendmail/sendmail.h.~1~	2014-11-07 05:26:39.000000000 -0800
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   125
+++ sendmail-8.15.1/sendmail/sendmail.h	2015-03-02 11:05:51.115921999 -0800
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   126
@@ -2384,6 +2384,7 @@
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   127
 EXTERN bool	WorkAroundBrokenAAAA;	/* some nameservers return SERVFAIL on AAAA queries */
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   128
 EXTERN bool	UseErrorsTo;	/* use Errors-To: header (back compat) */
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   129
 EXTERN bool	UseNameServer;	/* using DNS -- interpret h_errno & MX RRs */
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   130
+EXTERN bool	UseCompressedIPv6Addresses;	/* for more specific zero-subnet matches */
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   131
 EXTERN char	InetMode;		/* default network for daemon mode */
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   132
 EXTERN char	OpMode;		/* operation mode, see below */
1224230f8337 PSARC 2015/111 Sendmail 8.15
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   133
 EXTERN char	SpaceSub;	/* substitution for <lwsp> */