Lines Matching +full:resolver +full:- +full:to +full:- +full:digital
2 * Copyright (c) 1998-2011 Proofpoint, Inc. and its suppliers.
4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
8 * By using this file, you agree to the terms and conditions set
13 * $Id: conf.h,v 1.147 2013-11-22 20:51:31 ca Exp $
17 ** CONF.H -- All user-configurable parameters for sendmail
19 ** Send updates to Sendmail.ORG so they will be
21 ** http://www.sendmail.org/email-addresses.html
22 ** for current e-mail address.
35 ** These may be undone later, to cope with systems that claim to
36 ** be Standard C but aren't. Gcc is the biggest offender -- it
70 #define LOG 1 /* enable logging -- don't turn off */
75 ** Unless you are porting to a new OS, you shouldn't have to
80 ** HP-UX -- tested for 8.07, 9.00, and 9.01.
82 ** If V4FS is defined, compile for HP-UX 10.0.
87 /* common definitions for HP-UX 9.x and 10.x */
93 # define HASSETRESGID 1 /* use setresgid(2) to set saved gid */
95 # define seteuid(e) setresuid(-1, e, -1)
112 # define HASSETREUID 1 /* setreuid(2) works on HP-UX 11.x */
129 /* HP-UX 10.x */
142 /* HP-UX 9.x */
143 # define _PATH_UNIX "/hp-ux"
155 # define FDSET_CAST (int *) /* cast for fd_set parameters to select */
168 # define SOCKADDR_LEN_T socklen_t /* e.g., arg#3 to accept, getsockname */
169 # define SOCKOPT_LEN_T socklen_t /* arg#5 to getsockopt */
185 # define SOCKOPT_LEN_T size_t /* arg#5 to getsockopt */
190 # define SOCKADDR_LEN_T size_t /* e.g., arg#3 to accept, getsockname */
193 # if defined(_ILS_MACROS) /* IBM versions aren't side-effect clean */
205 ** IBM AIX 3.x -- actually tested for 3.2.3
210 # include <sys/machine.h> /* to get byte order */
238 ** IBM AIX 2.2.1 -- actually tested for osupdate level 2706+1773
243 # ifdef AIX /* AIX/RT compiler pre-defines this */
250 # define HASSETREUID 1 /* use setreuid(2) -lbsd system call */
253 # define HASFLOCK 0 /* does not have flock call - use fcntl */
291 ** Use IRIX64 instead of IRIX for 64-bit IRIX (6.0).
299 # define SYSTEM5 1 /* this is a System-V derived system */
311 /* _SC_NPROC_ONLN is 'mpadmin -u', total # of unrestricted processors */
372 # define SOLARIS 20300 /* for back compat only -- use -DSOLARIS=20300 */
414 # define LDA_CONTENTLENGTH 1 /* Needs the Content-Length header */
418 # define HASSETREGID 1 /* use setregid(2) to set saved gid */
424 # define LA_TYPE LA_KSTAT /* use kstat(3k) -- may work in < 2.5 */
469 # define HAVE_NANOSLEEP 1 /* moved from librt to libc in S11 */
470 # define SOCKADDR_LEN_T socklen_t /* arg#3 to accept, getsockname */
471 # define SOCKOPT_LEN_T socklen_t /* arg#5 to getsockopt */
474 # define HASGETUSERSHELL 0 /* getusershell(3) causes core dumps pre-2.7 */
477 # define SIGWAIT_TAKES_1_ARG 1 /* S11.4 moves to UNIX V7 semantic */
488 # define TZ_TYPE TZ_TM_ZONE /* use tm->tm_zone */
504 # define BSD4_3 1 /* 4.3 BSD-based */
532 ** Tested on 5.4.2 and 5.4.3. Use DGUX_5_4_2 to get the
572 ** Digital Ultrix 4.2 - 4.5
604 # define IDENTPROTO 0 /* pre-4.4 TCP/IP implementation is broken */
643 ** Tru64 UNIX, formerly known as Digital UNIX, formerly known as DEC OSF/1
678 ** Testing on a Digital UNIX 4.0a system showed this to be the correct
843 # define HASSETREUID 0 /* BSD-OS has broken setreuid(2) emulation */
945 ** 4.3BSD clone, closer to 4.4BSD for FreeBSD 1.x and NetBSD 0.9x
946 ** 4.4BSD-Lite based for FreeBSD 2.x and NetBSD 1.x
989 # define HASSETUSERCONTEXT 1 /* BSDI-style login classes */
1009 # define HASSETUSERCONTEXT 1 /* BSDI-style login classes */
1028 # if __FreeBSD_version >= 199512 /* 2.2-current when it appeared */
1029 # if __FreeBSD_version < 500012 /* Moved to libc in 2000 */
1034 # if __FreeBSD_version >= 222000 /* 2.2.2-release and later */
1035 # define HASSETUSERCONTEXT 1 /* BSDI-style login classes */
1037 # if __FreeBSD_version >= 300000 /* 3.0.0-release and later */
1040 # if __FreeBSD_version >= 330000 /* 3.3.0-release and later */
1048 # if __FreeBSD_version >= 430000 /* 4.3.0-release and later */
1049 # define SOCKADDR_LEN_T socklen_t /* e.g., arg#3 to accept, getsockname */
1050 # define SOCKOPT_LEN_T socklen_t /* arg#5 to getsockopt */
1067 # define HASSETEGID 1 /* use setegid(2) to set saved gid */
1073 # define HASSETUSERCONTEXT 1 /* BSDI-style login classes */
1085 # define SOCKADDR_LEN_T socklen_t /* e.g., arg#3 to accept, getsockname */
1088 # define SOCKOPT_LEN_T socklen_t /* arg#5 to getsockopt */
1158 /* GNU has no MAXPATHLEN; ideally the code should be changed to not use it. */
1163 ** 4.3 BSD -- this is for very old systems
1165 ** Should work for mt Xinu MORE/BSD and Mips UMIPS-BSD 2.1.
1167 ** You'll also have to install a new resolver library.
1200 ** which we can use to figure out what version we're on.
1201 ** This may have to change in future releases.
1204 ** (Contributed by Philippe Brand <phb@colombo.telesys-innov.fr>).
1228 # define SOCKADDR_LEN_T size_t /* e.g., arg#3 to accept, getsockname */
1229 # define SOCKOPT_LEN_T size_t /* arg#5 to getsockopt */
1249 # define SFS_TYPE SFS_4ARGS /* use <sys/statfs.h> 4-arg impl */
1252 # define TZ_TYPE TZ_TM_NAME /* use tm->tm_name */
1266 # define SYS5SIGNALS 1 /* SysV signal semantics -- reset on each sig */
1270 # define ftruncate chsize /* use chsize(2) to emulate ftruncate */
1289 # define SYS5SIGNALS 1 /* SysV signal semantics -- reset on each sig */
1317 # define SYS5SIGNALS 1 /* SysV signal semantics -- reset on each sig */
1357 ** For pre-ConvexOOS 11.0, define SM_CONF_GETOPT=0, undef IDENTPROTO
1459 ** Thanks to, in reverse order of contact:
1463 ** Florian La Roche <rzsfl@rz.uni-sb.de>
1466 ** NOTE: Override HASFLOCK as you will but, as of 1.99.6, mixed-style
1478 # define HASSETREGID 1 /* use setregid(2) to set saved gid */
1483 # define USESETEUID 0 /* has it due to POSIX, but doesn't work */
1548 ** Linux doesn't have a good way to tell userland what interfaces are
1549 ** IPv6-capable. Therefore, the BIND resolver can not determine if there
1550 ** are IPv6 interfaces to honor AI_ADDRCONFIG. Unfortunately, it assumes
1617 # define SIGFUNC_RETURN /* POSIX-mode */
1618 # define SIGFUNC_DECL void /* POSIX-mode */
1652 # define SYS5SIGNALS 1 /* SysV signal semantics -- reset on each sig */
1666 ** Must be compiled in "cc -43" mode.
1691 # define BSD4_3 1 /* to get signal() in conf.c */
1700 /* Have to redefine WIFEXITED to take an int, to work with waitfor() */
1702 # define WIFEXITED(s) (((union wait*)&(s))->w_stopval != WSTOPPED && \
1703 ((union wait*)&(s))->w_termsig == 0)
1704 # define WEXITSTATUS(s) (((union wait*)&(s))->w_retcode)
1782 # define SYS5SIGNALS 1 /* SysV signal semantics -- reset on each sig */
1802 /* _SC_NPROC_ONLN is 'mpadmin -u', total # of unrestricted processors */
1851 ** MPE-iX
1898 /* Present header stuff that needs to be missing */
1918 ** System V Rel 5.x (a.k.a Unixware7 w/o BSD-Compatibility Libs ie. native)
2020 ** NCR MP-RAS 2.x (SysVr4) with Wollongong TCP/IP
2035 ** NCR MP-RAS 3.x (SysVr4) with STREAMware TCP/IP
2044 # define SIOCGIFNUM_IS_BROKEN 1 /* SIOCGIFNUM has non-std interface */
2060 ** Tandem NonStop-UX SVR4
2071 ** Hitachi 3050R/3050RX and 3500 Workstations running HI-UX/WE2.
2074 ** From Akihiro Hashimoto ("Hash") <hash@dominic.ipc.chiba-u.ac.jp>.
2077 ** From Motonori NAKAMURA <motonori@media.kyoto-u.ac.jp>.
2084 # define setreuid(r, e) setresuid(r, e, -1)
2089 # define HASSETVBUF /* HI-UX has no setlinebuf */
2095 # define _PATH_UNIX "/HI-UX"
2106 # define FDSET_CAST (int *) /* cast for fd_set parameters to select */
2120 ** Amdahl UTS System V 2.1.5 (SVr3-based)
2128 # define NEEDFSYNC 1 /* system fsync(2) fails on non-EFS filesys */
2137 # define GIDSET_T gid_t /* type of 2nd arg to getgroups(2) isn't int */
2139 # define SFS_TYPE SFS_4ARGS /* use 4-arg statfs() */
2155 # define SYS5SIGNALS 1 /* SysV signal semantics -- reset on each sig */
2161 # define _POSIX_CHOWN_RESTRICTED -1
2167 ** Sony NEWS-OS 4.2.1R and 6.0.3
2174 /* NEWS-OS 4.2.1R */
2197 /* NEWS-OS 6.0.3 with /bin/cc */
2226 ** Omron LUNA/UNIOS-B 3.0, LUNA2/Mach and LUNA88K Mach
2244 # define TZ_TYPE TZ_TM_ZONE /* use tm->tm_zone */
2248 # define TZ_TYPE TZ_TM_ZONE /* use tm->tm_zone */
2270 ** NEC EWS-UX/V 4.2 (with /usr/ucb/cc)
2279 # define SYS5SIGNALS 1 /* SysV signal semantics -- reset on each sig */
2453 ** End of Per-Operating System defines
2476 # define TZ_TYPE TZ_TM_ZONE /* use tm->tm_zone variable */
2493 # define HASFCHMOD 1 /* most (all?) SVr4s seem to have fchmod(2) */
2556 ** Tweaking for systems that (for example) claim to be BSD or POSIX
2573 ** Due to a "feature" in some operating systems such as Ultrix 4.3 and
2574 ** HPUX 8.0, if you receive a "No route to host" message (ICMP message
2575 ** ICMP_UNREACH_HOST) on _any_ connection, all connections to that host
2576 ** are closed. Some firewalls return this error if you try to connect
2577 ** to the IDENT port (113), so you can't receive email from these hosts
2580 ** not explicitly set to zero above, default it on.
2644 # define FDSET_CAST /* (empty) cast for fd_set arg to select */
2667 ** it's an integer -- unfortunately, there seem to be several choices
2703 ** Remaining definitions should never have to be changed. They are
2704 ** primarily to provide back compatibility for older systems -- for
2744 /* close-on-exec flag */
2750 ** Older systems don't have this error code -- it should be in
2758 /* pseudo-codes */
2767 /* pseudo-code used for mci_setstat */
2768 # define EX_NOTSTICKY (-5) /* don't save persistent status */
2772 ** An "impossible" file mode to indicate that the file does not exist.
2775 # define ST_MODE_NOFILE 0171147 /* unlikely to occur */
2814 ** Use the lack of LDAP_OPT_SIZELIMIT to detect old API implementations
2816 ** (OpenLDAP 1.2 and later have a working ldap_init(), add -DUSE_LDAP_INIT)
2865 ** gethostname() function.") to be at least 255. c.f.:
2867 ** but Linux defines that to 64 too.
2892 # define LOCK_NB 0x04 /* non-blocking lock */
2919 # define SIG_ERR ((void (*)()) -1)
2965 ** not be changed; there are some hard-to-define dependencies.
2970 /* fork routine -- set above using #ifdef _osname_ or in Makefile */
2972 # define FORK fork /* function to call to fork mailer */
2984 /* random routine -- set above using #ifdef _osname_ or in Makefile */
2995 ** Default to using scanf in readcf.
3014 # define SM_PWN_CHARS "-_."
3043 ** Some snprintf() implementations are rumored not to NUL terminate.
3068 # define LOG_DEBUG 7 /* debug-level messages */
3098 # define SM_ALIGN_BITS (SM_ALIGN_SIZE - 1)