xref: /csrg-svn/usr.sbin/sendmail/cf/m4/cf.m4 (revision 58177)
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)')
4558070Sericdefine(`LOCAL_NET_CONFIG', `define(`_LOCAL_RULES_', 1)divert(1)')
4651260Sericdefine(`UUCPSMTP', `R DOL(*) < @ $1 .UUCP > DOL(*)	DOL(1) < @ $2 > DOL(2)')
4751222Sericdefine(`CONCAT', `$1$2$3$4$5$6$7')
4851239Sericdefine(`DOL', ``$'$1')
4951260Sericdefine(`SITECONFIG',
5051280Seric`CONCAT(D, $3, $2)
5156768Sericdefine(`_CLASS_$3_', `')dnl
5251298Sericifelse($3, U, Cw$2, `dnl')
5351280Sericdefine(`SITE', `ifelse(CONCAT($'2`, $3), SU,
5451280Seric		CONCAT(CY, $'1`),
5551280Seric		CONCAT(C, $3, $'1`))')
5651260Sericsinclude(../siteconfig/$1.m4)')
5757245Sericdefine(`EXPOSED_USER', `PUSHDIVERT(5)CE$1
5851278SericPOPDIVERT`'dnl')
5957245Sericdefine(`LOCAL_USER', `PUSHDIVERT(5)CL$1
6057245SericPOPDIVERT`'dnl')
6157245Sericdefine(`MASQUERADE_AS', `define(`MASQUERADE_NAME', $1)')
6251222Seric
6356775Sericm4wrap(`include(`../m4/proto.m4')')
6451242Seric
65*58177Seric# set up default values for options
6657944Sericdefine(`confMAILER_NAME', ``MAILER-DAEMON'')
6757944Sericdefine(`confFROM_LINE', `From $?<$<$|$g$.  $d')
6857944Sericdefine(`confOPERATORS', `.:%@!^/[]')
6957944Sericdefine(`confSMTP_LOGIN_MSG', `$j Sendmail $v/$Z ready at $b')
7057944Sericdefine(`confEIGHT_BIT_INPUT', `False')
7157944Sericdefine(`confALIAS_WAIT', `10')
7258083Sericdefine(`confMIN_FREE_BLOCKS', `4')
7357944Sericdefine(`confBLANK_SUB', `.')
7457944Sericdefine(`confCON_EXPENSIVE', `False')
7557944Sericdefine(`confCHECKPOINT_INTERVAL', `10')
7657944Sericdefine(`confDELIVERY_MODE', `background')
7757944Sericdefine(`confAUTO_REBUILD', `False')
7857944Sericdefine(`confSAVE_FROM_LINES', `False')
7957944Sericdefine(`confTEMP_FILE_MODE', `0600')
8058009Sericdefine(`confMATCH_GECOS', `False')
8157944Sericdefine(`confDEF_GROUP_ID', `1')
8257944Sericdefine(`confMAX_HOP', `17')
8357944Sericdefine(`confIGNORE_DOTS', `False')
8457944Sericdefine(`confBIND_OPTS', `')
8557944Sericdefine(`confMCI_CACHE_SIZE', `2')
8657944Sericdefine(`confMCI_CACHE_TIMEOUT', `5m')
8757944Sericdefine(`confLOG_LEVEL', `9')
8857944Sericdefine(`confME_TOO', `False')
8957944Sericdefine(`confCHECK_ALIASES', `True')
9057944Sericdefine(`confOLD_STYLE_HEADERS', `True')
9158083Sericdefine(`confPRIVACY_FLAGS', `public')
9257944Sericdefine(`confSAFE_QUEUE', `True')
9358118Sericdefine(`confMESSAGE_TIMEOUT', `5d')
9457944Sericdefine(`confTIME_ZONE', `USE_SYSTEM')
9557944Sericdefine(`confDEF_USER_ID', `1')
9657944Sericdefine(`confQUEUE_LA', `8')
9757944Sericdefine(`confREFUSE_LA', `12')
9857944Sericdefine(`confSEPARATE_PROC', `False')
9957944Seric
10051222Sericdivert(0)dnl
101*58177SericVERSIONID(`@(#)cf.m4	6.7 (Berkeley) 02/24/93')
102