?? base.m4
字號:
############################################################## @(#)base.m4 4.1 (ULTRIX) 7/2/90## General configuration information## This information is basically just "boiler-plate"; it must be# there, but is essentially constant.## Information in this file should be independent of location --# i.e., although there are some policy decisions made, they are# not specific to any specific site.##############################################################include(version.m4)## @(#)base.m4 4.1 (ULTRIX) 7/2/90############################## Special macros ############################## my nameDnMAILER-DAEMON# UNIX header formatDlFrom $g $d# delimiter (operator) charactersDo.:%@!^=/[]# format of a total nameDq$g$?x ($x)$.# SMTP login messageDe$j Sendmail $v/$V ready at $b## forwarding host -- redefine this if you can't talk to the relay directlyDF$R####################### Options ####################### location of alias fileOA/usr/lib/aliases# default delivery mode (deliver in background)Odbackground# (don't) connect to "expensive" mailers#Oc# temporary file modeOF0600# default GIDOg1# location of help fileOH/usr/lib/sendmail.hf# log levelOL9# send to me to in alias expansionOm# 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 intervalOT3d# time zone names (V6 only)OtEST,EDT# default UIDOu1# Configuration options to adjust for system load conditions.## Option "x" specifies the load average at which point sendmail# just queues messages for later delivery. The internal default is# a load average of 8 and need not be explicitly stated in the# configuration file.## Large systems (8800 class) can set this value to about 20 to 25# while small systems (uvax) should run at about 4.## The exact setting depends on processor speed, swap space, memory# size, and normal load average. The load average of your system# should be checked during a normal work period and the "x" option# set to a few degrees higher. Too low a value will cause mail to# be unneccessarily delayed, while too high a value may tend to# increase the load on the machine during transient peaks.#Ox8## Option "X" (upper case) specifies the load average at which point# sendmail will refuse further connections.# The internal default is 12. ## Large systems (8800 class) can set this at approximately 25 to 30. The# same comments apply here as for option "x" (lower case). Small systems# (uvax, small memory, limited swap space) should run at about 5 or 6.#OX12################################## Message precedences ##################################Pfirst-class=0Pspecial-delivery=100Pjunk=-100############################ Trusted users ############################TrootTdaemonTuucpTnetwork################################ Format of headers ################################H?P?Return-Path: <$g>H?R?Received: $?sfrom $s $.by $j ($v/$V) id $i; $bH?D?Resent-Date: $aH?D?Date: $aH?F?Resent-From: $qH?F?From: $qH?x?Full-Name: $xHSubject:# HPosted-Date: $a# H?l?Received-Date: $bH?M?Resent-Message-Id: <$t.$i@$j>H?M?Message-Id: <$t.$i@$j>############################## Rewriting rules ############################################################### Sender Field Pre-rewriting #################################S1#R$*<$*>$* $1$2$3 defocus#################################### Recipient Field Pre-rewriting ####################################S2#R$*<$*>$* $1$2$3 defocus################################## Final Output Post-rewriting ##################################S4R@ $@ handle <> error addr# resolve numeric addresses to name if possibleR$*<@[$+]>$* $:$1<@$[[$2]$]>$3 lookup numeric addr# externalize local domain infoR$*<@LOCAL>$* $:$1<@$A>$2 change local infoR$*<$*.LOCAL>$* $:$1<$2.$D>$3 change local infoR$*<$+>$* $1$2$3 defocusR@$+:$+:$+ @$1,$2:$3 <route-addr> canonicalR@$+:$+ $@<@$1:$2> route-addr needs <># UUCP must always be presented in old formR$+@$-.UUCP $2!$1 u@h.UUCP => h!u# Put MAIL-11 back in :: formR$+@$-.DNET $2::$1 u@h.dnet => h::uR$+@$-.$-.DNET $2.$3::$1 numeric form# delete duplicate local names -- mostly for arpaproto.mcR$+%$=w@$=w $1@$3 u%UCB@UCB => u@UCBR$+%$=w@$=w.$D $1@$3.$D u%UCB@UCB => u@UCB############################ Name Canonicalization ############################S3# handle "from:<>" special caseR<> $@@ 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 ":"# localize and dispose of domain-based addressesR@$+:$+ $@$>6<@$1>:$2 handle <route-addr># more miscellaneous cleanupR$=w::$-$+ $2$3 clean off my nameR$+ $:$>8$1 host dependent cleanupR$+:$*;@$+ $@$1:$2;@$3 list syntaxR$+@$+ $:$1<@$2> focus on domainR$+<$+@$+> $1$2<@$3> move gaze rightR$+<@$+%$+> $1%$2<@$3> move gaze rightR$-!$+<@$~S> $1!$2@$3 defocus - not local hostR$-::$+<@$~S> $1::$2@$3 defocus - not local hostR$+<@$+> $@$>6$1<@$2> already canonical# localize mail-11 syntaxR$-::$+ $@$>6$2<@$1.dnet> host::userR$-.$-::$+ $@$>6$3<@$1.$2.dnet> numeric decnet addr# convert old-style addresses to a domain-based addressR$+%$+ $:$1<@$2> user%hostR$+<@$+%$+> $1%$2<@$3> move "@" rightR$+<@$+> $@$>6$1<@$2> now canonicalR$-:$+ $@$>6$2<@$1> host:userR$-.$+!$+ $@$>6$3<@$1.$2> host.domain!userR$-!$+ $@$>6$2<@$1.UUCP> resolve uucp names
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -