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)') |
755e2424 | 45 | define(`UUCPSMTP', `R DOL(*) < @ $1 .UUCP > DOL(*) DOL(1) < @ $2 > DOL(2)') |
f25ecb3d | 46 | define(`CONCAT', `$1$2$3$4$5$6$7') |
e2a49225 | 47 | define(`DOL', ``$'$1') |
755e2424 | 48 | define(`SITECONFIG', |
cf00ebee | 49 | `CONCAT(D, $3, $2) |
b89c26b0 | 50 | define(`_CLASS_$3_', `')dnl |
b3f4cd64 | 51 | ifelse($3, U, Cw$2, `dnl') |
cf00ebee EA |
52 | define(`SITE', `ifelse(CONCAT($'2`, $3), SU, |
53 | CONCAT(CY, $'1`), | |
54 | CONCAT(C, $3, $'1`))') | |
755e2424 | 55 | sinclude(../siteconfig/$1.m4)') |
45eb1b8f | 56 | define(`EXPOSED_USER', `PUSHDIVERT(5)CE$1 |
3eb5f759 | 57 | POPDIVERT`'dnl') |
45eb1b8f EA |
58 | define(`LOCAL_USER', `PUSHDIVERT(5)CL$1 |
59 | POPDIVERT`'dnl') | |
60 | define(`MASQUERADE_AS', `define(`MASQUERADE_NAME', $1)') | |
f25ecb3d | 61 | |
0f98b7cf | 62 | m4wrap(`include(`../m4/proto.m4')') |
bfd0fd78 | 63 | |
a151c868 EA |
64 | # define default values for options |
65 | define(`confMAILER_NAME', ``MAILER-DAEMON'') | |
66 | define(`confFROM_LINE', `From $?<$<$|$g$. $d') | |
67 | define(`confOPERATORS', `.:%@!^/[]') | |
68 | define(`confSMTP_LOGIN_MSG', `$j Sendmail $v/$Z ready at $b') | |
69 | define(`confEIGHT_BIT_INPUT', `False') | |
70 | define(`confALIAS_WAIT', `10') | |
71 | define(`confBLANK_SUB', `.') | |
72 | define(`confCON_EXPENSIVE', `False') | |
73 | define(`confCHECKPOINT_INTERVAL', `10') | |
74 | define(`confDELIVERY_MODE', `background') | |
75 | define(`confAUTO_REBUILD', `False') | |
76 | define(`confSAVE_FROM_LINES', `False') | |
77 | define(`confTEMP_FILE_MODE', `0600') | |
78 | define(`confDEF_GROUP_ID', `1') | |
79 | define(`confMAX_HOP', `17') | |
80 | define(`confIGNORE_DOTS', `False') | |
81 | define(`confBIND_OPTS', `') | |
82 | define(`confMCI_CACHE_SIZE', `2') | |
83 | define(`confMCI_CACHE_TIMEOUT', `5m') | |
84 | define(`confLOG_LEVEL', `9') | |
85 | define(`confME_TOO', `False') | |
86 | define(`confCHECK_ALIASES', `True') | |
87 | define(`confOLD_STYLE_HEADERS', `True') | |
88 | define(`confREAD_TIMEOUT', `20m') | |
89 | define(`confSAFE_QUEUE', `True') | |
90 | define(`confMESSAGE_TIMEOUT', `3d') | |
91 | define(`confTIME_ZONE', `USE_SYSTEM') | |
92 | define(`confDEF_USER_ID', `1') | |
93 | define(`confQUEUE_LA', `8') | |
94 | define(`confREFUSE_LA', `12') | |
95 | define(`confSEPARATE_PROC', `False') | |
96 | ||
f25ecb3d | 97 | divert(0)dnl |
a151c868 | 98 | VERSIONID(`@(#)cf.m4 6.2 (Berkeley) %G%') |