?? sendmail.cf
字號:
# numeric internet spec (broken 'cause of name server at the moment)R$*<@[$+]>$* $#nonlclsmtp$@[$2]$:$1@[$2]$3### first try local smtp-able neighbor, then try uucp neighborR$+<@$=C> $#lclsmtp$@$2$:$1<@$2>R$+<@$=C.$D> $#lclsmtp$@$2$:$1<@$2>R$+<@$=C.UUCP> $#lclsmtp$@$2$:$1<@$2>R$+<@$=C.$D.UUCP> $#lclsmtp$@$2$:$1<@$2>R<@$=C>:$+ $#lclsmtp$@$1$:<@$1>:$2R<@$=C.$D>:$+ $#lclsmtp$@$1$:<@$1>:$2R<@$=C.$D.UUCP>:$+ $#lclsmtp$@$1$:<@$1>:$2### special class of uucp neighbors (in Colorado.EDU domain) that like Internet addresses R$+<@$=Y> $#uusndmail$@$2$:$1<@$2>R$+<@$=Y.$D> $#uusndmail$@$2$:$1<@$2>R$+<@$=Y.UUCP> $#uusndmail$@$2$:$1<@$2>R<@$=Y>:$+ $#uusndmail$@$1$:<@$1>:$2R<@$=Y.$D>:$+ $#uusndmail$@$1$:<@$1>:$2### next see if it is a local decmailable neighborR$+<@$=V.UUCP> $#lclsmtp$@$V$:$1<@$2> user@dnethost.UUCPR$+<@$=V> $#lclsmtp$@$V$:$1<@$2> user@dnethostR$+<@$=V.$D> $#lclsmtp$@$V$:$1<@$2> user@dnethost.domainR$+<@$-.DECNET> $#lclsmtp$@$V$:$1<@$2.DECNET> user@dnethost.DECNETR$+<@$-.DNET> $#lclsmtp$@$V$:$1<@$2.DECNET> user@dnethost.DNETR$+<@$-.DNET.$D> $#lclsmtp$@$V$:$1<@$2.DECNET> user@dnethost.DNET.domainR$+<@$-.DECNET.$D> $#lclsmtp$@$V$:$1<@$2.DECNET> user@dnethost.decnet.domainR<@$=V>:$+ $#lclsmtp$@$V$:<@$1:$2> @dnethost:whateverR<@$-.DECNET>:$+ $#lclsmtp$@$V$:<@$1.DECNET:$2> @dnethost.DECNET:whateverR<@$-.DECNET.$D>:$+ $#lclsmtp$@$V$:<@$1.DECNET:$3> @dnethost.decnet.domain:whtevr### next, see if it is a local UUCP neighborR$+<@$w.UUCP> $#local$:$1 thishost.UUCPR$+<@$w.$D.UUCP> $#local$:$1 thishost.UUCPR$+<@$=U.UUCP> $#uucp$@$2$:$1 uucpneighbor.UUCPR$+<@$=U> $#uucp$@$2$:$1 uucpneighborR$+<@$=U.$D> $#uucp$@$2$:$1 uucpneighbor.colorado.edu ### if it is in uucp format and still isn't resolved, foist it off on pathalias R$+<@$+.UUCP> $#palias$@$2$:$1 call uucp via mystical pathalias### by this time we have tried everything imaginable to resolve user@host.colorado.edu,# don't try higher authority, since they will just spit it back at us.R$+<@$-.$D> $#error$:Host: $2 Non-existent in the $D domainR<@$-.$D>:$+ $#error$:Host: $1 Non-existent in the $D domain## # resolve 'phony' domains...R$*<@$+.BITNET>$* $#nonlclsmtp$@$B$:$1@$2.BITNET$3R<@$+.BITNET>:$* $#nonlclsmtp$@$B$:@$1.BITNET:$2### anything in the T class is considered nameservable.. R$+<@$+.$=T> $#nonlclsmtp$@$2.$3$:$1<@$2.$3>R$+<@$+.$+.$=T> $#nonlclsmtp$@$2.$3.$4$:$1<@$2.$3.$4>R$+<@$+.$+.$+.$=T> $#nonlclsmtp$@$2.$3.$4.$5$:$1<@$2.$3.$4.$5>R<@$+.$=T>:$+ $#nonlclsmtp$@$1.$2$:<@$1.$2>:$3R<@$+.$+.$=T>:$+ $#nonlclsmtp$@$1.$2.$3$:<@$1.$2.$3>:$4R<@$+.$+.$+.$=T>:$+ $#nonlclsmtp$@$1.$2.$3.$4$:<@$1.$2.$3.$4>:$5### Let CSNET deal w/anything else...R$+<@$+.CSNET> $#csnet$@relay.cs.net$:$1<@$2> user@anything.CSNETR$+<@$+> $#csnet$@$S$:$1<@$2>R<@$+>:$+ $#csnet$@$S$:<@$1>:$2 ### everything else must be a local nameR$- $#local$:$1 local names### let the ":include:" aliases hack get to local too.R:include:$+ $#local$::include:$1R/$+ $#local$:/$1### if it got to here, we are stumped.R$+ $#error$: $1: Unparseable address### end of the fabulous ruleset 0. Go read some other short fiction.################################################################################### Mailer lclsmtp: local smtp Internet mailer specification################################################################################Mlclsmtp, P=[IPC], F=msCDFMuX, S=20, R=21, E=\r\n, A=IPC $hS20################################################################################### Ruleset 20: sender rewriting for local smtp mailer################################################################################R$+<@$=Y> $@$1%$2<@$W> Unfortunate, but necessary# pass <route-addr>'s throughR<@$+>$* $@<@$1>$2 resolve <route-addr># handle other external casesR$+<@$-> $@$1<@$2> user@hostR$+<@[$+]> $@$1<@[$2]> [a.b.c.d]# convert remaining addresses to old format and externalize appropriatelyR$- $@$1@$?H$H$|$W$.# respect bhangistR$+<@$+.UUCP> $:$2!$1R$W!$W!$+ $@$W!$1S21################################################################################### Ruleset 21: recipient rewriting for local smtp mailer################################################################################# respect bhangistR$+<@$+.UUCP> $:$2!$1################################################################################### Mailer nonlclsmtp: non-local Internet mailer specification################################################################################Mnonlclsmtp, P=[IPC], F=msRDFPMueXL, S=14, R=15, A=IPC $h, E=\r\nS14################################################################################### Ruleset 14: sender rewriting for non-local smtp mailer################################################################################# pass <route-addr>'s throughR<@$+>$* $@<@$1>$2 resolve <route-addr># machines in $A are hidden R$+<@$=A> $@$1<@$W.$D> user@clubhost -> user@thishost.domainR$+<@$=A.$D> $@$1<@$W.$D> same thing w/domains# machines in $C but not $A get fully qualified and percentified..R$+<@$=C> $@$1%$2<@$W.$D>R$+<@$=C.$D> $@$1%$2<@$W.$D># machines in $V but not $A get fully qualified and percentified..R$+<@$=V> $@$1%$2<@$W.$D>R$+<@$=V.$D> $@$1%$2<@$W.$D># get rid of uucp-like things..R$+<@$+.UUCP> $@$2!$1<@$W.$D># machines not in either $C or $V (with one token) get percentified..R$-<@$+> $@$1%$2<@$W.$D># machines not in either $C or $V get source routed (ugly)R$+<@$+> $@@$W.$D:$1<@$2># internet numeric literalR$+<@[$+]> $@$1<@[$2]> [a.b.c.d]# convert remaining addresses to old format and externalize appropriatelyR$- $@$1<@$W.$D> tack on our hostname# respect bhangist, but reconcileR$+<@$+.UUCP> $:$2!$1<@$W.$D> R$W!$+<@$+> $@$1<@$2> remove duplicateS15################################################################################### Ruleset 15: recipient rewriting for non-local smtp mailer################################################################################# null ruleset################################################################################### Mailers local and prog: local and program mailer specifications################################################################################Mlocal, P=/bin/mail, F=rlsDFmn, S=10, R=11, A=mail -d $uMprog, P=/bin/sh, F=lsDFMe, S=10, R=11, A=sh -c $uS10################################################################################### Ruleset 10: sender rewriting for local and prog mailers################################################################################R@ sendmail@$W?g.$D errors to mailer-daemon# respect bhangistR$+<@$+.UUCP> $:$2!$1S11################################################################################### Ruleset 11: recipient rewriting for local and prog mailers################################################################################# respect bhangistR$+<@$+.UUCP> $:$2!$1################################################################################### Mailers uucp and palias: UUCP and path alias mailer specification################################################################################Muucp, P=/usr/bin/uux, F=sCDRMhumU, S=12, R=13, M=100000, A=uux - -gC -a$f $h!rmail ($u)Mpalias, P=/usr/local/etc/uumail, F=hsuCDFMSU, S=12, R=13, M=100000, A=uumail -f $g $h!$uS12################################################################################### Ruleset 12: sender rewriting for uucp, palias mailers################################################################################R$W!$1 $@$W!$1R$+%$=C<@$W> $@$W!$2!$1 R$+<@$W.UUCP> $@$W!$1R$+<@$W> $@$W!$1R$+<@$=A.UUCP> $@$W!$1 alias clubbers are invisibleR$+<@$=A> $@$W!$1 R$- $@$W!$1 R$+<@$-> $@$W!$2!$1R$+<@$-.$D> $@$W!$2!$1R$+<@$-.decnet> $@$W!$2!$1R$+<@$-.decnet.$D> $@$W!$2!$1R$+<@$+.UUCP> $@$W!$2!$1R$+<@$+> $@$W!$2!$1R$+ $@$W!$1S13################################################################################### Ruleset 13: recipient rewriting for uucp, palias mailers################################################################################R$+<@$-> $@$2!$1R$+<@$-.$D> $@$2!$1R$+<@$+.UUCP> $@$2!$1R$+<@$+> $@$2!$1#################################################################################### Mailer ns: Internet name server mailer specification################################################################################Mns, P=[IPC], F=msRDFPMueXL, S=22, R=23, A=IPC $h, E=\r\nS22################################################################################### Ruleset 22: sender rewriting for ns mailer################################################################################# pass <route-addr>'s throughR<@$+>$* $@<@$1>$2 resolve <route-addr>R$+<@$-> $@$1@$2.$D user@host->user@host.ourdomainR$- $@$1@$W.$D user->user@host.ourdomainR$+<@$+.UUCP> $:$2!$1@$W user@host.uucp->host!user@host.ourdomainS23################################################################################### Ruleset 23: recipient rewriting for ns mailer################################################################################# null ruleset################################################################################### Mailer csnet: CSNET mailer specification################################################################################Mcsnet, P=[IPC], F=msRDFPMueXL, S=18, R=19, A=IPC $h, E=\r\n## Notice that the PMDF mailer DOES NOT USE the host field. We set this# field to "CSNET-RELAY" in all instances where we call the PMDF mailer# so as to be able to send one copy of a letter with many recipients.S18################################################################################### Ruleset 18: sender rewriting for csnet mailer################################################################################R$-<@$=A> $@$1<@$W.$D>R$-<@$=A.$D> $@$1<@$W.$D>R$-<@$=C> $@$1<@$2.$D>R$-<@$-.decnet> $@$1<@$2.$D>R$- $@$1<@$W.$D># respect bhangist, but reconcile slightlyR$+<@$+.UUCP> $:$1<@$W.$D>R$W!$+<@$+> $@$1<@$2>S19################################################################################### Ruleset 19: recipient rewriting for csnet mailer################################################################################# null ruleset################################################################################### Mailer uusndmail: non-local smtp via uucp################################################################################Muusndmail, P=/usr/bin/uux, F=sCDRMFhum, S=24, R=25, M=100000, A=uux - -gC -z -a$f $h!sendmail \(-f $g $u \)# basic philosophy is that a fictitious address "$Q.Colorado.EDU"# will be supported until it can be legitimately converted to uswest.comS24################################################################################### Ruleset 24: sender rewriting for uusndmail mailer################################################################################R<@$+>$* $@<@$1>$2 resolve <route-addr># machines in $C are hidden R$+<@$=C> $@$1<@$Q.Colorado.EDU>R$+<@$=C.UUCP> $@$1<@$Q.Colorado.EDU>R$+<@$=C.COM> $@$1<@$Q.Colorado.EDU>R$+<@$=C.$D> $@$1<@$Q.Colorado.EDU># all others in user@host format get percentifiedR$+<@$-> $@$1%$2<@$Q.Colorado.EDU># preserve alien bang-like junkR$+<@$+.UUCP> $@$2!$1<@$Q.Colorado.EDU># internet numeric literalR$+<@[$+]> $@$1<@[$2]> [a.b.c.d]# convert remaining addresses to old format and externalize appropriatelyR$- $@$1<@$Q.Colorado.EDU> tack on our hostnameR$w!$+<@$+> $@$1<@$2> remove duplicateS25################################################################################### Ruleset 25: recipient rewriting for uusndmail mailer################################################################################R$-<@$=C> $@$1<@$Q.Colorado.EDU> tack on our hostname
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -