add NO_WILDCARD_MX #define
[unix-history] / usr / src / usr.sbin / sendmail / src / conf.h
index c7c9787..52e897f 100644 (file)
@@ -15,7 +15,7 @@
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- *     @(#)conf.h      5.12 (Berkeley) %G%
+ *     @(#)conf.h      5.13 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
 # define SETPROCTITLE  1       /* munge argv to display current status */
 /* # define WIZ                1       /* allow wizard mode */
 # define NAMED_BIND    1       /* use Berkeley Internet Domain Server */
 # define SETPROCTITLE  1       /* munge argv to display current status */
 /* # define WIZ                1       /* allow wizard mode */
 # define NAMED_BIND    1       /* use Berkeley Internet Domain Server */
+
+       /*
+        * Use query type of ANY if possible (NO_WILDCARD_MX), which will
+        * find types CNAME, A, and MX, and will cause all existing records
+        * to be cached by our local server.  If there is (might be) a
+        * wildcard MX record in the local domain or its parents that are
+        * searched, we can't use ANY; it would cause fully-qualified names
+        * to match as names in a local domain.
+        */
+# define NO_WILDCARD_MX        1