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__')') 3358780Sericdefine(`OSTYPE', `define(`_ARG_', $2)include(../ostype/$1.m4)') 3451307Sericdefine(`MAILER', 3551321Seric`ifdef(`_MAILER_$1_', `dnl`'', 3656768Seric`define(`_MAILER_$1_', `')PUSHDIVERT(7)include(../mailer/$1.m4)POPDIVERT`'')') 3758780Sericdefine(`DOMAIN', `define(`_ARG_', $2)include(../domain/$1.m4)') 3858780Sericdefine(`FEATURE', `define(`_ARG_', $2)include(../feature/$1.m4)') 3958780Sericdefine(`HACK', `define(`_ARG_', $2)include(../hack/$1.m4)') 4056768Sericdefine(`OLDSENDMAIL', `define(`_OLD_SENDMAIL_', `')') 4151242Sericdefine(`VERSIONID', ``##### $1 #####'') 4258678Sericdefine(`LOCAL_RULE_0', `divert(3)') 4358678Sericdefine(`LOCAL_RULE_1', 4458678Seric`divert(9)dnl 4558678Seric####################################### 4658678Seric### Ruleset 1 -- Sender Rewriting ### 4758678Seric####################################### 4858678Seric 4958678SericS1 5058678Seric') 5158678Sericdefine(`LOCAL_RULE_2', 5258678Seric`divert(9)dnl 5358678Seric########################################## 5458678Seric### Ruleset 2 -- Recipient Rewriting ### 5558678Seric########################################## 5658678Seric 5758678SericS2 5858678Seric') 5951222Sericdefine(`LOCAL_RULE_3', `divert(2)') 6051889Sericdefine(`LOCAL_CONFIG', `divert(6)') 6158070Sericdefine(`LOCAL_NET_CONFIG', `define(`_LOCAL_RULES_', 1)divert(1)') 6251260Sericdefine(`UUCPSMTP', `R DOL(*) < @ $1 .UUCP > DOL(*) DOL(1) < @ $2 > DOL(2)') 6351222Sericdefine(`CONCAT', `$1$2$3$4$5$6$7') 6451239Sericdefine(`DOL', ``$'$1') 6551260Sericdefine(`SITECONFIG', 6651280Seric`CONCAT(D, $3, $2) 6756768Sericdefine(`_CLASS_$3_', `')dnl 6851298Sericifelse($3, U, Cw$2, `dnl') 6951280Sericdefine(`SITE', `ifelse(CONCAT($'2`, $3), SU, 7051280Seric CONCAT(CY, $'1`), 7151280Seric CONCAT(C, $3, $'1`))') 7251260Sericsinclude(../siteconfig/$1.m4)') 7357245Sericdefine(`EXPOSED_USER', `PUSHDIVERT(5)CE$1 7451278SericPOPDIVERT`'dnl') 7557245Sericdefine(`LOCAL_USER', `PUSHDIVERT(5)CL$1 7657245SericPOPDIVERT`'dnl') 7757245Sericdefine(`MASQUERADE_AS', `define(`MASQUERADE_NAME', $1)') 7851222Seric 7956775Sericm4wrap(`include(`../m4/proto.m4')') 8051242Seric 8158177Seric# set up default values for options 8257944Sericdefine(`confMAILER_NAME', ``MAILER-DAEMON'') 8358679Sericdefine(`confFROM_LINE', `From $g $d') 8457944Sericdefine(`confOPERATORS', `.:%@!^/[]') 8557944Sericdefine(`confSMTP_LOGIN_MSG', `$j Sendmail $v/$Z ready at $b') 86*58807Sericdefine(`confEIGHT_BIT_INPUT', `True') 8757944Sericdefine(`confALIAS_WAIT', `10') 8858083Sericdefine(`confMIN_FREE_BLOCKS', `4') 8957944Sericdefine(`confBLANK_SUB', `.') 9057944Sericdefine(`confCON_EXPENSIVE', `False') 9157944Sericdefine(`confCHECKPOINT_INTERVAL', `10') 9257944Sericdefine(`confDELIVERY_MODE', `background') 9357944Sericdefine(`confAUTO_REBUILD', `False') 9457944Sericdefine(`confSAVE_FROM_LINES', `False') 9557944Sericdefine(`confTEMP_FILE_MODE', `0600') 9658009Sericdefine(`confMATCH_GECOS', `False') 9757944Sericdefine(`confDEF_GROUP_ID', `1') 9857944Sericdefine(`confMAX_HOP', `17') 9957944Sericdefine(`confIGNORE_DOTS', `False') 10057944Sericdefine(`confBIND_OPTS', `') 10157944Sericdefine(`confMCI_CACHE_SIZE', `2') 10257944Sericdefine(`confMCI_CACHE_TIMEOUT', `5m') 10357944Sericdefine(`confLOG_LEVEL', `9') 10457944Sericdefine(`confME_TOO', `False') 10557944Sericdefine(`confCHECK_ALIASES', `True') 10657944Sericdefine(`confOLD_STYLE_HEADERS', `True') 107*58807Sericdefine(`confPRIVACY_FLAGS', `authwarnings') 10857944Sericdefine(`confSAFE_QUEUE', `True') 109*58807Sericdefine(`confMESSAGE_TIMEOUT', `5d/4h') 11057944Sericdefine(`confTIME_ZONE', `USE_SYSTEM') 11157944Sericdefine(`confDEF_USER_ID', `1') 11257944Sericdefine(`confQUEUE_LA', `8') 11357944Sericdefine(`confREFUSE_LA', `12') 11457944Sericdefine(`confSEPARATE_PROC', `False') 11558406Sericdefine(`confCW_FILE', `/etc/sendmail.cw') 11657944Seric 11751222Sericdivert(0)dnl 118*58807SericVERSIONID(`@(#)cf.m4 6.12 (Berkeley) 03/25/93') 119