-
Notifications
You must be signed in to change notification settings - Fork 2
/
conf.h
81 lines (66 loc) · 2.37 KB
/
conf.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*
** Various configuration definitions.
**
** @(#)conf.h e07@nikhef.nl (Eric Wassenaar) 961006
*/
/*
* This is your nearest host running the sendmail daemon.
* It is contacted in case local addresses without a domain are given.
* Also when domain parsing errors were encountered, assuming that
* this host can give a more appropriate error message.
* This definition is overruled by the VRFY_LOCALHOST environment variable.
*/
#ifndef LOCALHOST
#define LOCALHOST "localhost" /* redefine if not running sendmail */
#endif
/*
* This host is contacted when a .uucp address is specified.
* You probably won't get much useful information.
* This definition is overruled by the VRFY_UUCPRELAY environment variable.
*/
#ifndef UUCPRELAY
#define UUCPRELAY LOCALHOST /* where to send pure uucp addresses */
#endif
/*
* This host is contacted when a .bitnet or .earn address is specified.
* You probably won't get much useful information.
* This definition is overruled by the VRFY_BITNETRELAY environment variable.
*/
#ifndef BITNETRELAY
#define BITNETRELAY LOCALHOST /* where to send earn/bitnet addresses */
#endif
/*
* This host is contacted when a single unqualified host name
* could not be resolved to a fully qualified MX domain host.
* It is assumed that single hosts in your own domain can be
* resolved, i.e. they have an MX record.
* It depends on your local strategy for unqualified hosts what they
* mean: a .uucp host, a .bitnet host, or just a local host without MX.
* This definition is overruled by the VRFY_SINGLERELAY environment variable.
*/
#ifndef SINGLERELAY
#define SINGLERELAY LOCALHOST /* where to send single host addresses */
#endif
/*
* Various constants.
*/
#define MAXSPEC 512 /* maximum size of single address spec */
#define MAXHOST 256 /* maximum size of an hostname */
#define MAXREPLY 1200 /* maximum number of replies per query */
#define MAXHOP 17 /* default maximum recursion level */
#define MAXLOOP 50 /* maximum useable recursion level */
#define MAXMXHOSTS 20 /* maximum number of mx hosts */
#define MAXADDRS 35 /* max address count from gethostnamadr.c */
/*
* Default timeout values.
*/
#define CONNTIMEOUT 6 /* connect timeout (seconds) */
#define READTIMEOUT 60 /* read timeout (seconds) */
/*
* Prefix for messages on stdout in debug mode.
*/
#if defined(BIND_49)
#define DBPREFIX ";; "
#else
#define DBPREFIX ""
#endif