Commit | Line | Data |
---|---|---|
f25ecb3d EA |
1 | divert(0)dnl |
2 | # | |
3 | # Copyright (c) 1983 Eric P. Allman | |
4 | # Copyright (c) 1988 The Regents of the University of California. | |
5 | # All rights reserved. | |
6 | # | |
7 | # %sccs.include.redist.sh% | |
8 | # | |
f25ecb3d EA |
9 | |
10 | ||
11 | ###################################################################### | |
12 | ###################################################################### | |
13 | ##### | |
14 | ##### SENDMAIL CONFIGURATION FILE | |
15 | ##### | |
16 | define(`TEMPFILE', maketemp(/tmp/cfXXXXXX))dnl | |
17 | syscmd(sh ../sh/makeinfo.sh > TEMPFILE)dnl | |
18 | include(TEMPFILE)dnl | |
19 | syscmd(rm -f TEMPFILE)dnl | |
20 | ##### | |
21 | ###################################################################### | |
22 | ###################################################################### | |
23 | ||
24 | divert(-1) | |
25 | ||
b89c26b0 | 26 | changecom() |
a488845b EA |
27 | ifdef(`pushdef', `', |
28 | `errprint(`You need a newer version of M4, at least as new as | |
29 | System V or GNU') | |
30 | include(NoSuchFile)') | |
f25ecb3d EA |
31 | define(`PUSHDIVERT', `pushdef(`__D__', divnum)divert($1)') |
32 | define(`POPDIVERT', `divert(__D__)popdef(`__D__')') | |
33 | define(`OSTYPE', `include(../ostype/$1.m4)') | |
0eaaca3b | 34 | define(`MAILER', |
919c77c4 | 35 | `ifdef(`_MAILER_$1_', `dnl`'', |
b89c26b0 | 36 | `define(`_MAILER_$1_', `')PUSHDIVERT(7)include(../mailer/$1.m4)POPDIVERT`'')') |
f25ecb3d EA |
37 | define(`DOMAIN', `include(../domain/$1.m4)') |
38 | define(`FEATURE', `include(../feature/$1.m4)') | |
39 | define(`HACK', `include(../hack/$1.m4)') | |
b89c26b0 | 40 | define(`OLDSENDMAIL', `define(`_OLD_SENDMAIL_', `')') |
bfd0fd78 | 41 | define(`VERSIONID', ``##### $1 #####'') |
f25ecb3d EA |
42 | define(`LOCAL_RULE_3', `divert(2)') |
43 | define(`LOCAL_RULE_0', `divert(3)') | |
dacf3c9f | 44 | define(`LOCAL_CONFIG', `divert(6)') |
97dcbde7 | 45 | define(`LOCAL_NET_CONFIG', `define(`_LOCAL_RULES_', 1)divert(1)') |
755e2424 | 46 | define(`UUCPSMTP', `R DOL(*) < @ $1 .UUCP > DOL(*) DOL(1) < @ $2 > DOL(2)') |
f25ecb3d | 47 | define(`CONCAT', `$1$2$3$4$5$6$7') |
e2a49225 | 48 | define(`DOL', ``$'$1') |
755e2424 | 49 | define(`SITECONFIG', |
cf00ebee | 50 | `CONCAT(D, $3, $2) |
b89c26b0 | 51 | define(`_CLASS_$3_', `')dnl |
b3f4cd64 | 52 | ifelse($3, U, Cw$2, `dnl') |
cf00ebee EA |
53 | define(`SITE', `ifelse(CONCAT($'2`, $3), SU, |
54 | CONCAT(CY, $'1`), | |
55 | CONCAT(C, $3, $'1`))') | |
755e2424 | 56 | sinclude(../siteconfig/$1.m4)') |
45eb1b8f | 57 | define(`EXPOSED_USER', `PUSHDIVERT(5)CE$1 |
3eb5f759 | 58 | POPDIVERT`'dnl') |
45eb1b8f EA |
59 | define(`LOCAL_USER', `PUSHDIVERT(5)CL$1 |
60 | POPDIVERT`'dnl') | |
61 | define(`MASQUERADE_AS', `define(`MASQUERADE_NAME', $1)') | |
f25ecb3d | 62 | |
0f98b7cf | 63 | m4wrap(`include(`../m4/proto.m4')') |
bfd0fd78 | 64 | |
dfb0d44d | 65 | # set up default values for options |
a151c868 EA |
66 | define(`confMAILER_NAME', ``MAILER-DAEMON'') |
67 | define(`confFROM_LINE', `From $?<$<$|$g$. $d') | |
68 | define(`confOPERATORS', `.:%@!^/[]') | |
69 | define(`confSMTP_LOGIN_MSG', `$j Sendmail $v/$Z ready at $b') | |
70 | define(`confEIGHT_BIT_INPUT', `False') | |
71 | define(`confALIAS_WAIT', `10') | |
931f138e | 72 | define(`confMIN_FREE_BLOCKS', `4') |
a151c868 EA |
73 | define(`confBLANK_SUB', `.') |
74 | define(`confCON_EXPENSIVE', `False') | |
75 | define(`confCHECKPOINT_INTERVAL', `10') | |
76 | define(`confDELIVERY_MODE', `background') | |
77 | define(`confAUTO_REBUILD', `False') | |
78 | define(`confSAVE_FROM_LINES', `False') | |
79 | define(`confTEMP_FILE_MODE', `0600') | |
ca951d4a | 80 | define(`confMATCH_GECOS', `False') |
a151c868 EA |
81 | define(`confDEF_GROUP_ID', `1') |
82 | define(`confMAX_HOP', `17') | |
83 | define(`confIGNORE_DOTS', `False') | |
84 | define(`confBIND_OPTS', `') | |
85 | define(`confMCI_CACHE_SIZE', `2') | |
86 | define(`confMCI_CACHE_TIMEOUT', `5m') | |
87 | define(`confLOG_LEVEL', `9') | |
88 | define(`confME_TOO', `False') | |
89 | define(`confCHECK_ALIASES', `True') | |
90 | define(`confOLD_STYLE_HEADERS', `True') | |
931f138e | 91 | define(`confPRIVACY_FLAGS', `public') |
a151c868 | 92 | define(`confSAFE_QUEUE', `True') |
9b7a1c8f | 93 | define(`confMESSAGE_TIMEOUT', `5d') |
a151c868 EA |
94 | define(`confTIME_ZONE', `USE_SYSTEM') |
95 | define(`confDEF_USER_ID', `1') | |
96 | define(`confQUEUE_LA', `8') | |
97 | define(`confREFUSE_LA', `12') | |
98 | define(`confSEPARATE_PROC', `False') | |
a719f50c | 99 | define(`confCW_FILE', `/etc/sendmail.cw') |
a151c868 | 100 | |
f25ecb3d | 101 | divert(0)dnl |
a719f50c | 102 | VERSIONID(`@(#)cf.m4 6.8 (Berkeley) %G%') |