xref: /csrg-svn/usr.sbin/sendmail/cf/m4/cf.m4 (revision 58009)
151222Sericdivert(0)dnl
251222Seric#
351222Seric# Copyright (c) 1983 Eric P. Allman
451222Seric# Copyright (c) 1988 The Regents of the University of California.
551222Seric# All rights reserved.
651222Seric#
751222Seric# %sccs.include.redist.sh%
851222Seric#
951222Seric
1051222Seric
1151222Seric######################################################################
1251222Seric######################################################################
1351222Seric#####
1451222Seric#####		SENDMAIL CONFIGURATION FILE
1551222Seric#####
1651222Sericdefine(`TEMPFILE', maketemp(/tmp/cfXXXXXX))dnl
1751222Sericsyscmd(sh ../sh/makeinfo.sh > TEMPFILE)dnl
1851222Sericinclude(TEMPFILE)dnl
1951222Sericsyscmd(rm -f TEMPFILE)dnl
2051222Seric#####
2151222Seric######################################################################
2251222Seric######################################################################
2351222Seric
2451222Sericdivert(-1)
2551222Seric
2656768Sericchangecom()
2756792Sericifdef(`pushdef', `',
2856792Seric	`errprint(`You need a newer version of M4, at least as new as
2956792SericSystem V or GNU')
3056792Seric	include(NoSuchFile)')
3151222Sericdefine(`PUSHDIVERT', `pushdef(`__D__', divnum)divert($1)')
3251222Sericdefine(`POPDIVERT', `divert(__D__)popdef(`__D__')')
3351222Sericdefine(`OSTYPE', `include(../ostype/$1.m4)')
3451307Sericdefine(`MAILER',
3551321Seric`ifdef(`_MAILER_$1_', `dnl`'',
3656768Seric`define(`_MAILER_$1_', `')PUSHDIVERT(7)include(../mailer/$1.m4)POPDIVERT`'')')
3751222Sericdefine(`DOMAIN', `include(../domain/$1.m4)')
3851222Sericdefine(`FEATURE', `include(../feature/$1.m4)')
3951222Sericdefine(`HACK', `include(../hack/$1.m4)')
4056768Sericdefine(`OLDSENDMAIL', `define(`_OLD_SENDMAIL_', `')')
4151242Sericdefine(`VERSIONID', ``#####  $1  #####'')
4251222Sericdefine(`LOCAL_RULE_3', `divert(2)')
4351222Sericdefine(`LOCAL_RULE_0', `divert(3)')
4451889Sericdefine(`LOCAL_CONFIG', `divert(6)')
4551260Sericdefine(`UUCPSMTP', `R DOL(*) < @ $1 .UUCP > DOL(*)	DOL(1) < @ $2 > DOL(2)')
4651222Sericdefine(`CONCAT', `$1$2$3$4$5$6$7')
4751239Sericdefine(`DOL', ``$'$1')
4851260Sericdefine(`SITECONFIG',
4951280Seric`CONCAT(D, $3, $2)
5056768Sericdefine(`_CLASS_$3_', `')dnl
5151298Sericifelse($3, U, Cw$2, `dnl')
5251280Sericdefine(`SITE', `ifelse(CONCAT($'2`, $3), SU,
5351280Seric		CONCAT(CY, $'1`),
5451280Seric		CONCAT(C, $3, $'1`))')
5551260Sericsinclude(../siteconfig/$1.m4)')
5657245Sericdefine(`EXPOSED_USER', `PUSHDIVERT(5)CE$1
5751278SericPOPDIVERT`'dnl')
5857245Sericdefine(`LOCAL_USER', `PUSHDIVERT(5)CL$1
5957245SericPOPDIVERT`'dnl')
6057245Sericdefine(`MASQUERADE_AS', `define(`MASQUERADE_NAME', $1)')
6151222Seric
6256775Sericm4wrap(`include(`../m4/proto.m4')')
6351242Seric
6457944Seric# define default values for options
6557944Sericdefine(`confMAILER_NAME', ``MAILER-DAEMON'')
6657944Sericdefine(`confFROM_LINE', `From $?<$<$|$g$.  $d')
6757944Sericdefine(`confOPERATORS', `.:%@!^/[]')
6857944Sericdefine(`confSMTP_LOGIN_MSG', `$j Sendmail $v/$Z ready at $b')
6957944Sericdefine(`confEIGHT_BIT_INPUT', `False')
7057944Sericdefine(`confALIAS_WAIT', `10')
7157944Sericdefine(`confBLANK_SUB', `.')
7257944Sericdefine(`confCON_EXPENSIVE', `False')
7357944Sericdefine(`confCHECKPOINT_INTERVAL', `10')
7457944Sericdefine(`confDELIVERY_MODE', `background')
7557944Sericdefine(`confAUTO_REBUILD', `False')
7657944Sericdefine(`confSAVE_FROM_LINES', `False')
7757944Sericdefine(`confTEMP_FILE_MODE', `0600')
78*58009Sericdefine(`confMATCH_GECOS', `False')
7957944Sericdefine(`confDEF_GROUP_ID', `1')
8057944Sericdefine(`confMAX_HOP', `17')
8157944Sericdefine(`confIGNORE_DOTS', `False')
8257944Sericdefine(`confBIND_OPTS', `')
8357944Sericdefine(`confMCI_CACHE_SIZE', `2')
8457944Sericdefine(`confMCI_CACHE_TIMEOUT', `5m')
8557944Sericdefine(`confLOG_LEVEL', `9')
8657944Sericdefine(`confME_TOO', `False')
8757944Sericdefine(`confCHECK_ALIASES', `True')
8857944Sericdefine(`confOLD_STYLE_HEADERS', `True')
8957944Sericdefine(`confREAD_TIMEOUT', `20m')
9057944Sericdefine(`confSAFE_QUEUE', `True')
9157944Sericdefine(`confMESSAGE_TIMEOUT', `3d')
9257944Sericdefine(`confTIME_ZONE', `USE_SYSTEM')
9357944Sericdefine(`confDEF_USER_ID', `1')
9457944Sericdefine(`confQUEUE_LA', `8')
9557944Sericdefine(`confREFUSE_LA', `12')
9657944Sericdefine(`confSEPARATE_PROC', `False')
9757944Seric
9851222Sericdivert(0)dnl
99*58009SericVERSIONID(`@(#)cf.m4	6.3 (Berkeley) 02/15/93')
100