⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sendmail.cf

📁 A* sudo sudo/* B* adduser script adduser C* rmuser script rmuser E* tout tout/*
💻 CF
📖 第 1 页 / 共 2 页
字号:
###################################################################################### Sendmail configuration file for the University of Colorado, Boulder###    Flavor: GrandPoohbah for use on boulder.Colorado.EDU###    Last update: Sun Aug 28 17:32:48 MDT 1988####################################################################################    necessary evil. would rather initialize on cmd line w/ -oMw`hostname` or something.DWboulder###    Q need only be be defined if you are using the uusndmail mailerDQboulder###    my name. comes out on error messagesDnpostmaster@$w###    revision date mmddyyDZ082888###    flavor/revision date. appears on 'Received' header and smtp sign-on DXcu.grandpoobah.$Z###    uucp hosts this machine talks to directly FU/usr/lib/uucp/L.sys %[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_-]###    local DECNET gatewayDVcolo.colorado.edu###    BITNET gatewayDBvaxf.colorado.edu###    CSNET gateway hostDPrelay.cs.net##    ultimate authority host (if they can't get rid of it, no one can)DSrelay.cs.net###    top-level domains that csnet likes to deal with... note that these are ones that#    get sent directly.  ones not falling in this category (and no other special ones like#    BITNET or uucp) will get sent to $S for resolutionCTARPA EDU GOV MIL COM ORG NET ###    this host's official domainDDColorado.EDU###    define official host name (taken from $w which is from /bin/hostname)#	$w must include the domain if running the name server.Dj$w###    sometimes they forget .edu so we have to answer to this too.DMcolorado###    Class of machines in $D domain that are connected via uucp links, but do not#        want addresses in !bhangist formatCYuswat uswest mcbryan ###    Hosts in Colorado.EDU  (deliver direct smtp) -- should be from file#        Last update: Wed Jan  6 09:29:19 MST 1988CCagua         ajsh         aleft        alta         clipr	bakmesCCanchor       anchor       annex-isn    annex03      annex04       ...CCyaba         yquem        zippy        quill	      gw-optics    zeppo###    Hosts hidden behind boulder, From line reads boulder.Colorado.EDU#        Last update: Thu Dec  3 12:10:35 MST 1987CAanchor       ausone       barney       bass         beagle       becks        CAbones        boulder      brion        chekov       columbine    dennis        ...CAnewton       gauss        picard       laguerre     raphson	   mcbryan###    DECNET nodes#        Last update: Wed Jan  6 09:27:33 MST 1988CVacspc1  acstst  albedo  algol   altair  amino1  amino2  aquila  arctic  CVaries   athena  auk     bali    booby   boris   canary  ccncsm  ccndu    ...CVvesta   virgo   vlsimv  wizard  wren    zeppo   zeus    zodiac  rover##########################################   Boilerplate: special macros   ###########################################    UNIX header formatDlFrom $g  $d#    delimiter (operator) charactersDo.!:@^%/[]#    format of a total nameDq$?x$x <$g>$|$g$.#    SMTP login messageDe$j Sendmail $v/$X ready at $b###################################   Boilerplate: options   ####################################    location of alias fileOA/usr/lib/aliases#    default delivery mode (deliver in background)Odbackground#    temporary file modeOF0600#    default GIDOg1#    location of help fileOH/usr/lib/sendmail.hf#    log levelOL0#    default messages to old styleOo#    queue directoryOQ/usr/spool/mqueue#    read timeout -- violates protocolsOr2h#    status fileOS/usr/lib/sendmail.st#    queue up everything before starting transmissionOs#    default timeout intervalOT2d#    time zone names (V6 only)OtMST,MDT#    default UIDOu1#    wizard's passwordOw************#    maximum load average before queueing mailOx25#    maximum load average before rejecting connectionsOX30###############################################   Boilerplate: message precedences   ###############################################Pfirst-class=0Pspecial-delivery=100Pbulk=-60Pjunk=-100#########################################   Boilerplate: trusted users   #########################################TrootTdaemonTuucp#Teric		eric is Lee's 10 year old kid on our systemTcoggs#############################################   Boilerplate: format of headers   #############################################H?P?Return-Path: <$g>HReceived: by $W.$D ($X); $b; id $i; from $sH?D?Resent-Date: $aH?D?Date: $aH?F?Resent-From: $qH?F?From: $qH?x?Full-Name: $xHSubject:H?M?Message-Id: <$t.$i@$W.$D>H?M?Resent-Message-Id: <$t.$i@$j>S1#################################################################################  Ruleset 1: Sender field pre-rewriting  ################################################################################# DECNET syntax#R$-::$-	$2@$1.decnetR$-::$-		$2@$1R$-::$+		$2S2#################################################################################  Ruleset 2: Recipient field pre-rewriting  ################################################################################# DECNET syntax#R$-::$-	$2@$1.decnetR$-::$-		$2@$1R$-::$+		$2S3 ###################################################################################  Ruleset 3: Name canonicalization  ################################################################################# handle "from:<>" special case R<>			$@@				turn into magic token # basic textual canonicalizationR$*<$*<$*<$+>$*>$*>$*	$4				3-level <> nestingR$*<$*<$+>$*>$*		$3				2-level <> nestingR$*<$+>$*		$2				basic RFC821/822 parsingR$+ at $+		$1@$2				"at" -> "@" for RFC 822R$*<$*>$*		$1$2$3				in case recursive# make sure <@a,@b,@c:user@d> syntax is easy to parse -- undone laterR@$+,$+			@$1:$2				change all "," to ":"# handle source route addressR@$+:$+			$@<@$1>:$2			handle <route-addr># more miscellaneous cleanupR$+:$*;@$+		$@$1:$2;@$3			list syntaxR$+@$+			$:$1<@$2>			focus on domainR$+<$+@$+>		$1$2<@$3>			move gaze rightR$+%$+			$:$>8$1%$2			user%host%hostR$+<@$+>		$@$1<@$2>			since already canonical, exit# bhangist to domainistR$+@$+.UUCP		$@$1<@$2.UUCP>			already doneR$+^$+			$1!$2				convert ^ to !R$-!$+			$@$2<@$1.UUCP>			resolve uucp namesR$-.$-.$-!$+		$@$4<@$1.$2.$3.UUCP>		S4#################################################################################  Ruleset 4: Final output post-rewriting ################################################################################R@			$@				handle <> error addr# externalize local domain infoR$*<$+>$*		$1$2$3				defocusR@$+:$+:$+		@$1,$2:$3			<route-addr> canonicalS6#################################################################################  Ruleset 6: Localhost deletion################################################################################R$*<$*@$=w>$*		$1<$2@>$4	this hostR$*<$*@$=W>$*		$1<$2@>$4	this hostR$*<$*@$W>$*		$1<$2@>$3	this hostR$*<$*@$=w.$D>$*	$1<$2@>$4	this hostR$*<$*@$W.$D>$*		$1<$2@>$3	this hostR$*<$*@$W.$M>$*		$1<$2@>$3R$*<$*@$D>$*		$1<$2@>$3	S7#################################################################################  Ruleset 7: Explicit names of us as source route addresses################################################################################R<@$=w>:$*		<@>:$1		this hostR<@$=W>:$*		<@>:$1		this hostR<@$=W.$D>:$*		<@>:$1		this hostR<@$=W.$M>:$*		<@>:$1		this hostR<@$=D>:$*		<@>:$1		this hostS8#################################################################################  Ruleset 8: THE percent hack; Given multiple %'s change rightmost % to @.################################################################################R$*<$*>$*		$1$2$3		defocusR$*%$*			$1@$2		First make them all @'s.R$*@$*@$*		$1%$2@$3	Undo all but the last.R$*@$*			$@$1<@$2>	Put back the brackets.S0##########################################################################################		RULESET ZERO PREAMBLE##########	The beginning of ruleset zero is constant through all configurations.###################################################################################### perhaps an aesthetic crime to put it here, but have to catch DECNET early...R$w::$-			<@>:$1R$-::$-			$2<@$1.decnet># first make canonicalR$*<$*>$*		$1$2$3			defocusR$+			$:$>3$1			make canonical# handle special cases.....R@			$#local$:$n		handle <> form# handle [a.b.c.d] host addressesR$*<@[$+]>$*		$#nonlclsmtp$@[$2]$:$1@[$2]$3	numeric internet spec# now delete the local infoR$+<@$W.UUCP>		$1<@>			us as uucp addressR$*<$*$W.UUCP>$*	$1<$2>$3		thishostR<@$w:>$*		<@>:$1			we were head of the routeR<@$W:>$*		<@>:$1			we were head of the routeR$+			$:$>7$1			more of us at head of routeR$+			$:$>6$1			other names for this hostR$*<$*.>$*		$1<$2>$3		drop trailing dot# and retryR<@>:$*			$@$>0$1			retry after route stripR$*<@>			$@$>0$1			strip null trash & retry###################################################################################  Machine-dependent part of ruleset zero  ###  Distinctive characteristics: serves as uucp hub, utilizes the name server################################################################################R<@$+>$*:$+:$+		<@$1>$2,$3:$4		<route-addr> canonical### (doesn't work either)R$+<@[128.138.240.1]>$*	$#local$:$1			

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -