| 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 | # |
| 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 | |
| 26 | changecom() |
| 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)') |
| 31 | define(`PUSHDIVERT', `pushdef(`__D__', divnum)divert($1)') |
| 32 | define(`POPDIVERT', `divert(__D__)popdef(`__D__')') |
| 33 | define(`OSTYPE', `include(../ostype/$1.m4)') |
| 34 | define(`MAILER', |
| 35 | `ifdef(`_MAILER_$1_', `dnl`'', |
| 36 | `define(`_MAILER_$1_', `')PUSHDIVERT(7)include(../mailer/$1.m4)POPDIVERT`'')') |
| 37 | define(`DOMAIN', `include(../domain/$1.m4)') |
| 38 | define(`FEATURE', `include(../feature/$1.m4)') |
| 39 | define(`HACK', `include(../hack/$1.m4)') |
| 40 | define(`OLDSENDMAIL', `define(`_OLD_SENDMAIL_', `')') |
| 41 | define(`VERSIONID', ``##### $1 #####'') |
| 42 | define(`LOCAL_RULE_3', `divert(2)') |
| 43 | define(`LOCAL_RULE_0', `divert(3)') |
| 44 | define(`LOCAL_CONFIG', `divert(6)') |
| 45 | define(`UUCPSMTP', `R DOL(*) < @ $1 .UUCP > DOL(*) DOL(1) < @ $2 > DOL(2)') |
| 46 | define(`CONCAT', `$1$2$3$4$5$6$7') |
| 47 | define(`DOL', ``$'$1') |
| 48 | define(`SITECONFIG', |
| 49 | `CONCAT(D, $3, $2) |
| 50 | define(`_CLASS_$3_', `')dnl |
| 51 | ifelse($3, U, Cw$2, `dnl') |
| 52 | define(`SITE', `ifelse(CONCAT($'2`, $3), SU, |
| 53 | CONCAT(CY, $'1`), |
| 54 | CONCAT(C, $3, $'1`))') |
| 55 | sinclude(../siteconfig/$1.m4)') |
| 56 | define(`EXPOSED_USER', `PUSHDIVERT(5)CE$1 |
| 57 | POPDIVERT`'dnl') |
| 58 | define(`LOCAL_USER', `PUSHDIVERT(5)CL$1 |
| 59 | POPDIVERT`'dnl') |
| 60 | define(`MASQUERADE_AS', `define(`MASQUERADE_NAME', $1)') |
| 61 | |
| 62 | m4wrap(`include(`../m4/proto.m4')') |
| 63 | |
| 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 | |
| 97 | divert(0)dnl |
| 98 | VERSIONID(`@(#)cf.m4 6.2 (Berkeley) %G%') |