home *** CD-ROM | disk | FTP | other *** search
Text File | 1987-08-06 | 27.1 KB | 1,313 lines |
- head 1.14;
- access ;
- symbols ;
- locks ; strict;
- comment @@;
-
-
- 1.14
- date 87.08.06.12.41.05; author dudek; state Exp;
- branches ;
- next 1.13;
-
- 1.13
- date 87.05.26.09.34.47; author dudek; state Exp;
- branches ;
- next 1.12;
-
- 1.12
- date 87.04.15.21.39.28; author dudek; state Exp;
- branches ;
- next 1.11;
-
- 1.11
- date 87.04.15.21.22.00; author dudek; state Exp;
- branches ;
- next 1.10;
-
- 1.10
- date 87.04.14.15.21.21; author dudek; state Exp;
- branches ;
- next 1.9;
-
- 1.9
- date 87.04.06.15.17.26; author dudek; state Exp;
- branches ;
- next 1.8;
-
- 1.8
- date 87.02.24.09.35.46; author dudek; state Exp;
- branches ;
- next 1.7;
-
- 1.7
- date 87.02.23.21.42.12; author dudek; state Exp;
- branches ;
- next 1.6;
-
- 1.6
- date 87.02.05.09.52.59; author dudek; state Exp;
- branches ;
- next 1.5;
-
- 1.5
- date 86.10.29.08.17.25; author dudek; state Exp;
- branches ;
- next 1.4;
-
- 1.4
- date 86.06.03.23.05.28; author dudek; state Exp;
- branches ;
- next 1.3;
-
- 1.3
- date 86.03.20.18.16.34; author dudek; state Exp;
- branches ;
- next 1.2;
-
- 1.2
- date 86.03.05.13.37.44; author dudek; state Exp;
- branches ;
- next 1.1;
-
- 1.1
- date 86.01.13.12.59.35; author dudek; state Exp;
- branches ;
- next ;
-
-
- desc
- @@
-
-
- 1.14
- log
- @fixed uucp on top of route-addr silliness -gd 8/6/87
- @
- text
- @############################################################
- ############################################################
- #####
- ##### SENDMAIL CONFIGURATION FILE
- #####
- ############################################################
- ############################################################
-
- ######################
- # General Macros #
- ######################
-
- include(defines)
-
- include(localdomain)
-
- include(hostnames)
-
- # my official (Domain) hostname
- ifdef(`DOMAININNAME',
- `Dj$w'
- ,
- `Dj$w.$D')
-
- # my offical (Domain) return address
- ifdef(`DOMAININNAME',
- `DA$J'
- ,
- `DA$J.$D')
-
- # known top-level domains (other than ARPA domains)
- CDLOCAL UUCP BITNET DEC UTEXAS CSNET MAILNET CCNET
- # known ARPA domains
- FA/usr/local/lib/mail/mailhosts.arpadomains
- # domains with ARPA gateways
- CCDEC UTEXAS CSNET MAILNET
- # known BITNET domains, or domains with BITNET gateways
- CZBITNET CCNET
-
- include(relays)
-
-
- #########################
- ### Trusted users ###
- #########################
-
- include(trusted)
-
-
- ############################################################
- #
- # 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 Berkeley per se.
- #
- #
- ############################################################
-
- DVa0.25
-
- ##########################
- ### Special macros ###
- ##########################
-
- # my name
- DnMAILER-DAEMON
- # UNIX header format
- DlFrom $g $d
- # delimiter (operator) characters
- Do.:%@@!^=/[],;
- # format of a total name
- Dq$g$?x ($x)$.
- # SMTP login message
- De$j Sendmail $v/$V ready at $b
-
- ###################
- ### Options ###
- ###################
-
- include(options)
-
- ###############################
- ### Message precedences ###
- ###############################
-
- Pfirst-class=0
- Pspecial-delivery=100
- Pjunk=-100
-
- #############################
- ### Format of headers ###
- #############################
-
- H?P?Return-Path: <$g>
- H?R?Received: $?sfrom $s $.by $j$?r with $r$.; $b
- H?D?Date: $a
- H?F?Resent-From: $q
- H?F?From: $q
- HSubject:
-
-
- ###########################
- ### Rewriting rules ###
- ###########################
-
-
- ################################
- # Sender Field Pre-rewriting #
- ################################
- S1
-
- ###################################
- # Recipient Field Pre-rewriting #
- ###################################
- S2
-
- #################################
- # Final Output Post-rewriting #
- #################################
- S4
-
- R@@ $@@ handle <> error addr
-
- # call local externalizing ruleset
- R$+ $:$>8$1
-
- # kludge for internet spec
- R$+<@@> $:$1
-
- # remove focus
- R$*<$+>$* $1$2$3 defocus
-
- # change mixed-mode '@@' and '!' into route-addr if appropriate
- R$+!$+@@$+ $:$>9$1!$2@@$3
-
- # turn multiple-'@@' to route-addr
- R$+@@$+@@$+ $:<:$1@@$2>@@$3
- R<:$*>@@$+@@$+ <@@$2:$1>@@$3
- R<:$*>@@$+ $@@@@$2:$1
- R<@@$*>@@$+@@$+ <@@$2,@@$1>@@$3
- R<$*>@@$+ $@@@@$2,$1
-
- #################################
- # Local externalization #
- #################################
- S8
-
- # make sure UUCP is in old form
- R$+<@@$*.UUCP> $@@$2!$1 u@@host.UUCP => host!u
-
- # externalize local domain info
- R$*<@@$*.LOCAL> $@@$1<@@$2> change local info
-
- # handle other external cases
- R$+<@@$+> $@@$1<@@$2>
-
- #################################
- # UUCP -> ARPA route-addr #
- #################################
- S9
- # focus on first uucp address
- R$+!$+@@$+ $:<!$1>$2@@$3
- # if the first bang-host is arpa-style, turn it into an '@@'
- R<!$+.$=A>$+@@$+ $@@$>9$3@@$1.$2@@$4
- # else simply return as mixed-mode
- R<!$+>$+@@$+ $@@$1!$2@@$3
-
- ###########################
- # Name Canonicalization #
- ###########################
- S3
-
- # handle "from:<>" special case
- R<> $@@@@ turn into magic token
-
- # basic textual canonicalization
- R$*<$+>$* $2 basic RFC821/822 parsing
- R$+ at $+ $1@@$2 "at" -> "@@" for RFC 822
-
- # handle route-addr (ARPA routing syntax)
- # in general, change @@a,@@b:user@@c <=> user@@c@@b@@a
- # prepare to focus
- #
- # KLUDGE - strip stupid uucp path from front of route-addrs - gd 8/6/87
- # foo!@@bar:user@@gag <=> @@bar:user@@gag
- R$+!@@$+:$+@@$+ $:@@$2:$3@@$4
- # recognize route-addr
- R@@$+ $:@@$1<>
- # change @@b,@@c:user@@d<@@a> <=> @@c:user@@d<@@b@@a>
- R@@$+,@@$+:$+<$*> @@$2:$3<@@$1$4>
- # change @@a:user@@b <=> user@@b<@@a>
- R@@$+:$+<$*> $2<@@$1$3>
- # defocus, and treat as simple 'user@@site' below
- R$+<$*> $1$2
-
- # focus on destination host.domain
- R$+@@$+ $:$1<@@$2> focus on domain
- # This is repeated until focused on the rightmost '@@'
- R$+<$+@@$+> $1$2<@@$3> move gaze right
- # canonical - do local rewriting
- R$+<@@$+> $@@$>6$1<@@$2>
-
- # convert old-style addresses to a domain-based address
- # (has to come after recognition of user@@site, else bad recursion)
- #
- # user%host
- R$+%$+ $:$1<@@$2> user%host
- R$+<@@$+%$+> $1%$2<@@$3> move right
- R$+<@@$*> $@@$>6$1<@@$2> already canonical
- #
- # host^user or host!user
- # host!user is the same as 'user@@host' for known local hosts, or
- # 'user@@host.UUCP' for other hosts.
- R$+^$+ $1!$2 convert ^ to !
- R$-!$+ $:$2<@@$1> resolve uucp names
- R$+<@@$=L> $@@$>6$1<@@$2> canonicalize local host
- R$+<@@$-> $@@$>6$1<@@$2.UUCP> add UUCP domain
- # harvard.ARPA!root <=> root<@@harvard.ARPA>
- # NOTE: this relies on matching the FIRST "!" in the address
- R$-.$+!$+ $@@$>6$3<@@$1.$2> keep domain info
-
- #
- # host::user
- # host::user is the same as 'user@@host' for known local hosts, or
- # 'user@@host.DECNET' for other hosts.
- R$-::$+ $:$2<@@$1> resolve decnet names
- R$+<@@$=L> $@@$>6$1<@@$2> canonicalize local host
- R$+<@@$-> $@@$>6$1<@@$2.DECNET> add DECNET domain
- # harvard.ARPA::root <=> root<@@harvard.ARPA>
- # NOTE: this relies on matching the FIRST "::" in the address
- R$-.$+::$+ $@@$>6$3<@@$1.$2> harvard.ARPA::root
-
- #
- # host:user
- # ':' represents BITNET just like '!' represents UUCP - kludge for sob
- # host:user is the same as 'user@@host' for known local hosts, or
- # 'user@@host.BITNET' for other hosts.
- # NOTE: ":" parsed after "!" so that site1!site2:user parsed as
- # site2:user<@@site1.UUCP>
- R$-:$+ $:$2<@@$1> resolve BITNET names
- R$+<@@$=L> $@@$>6$1<@@$2> canonicalize local host
- R$+<@@$-> $@@$>6$1<@@$2.BITNET> add BITNET domain
- # harvard.ARPA:root <=> root<@@harvard.ARPA>
- # NOTE: this relies on matching the FIRST ":" in the address
- R$-.$+:$+ $@@$>6$3<@@$1.$2> harvard.ARPA:root
-
- #################################
- # Local Name Canonicalization #
- #################################
- S6
-
- # Make canonical (using /etc/hosts)
- # Note that the domain may not be returned from /etc/hosts, but that's ok
- ifdef(`NODOMAINS',
- `R$*<@@$-.$D> $:$1<@@$[$2$]>
- R$*<@@$-> $:$1<@@$[$2$]>'
- ,
- `# Use our domain in lookup to avoid ambiguities (like seismo.harvard.edu)
- R$*<@@$-> $:$1<@@$2.$D>
- R$*<@@$-.$D> $:$1<@@$[$2.$D$]>')
-
- # Kludge around BITNET mail bug - strip BITNET if destination host
- # really in DOMAIN syntax
- R$*<@@$*$=A.BITNET> $:$1<@@$2$3>
-
- # Convert LOCAL to our local domain
- R$*<@@$-.LOCAL> $1<@@$2.$D>
- # Local hosts are recognized later by the fact that there is NO domain
- # in the focus. Strip our domain here.
- R$*<@@$-.$D> $1<@@$2>
-
- # Pass thru mail specifier
- # foo!bar;nopath<@@seismo> <=> foo!bar<@@seismo;nopath>
- R$*;$-<@@$*> $1<@@$3;$2>
-
-
- ############################################################
- ############################################################
- #####
- ##### RULESET ZERO
- #####
- ############################################################
- ############################################################
-
- S0
-
- # handle special cases.....
- R@@ $#local$:MAILER-DAEMON handle <> form
-
- # handle numeric internet spec
- # do not pass host address to mailer rulesets, cause host won't recognize its
- # own address. Need the '@@' so we don't tack local hostname on the end.
- R$*<@@[$+]> $#arpa-mailer$@@[$2]$:$1<@@> numeric internet spec
-
- ##################################
- # End of ruleset zero preamble #
- ##################################
-
- #
- # find our host
- # user@@ourhost <=> user
- R$+<@@$=J> $@@$>7$1 user@@harvard
- # Check for UUCP
- R$+<@@$=U.UUCP> $@@$>7$1 user@@harvard.UUCP
- # Check for BITNET
- R$+<@@$=B.BITNET> $@@$>7$1 user@@harvard.BITNET
-
- ifdef(`ANYDOMAIN',
- `# These are sorta dangerous, if our canonical name is not unique
- # user@@ourhost.ARPA <=> user
- R$+<@@$=J.ARPA> $@@$>7$1 user@@harvard.ARPA (sigh)
- # user@@ourhost.FOONET <=> user
- R$+<@@$=J.$=D> $@@$>7$1 user@@harvard.BITNET',`')
-
- # find our domain, and do something appropriate (send to machine harvard)
- R$+<@@$D> $@@$>7$1@@harvard user@@HARVARD.EDU
-
- #
- # watch for UUCP to us
- # harvard!user<@@site.UUCP> <=> user
- R$=U!$+<@@$+.UUCP> $@@$>7$2 harvard!user@@site.UUCP
- # watch for uucp-type forwarding to ARPA
- # harvard!user<@@site.NOTUUCP> <=> user<@@site.NOTUUCP>
- R$=U!$+<@@$+> $2<@@$3> harvard!USER@@SITE.ARPA
- # Other forwarding to ARPA - try not to be too amibitious here, use only
- # the canonical hostname
- # harvard:user<@@site.ANYTHING> <=> user<@@site.ANYTHING>
- R$=J:$+<@@$+> $2<@@$3> harvard:USER@@SITE.ARPA
-
- #
- # mailer specified addresses
- #
- # These are here for emergencies and mail testing
- #
- ifdef(`BITNETRELAY',
- `# force to BITNET relay
- R$*<@@$*;bitnet> $@@$>7$1@@$2;bitnet@@$F
- R$*<@@$*;ccnet> $@@$>7$1@@$2;ccnet@@$F'
- ,
- `# force to BITNET
- R$*<@@$-$*;bitnet> $#bitnet-mailer$@@$2$:$1
- # problem here - does mailer need user@@site.CCNET for destination???
- R$*<@@$-$*;ccnet> $#ccnet-mailer$@@$2$:$1')
-
- ifdef(`ARPARELAY',
- `# force to ARPA relay
- R$*<@@$*;arpa> $@@$>7$1@@$2;arpa@@$C'
- ,
- `# force to ARPA
- R$*<@@$*;arpa> $#arpa-mailer$@@$2$:$1<@@$2>')
-
- # force to uucp
- R$*<@@$-$*;uucp> $#uucp-mailer$@@$2$:$1
-
- # force to pathalias
- R$*<@@$*;pathalias> $#path-mailer$@@pathalias:$2!$1
-
- ifdef(`ETHERRELAY',
- `# force to ether relay
- R$*<@@$*;ether> $@@$>7$1@@$2;ether@@$G'
- ,
- `# force to ether
- R$+@@$+<@@$*;ether> $#ether-mailer$@@$3$:$1@@$2
- R$*<@@$*;ether> $#ether-mailer$@@$2$:$1<@@$2>')
-
- # put relaying here, before trying to resolve addresses
- include(relayrules)
-
- #
- # non-local addresses
- #
-
- # resolve UUCP links
- ifdef(`PATHALIAS',
- `# watch for hosts listed in L.sys but should be pathaliased anyway
- R$*<@@$=Y.UUCP> $#path-mailer$@@pathalias$:$2!$1',`')
- # uucp direct to non-local host
- R$*<@@$=E.UUCP> $#uucp-mailer$@@$2$:$1 user@@host.UUCP
- ifdef(`PATHALIAS',
- `R$*<@@$=E.UUCP;nopath> $#uucp-mailer$@@$2$:$1',`')
-
- ifdef(`PATHALIAS',
- `# uucp (non-direct) to non-local host - try pathalias
- R$*<@@$*.UUCP> $#path-mailer$@@pathalias$:$2!$1
- # Already tried pathalias, so remove "nopath" specifier
- R$*<@@$*;nopath> $1<@@$2> already tried pathalias
- R$*;nopath $1 pathaliased to this host',`')
-
- ifdef(`UUCPRELAY',
- `# uucp (non-direct) to non-local host - send to UUCP relay host
- R$*<@@$*.UUCP> $@@$>7$1@@$2.UUCP@@$E user@@somewhere.UUCP'
- ,
- `# uucp to unknown host - try uucp anyway
- R$*<@@$*.UUCP> $#uucp-mailer$@@$2$:$1 user@@somewhere.UUCP')
-
- ifdef(`BITNETRELAY',
- `# BITNET to non-local host - send to local BITNET relay
- R$*<@@$*.$=Z> $@@$>7$1@@$2.$3@@$F user@@somewhere.BITNET'
- ,
- `# BITNET to non-local host direct
- R$*<@@$*.BITNET> $#bitnet-mailer$@@$2$:$1
- R$*<@@$*.CCNET> $#ccnet-mailer$@@$2$:$1@@$2.CCNET')
-
- ifdef(`DECNETRELAY',
- `# DECNET to non-local host - send to local DECNET relay
- R$*<@@$*.DECNET> $@@$>7$1@@$2.DECNET@@$H user@@somewhere.DECNET'
- ,
- `# DECNET to non-local host direct
- R$*<@@$*.DECNET> $#decnet-mailer$@@$2$:$1')
-
- ifdef(`ARPARELAY',
- `# ARPA to non-local host - send to local ARPA relay
- R$*<@@$*.$=A> $@@$>7$1@@$2.$3@@$C user@@somewhere.ARPA
- R$*<@@$*.$=C> $@@$>7$1@@$2.$3@@$C user@@somewhere.CSNET'
- ,
- `# ARPA to non-local host direct
- R$*<@@$-.$*$=A> $#arpa-mailer$@@$2.$3$4$:$1<@@$2.$3$4>
- R$*<@@$*.DEC> $#arpa-mailer$@@decwrl.dec.com$:$1<@@$2.DEC>
- R$*<@@$*.UTEXAS> $#arpa-mailer$@@sally.utexas.edu$:$1<@@$2.UTEXAS>
- R$*<@@$*.CSNET> $#arpa-mailer$@@relay.cs.net$:$1<@@$2.CSNET>
- R$*<@@$*.MAILNET> $#arpa-mailer$@@mit-multics.arpa$:$1<@@$2.MAILNET>')
-
- #
- # resolve local addresses
- #
-
- ifdef(`MAILSLAVES',
- `# mail to local users on our mail slaves can be delivered directly
- R$-<@@$=R> $1')
-
- ifdef(`BITNETRELAY',
- `# BITNET to local host - send to local BITNET relay
- R$*<@@$=F> $@@$>7$1@@$2.BITNET@@$F'
- ,
- `# BITNET to local host direct
- R$*<@@$=F> $#bitnet-mailer$@@$2$:$1')
-
- ifdef(`DECNETRELAY',
- `# decnet to local host - send to local DECNET relay
- R$*<@@$=H> $@@$>7$1@@$2.DECNET@@$H'
- ,
- `# decnet to local host direct
- R$*<@@$=H> $#decnet-mailer$@@$2$:$1')
-
- ifdef(`ETHERRELAY',
- `# ethernet to local host - send to local ETHER relay
- R$*<@@$=G> $@@$>7$1@@$2@@$G'
- ,
- `# ethernet to local host direct
- R$+@@$+<@@$=G> $#ether-mailer$@@$3$:$1@@$2
- R$*<@@$=G> $#ether-mailer$@@$2$:$1<@@$2>')
-
- # uucp to local host
- R$*<@@$=E> $#uucp-mailer$@@$2$:$1 person@@localuucphost
-
- ifdef(`LOCALRELAY',
- `# to other local hosts - send to local generic LOCAL relay
- R$*<@@$-> $@@$>7$1@@$2@@$L'
- ,
- `# unknown local host
- ifdef(`DEFAULTMAILER',
- `# try default mailer
- R$*<@@$-> $#$M$@@$2$:$1',
- `# the buck stops here - local host unknown
- R$*<@@$*> $#error$@@x$:$2: Unknown local host')')
-
- ifdef(`DEFAULTRELAY',
- `# Forward to a host which is smarter than us
- R$*<@@$*> $@@$>7$1@@$2@@$N user@@unknowndomain',
- `# unknown destination host/domain - bounce
- R$*<@@$*> $#error$@@x$:$2: Unknown host/domain')
-
- # remaining names must be local
- ifdef(`MAILRELAY',
- `# Relay all local mail
- R$+ $@@$>7$1@@$R everything else'
- ,
- `R$+ $#local$:$1 everything else')
-
-
- #####################################################
- # Code to retry through Rulesets 3 and 0 #
- #####################################################
- S7
-
- # Make canonical
- R$+ $:$>3$1
- # Retry
- R$+ $@@$>0$1
-
- @
-
-
- 1.13
- log
- @Changed BITNET mailer in mailers.m4, updated to a0.24 release -gd
- @
- text
- @d64 1
- a64 1
- DVa0.24
- d188 5
- d266 4
- @
-
-
- 1.12
- log
- @release a0.22 - kludged broken '%' routing to ARPA
- @
- text
- @d34 1
- a34 1
- FA/etc/mailhosts.arpadomains
- d64 1
- a64 1
- DVa0.22
- d132 3
- a284 1
- R$*<@@[$+]> $#arpa-mailer$@@[$2]$:$1 numeric internet spec
- d286 5
- d422 4
- @
-
-
- 1.11
- log
- @a0.21 release - fixed bug in arpa-mailer rulesets
- @
- text
- @d64 1
- a64 1
- DVa0.21
- @
-
-
- 1.10
- log
- @a0.20 release, fixed route-addr, removed '%' forwarding to relays
- @
- text
- @d64 1
- a64 1
- DVa0.20
- @
-
-
- 1.9
- log
- @Took out '%' forwarding to relays - new Va0.03
- @
- text
- @d64 1
- a64 1
- DVa0.10
- d135 10
- d151 1
- a151 1
- R$+<@@$*.UUCP> $2!$1 u@@host.UUCP => host!u
- d154 1
- a154 1
- R$*<$*.LOCAL> $1<$2> change local info
- d156 14
- d183 5
- a187 4
- # leave @@b:user@@c@@a alone
- R@@$+:$+@@$+@@$+ $@@$>6@@$1:$2@@$3<@@$4>
- # change @@a,@@b:user@@c <=> @@b:user@@c<@@a>
- R@@$+,@@$+:$+ $@@$>6@@$2:$3<@@$1>
- d189 3
- a191 1
- R@@$+:$+ $@@$>6$2<@@$1>
- d339 1
- a339 1
- R$*<@@$*;arpa> $#arpa-mailer$@@$2$:$1')
- d347 7
- a353 2
- # force to ether
- R$*<@@$*;ether> $#ether-mailer$@@$2$:$1
- d406 1
- a406 1
- R$*<@@$-.$*$=A> $#arpa-mailer$@@$2.$3$4$:$1
- d435 2
- a436 1
- R$*<@@$=G> $#ether-mailer$@@$2$:$1')
- @
-
-
- 1.8
- log
- @Fixed 'harvard!harvard' return address - new Va0.02
- @
- text
- @d299 2
- a300 2
- R$*<@@$*;bitnet> $@@$>7$1%$2;bitnet@@$F
- R$*<@@$*;ccnet> $@@$>7$1%$2;ccnet@@$F'
- d309 1
- a309 1
- R$*<@@$*;arpa> $@@$>7$1%$2;arpa@@$C'
- d312 1
- a312 1
- R$*<@@$*;arpa> $#arpa-mailer$@@$2$:$1<@@$2>')
- d321 1
- a321 1
- R$*<@@$*;ether> $#ether-mailer$@@$2$:$1<@@$2>
- d348 1
- a348 1
- R$*<@@$*.UUCP> $@@$>7$1%$2.UUCP@@$E user@@somewhere.UUCP'
- d355 1
- a355 1
- R$*<@@$*.$=Z> $@@$>7$1%$2.$3@@$F user@@somewhere.BITNET'
- d363 1
- a363 1
- R$*<@@$*.DECNET> $@@$>7$1%$2.DECNET@@$H user@@somewhere.DECNET'
- d370 2
- a371 2
- R$*<@@$*.$=A> $@@$>7$1%$2.$3@@$C user@@somewhere.ARPA
- R$*<@@$*.$=C> $@@$>7$1%$2.$3@@$C user@@somewhere.CSNET'
- d374 1
- a374 1
- R$*<@@$-.$*$=A> $#arpa-mailer$@@$2.$3$4$:$1<@@$2.$3$4>
- d386 1
- a386 1
- R$*<@@$=F> $@@$>7$1%$2.BITNET@@$F'
- d393 1
- a393 1
- R$*<@@$=H> $@@$>7$1%$2.DECNET@@$H'
- d400 1
- a400 1
- R$*<@@$=G> $@@$>7$1%$2@@$G'
- d403 1
- a403 1
- R$*<@@$=G> $#ether-mailer$@@$2$:$1<@@$2>')
- d410 1
- a410 1
- R$*<@@$-> $@@$>7$1%$2@@$L'
- d415 1
- a415 1
- R$*<@@$-> $#$M$@@$2$:$1<@@$2.$D>',
- d421 1
- a421 1
- R$*<@@$*> $@@$>7$1%$2@@$N user@@unknowndomain',
- @
-
-
- 1.7
- log
- @Removed TCPUUCP - new version a0.02
- @
- text
- @d283 1
- a283 1
- R$=U!$+<@@$+.UUCP> $@@$>7$1 harvard!user@@site.UUCP
- d286 1
- a286 1
- R$=U!$+<@@$+> $1<@@$2> harvard!USER@@SITE.ARPA
- d290 1
- a290 1
- R$=J:$+<@@$+> $1<@@$2> harvard:USER@@SITE.ARPA
- @
-
-
- 1.6
- log
- @New alpha 1.0 release, includes DECNET support
- @
- text
- @a18 4
- # hack for SUN 3.0, which doesn't match $w on the left hand
- # side of a rewriting rule!!!
- Cw$w
-
- d38 1
- a38 1
- CFBITNET CCNET
- d64 1
- a64 1
- DV4.30
- d225 2
- a226 2
- `R$*<@@$-> $:$1<@@$[$2$]>
- R$*<@@$-.$D> $:$1<@@$[$2$]>'
- d229 1
- a229 1
- R$*<@@$-> $:$1<@@$[$2.$D$]>
- d264 5
- a268 4
- R$+<@@$=w> $@@$>7$1 user@@harvard.harvard.edu
- # check to see if we are mail serving for someone else
- # user@@ourmailclient <=> user
- R$*<@@$=J> $@@$>7$1 user@@mailclient
- d270 2
- a271 1
- # These are sorta dangerous, if our canonical name is not unique
- d273 1
- a273 1
- R$+<@@$=w.ARPA> $@@$>7$1 user@@harvard.ARPA (sigh)
- d275 2
- a276 1
- R$+<@@$=w.$=D> $@@$>7$1 user@@harvard.BITNET
- d283 1
- a283 1
- R$U!$+<@@$+.UUCP> $@@$>7$1 harvard!user@@site.UUCP
- d286 1
- a286 1
- R$U!$+<@@$+> $1<@@$2> harvard!USER@@SITE.ARPA
- d290 1
- a290 1
- R$=w:$+<@@$+> $1<@@$2> harvard:USER@@SITE.ARPA
- a330 5
- ifdef(`TCPUUCP',
- `# Use SMTP to deliver UUCP mail to these hosts
- ifdef(`ARPARELAY',`',
- `# resolve tcp uucp links
- R$*<@@$=I.UUCP> $#tcpuucp$@@$2$:$1
- a331 3
- `R$*<@@$=I.UUCP;nopath> $#tcpuucp$@@$2$:$1',`')')',`')
-
- ifdef(`PATHALIAS',
- d333 1
- a333 1
- R$*<@@$=E.UUCP> $#path-mailer$@@pathalias$:$2!$1',`')
- d335 1
- a335 1
- R$*<@@$=U.UUCP> $#uucp-mailer$@@$2$:$1 user@@host.UUCP
- d337 1
- a337 1
- `R$*<@@$=U.UUCP;nopath> $#uucp-mailer$@@$2$:$1',`')
- d355 1
- a355 1
- R$*<@@$*.$=F> $@@$>7$1%$2.$3@@$F user@@somewhere.BITNET'
- d386 1
- a386 1
- R$*<@@$=B> $@@$>7$1%$2.BITNET@@$F'
- d389 1
- a389 1
- R$*<@@$=B> $#bitnet-mailer$@@$2$:$1')
- d406 1
- a406 1
- R$*<@@$=U> $#uucp-mailer$@@$2$:$1 person@@localuucphost
- @
-
-
- 1.5
- log
- @*** empty log message ***
- @
- text
- @d17 1
- a17 1
- include(hostnets)
- d19 4
- d24 1
- a24 1
- ifdef(`DOMAINS',
- d27 2
- a28 2
- `Dj$w.$D'
- )
- d30 1
- a30 1
- ifdef(`DOMAINS',
- d33 1
- a33 2
- `DA$J.$D'
- )
- d38 1
- a38 1
- CAARPA EDU COM GOV MIL ORG US NET UK
- a43 2
- include(localhosts)
-
- d133 11
- a149 2
- R$*<$+>$* $1$2$3 defocus
-
- d162 7
- a168 5
- # handle route-addr
- # @@a,@@b:user@@c <=> @@b:user@@c<@@a> (focus added below)
- R@@$+,@@$+:$+ $:@@$2:$3@@$1
- # @@a:user@@b <=> user@@b<@@a> (focus added below)
- R@@$+:$+ $:$2@@$1
- d172 1
- d186 2
- d190 1
- d192 3
- a194 2
- # this relies on matching the FIRST "!" in the address
- R$-.$+!$+ $@@$>6$3<@@$1.$2> harvard.ARPA!root
- d197 11
- d209 4
- a212 1
- # Note ":" parsed after "!" so that site1!site2:user parsed as
- d214 5
- a218 7
- ifdef(`BITNETRELAY',
- `R$-:$+ $@@$>6$2<@@$1> host:user'
- ,
- `# ":" means BITNET just like "!" means UUCP
- R$-:$+ $@@$>6$2<@@$1.BITNET> host:user'
- )
- # this relies on matching the FIRST ":" in the address
- d227 8
- a234 3
- R$*<@@$=L> $:$1<@@$[$2$]>
- R$*<@@$=L.$=D> $:$1<@@$[$2$].$3>
- R$*<@@$-.$D> $:$1<@@$[$2$]>
- d236 6
- d243 1
- d258 2
- a259 2
- R@@ $#local$:MAILER-DAEMON handle <> form
- R$*<@@[$+]> $#arpa-mailer$@@[$2]$:$1@@[$2] numeric internet spec ?
- d267 11
- a277 4
- R$+<@@$w> $@@$>7$1 user@@harvard
- R$+<@@$j> $@@$>7$1 user@@harvard.HARVARD.EDU
- R$+<@@$w.ARPA> $@@$>7$1 user@@harvard.ARPA (sigh)
- R$+<@@$w.$=D> $@@$>7$1 user@@harvard.BITNET
- d279 1
- a279 1
- R$+<@@$D> $@@$>7$1@@harvard.$D user@@HARVARD.EDU
- d283 1
- d286 1
- d288 4
- a291 1
- R$w:$+<@@$+> $1<@@$2> harvard:USER@@SITE.ARPA
- a292 9
- # find local hosts
- R$*<@@$=L> $1<@@$2.LOCAL> horton@@aiken
- R$*<@@$=L.$=D> $:$1<@@$2.LOCAL> horton@@aiken.bitnet
- R$*<@@$-.$D> $:$1<@@$2.LOCAL> horton@@aiken.harvard.edu
- ifdef(`PATHALIAS',
- `# hack to remove pathalias stuff for local hosts
- R$*<@@$=L;nopath> $:$1<@@$2.LOCAL> horton@@aiken.uucp;nopath'
- ,`')
-
- d296 2
- d300 2
- a301 2
- R$*<@@$*;bitnet> $@@$>0$1%$2;bitnet<@@$F>
- R$*<@@$*;ccnet> $@@$>0$1%$2;ccnet<@@$F>'
- d304 1
- a304 1
- R$*<@@$*;bitnet> $#bitnet-mailer$@@$2$:$1
- d306 1
- a306 2
- R$*<@@$*;ccnet> $#ccnet-mailer$@@$2$:$1'
- )
- d310 1
- a310 1
- R$*<@@$*;arpa> $@@$>0$1%$2;arpa<@@$C>'
- d313 1
- a313 2
- R$*<@@$*;arpa> $#arpa-mailer$@@$2$:$1<@@$2>'
- )
- d316 1
- a316 1
- R$*<@@$*;uucp> $#uucp-mailer$@@$2$:$1
- d324 3
- d332 2
- d338 1
- a338 3
- `R$*<@@$=I.UUCP;nopath> $#tcpuucp$@@$2$:$1'
- ,`')'
- )
- d342 1
- a342 2
- R$*<@@$=E.UUCP> $#path-mailer$@@pathalias$:$2!$1'
- ,`')
- d346 1
- a346 2
- `R$*<@@$=U.UUCP;nopath> $#uucp-mailer$@@$2$:$1'
- ,`')
- d351 1
- d353 1
- a353 2
- R$*;nopath $1 pathaliased to this host'
- ,`')
- d357 1
- a357 1
- R$*<@@$*.UUCP> $@@$>0$1%$2.UUCP<@@$E> user@@somewhere.UUCP'
- d359 2
- a360 3
- `# uucp to unknown host - error
- R$*<@@$*.UUCP> $#error$@@$2$:UnknownHost'
- )
- d364 1
- a364 1
- R$*<@@$*.$=F> $@@$>0$1%$2.$3<@@$F> user@@somewhere.BITNET'
- d368 1
- a368 2
- R$*<@@$*.CCNET> $#ccnet-mailer$@@$2$:$1@@$2.CCNET'
- )
- d370 7
- d379 2
- a380 2
- R$*<@@$*.$=A> $1%$2.$3<@@$C.LOCAL> user@@somewhere.ARPA
- R$*<@@$*.$=C> $1%$2.$3<@@$C.LOCAL> user@@somewhere.CSNET'
- d387 1
- a387 2
- R$*<@@$*.MAILNET> $#arpa-mailer$@@mit-multics.arpa$:$1<@@$2.MAILNET>'
- )
- a392 5
- # if it's us (or pretend it is), then strip the host name
- R$*<@@$=J.LOCAL> $@@$>7$1
-
- include(relayrules)
-
- d395 1
- a395 1
- R$*<@@$=B.LOCAL> $@@$>0$1%$2.BITNET<@@$F>'
- d398 1
- a398 2
- R$*<@@$=B.LOCAL> $#bitnet-mailer$@@$2$:$1'
- )
- d400 6
- a405 2
- # tcp to local host
- R$*<@@$=G.LOCAL> $#ether-mailer$@@$2$:$1<@@$2.LOCAL>
- d407 7
- d415 1
- a415 1
- R$*<@@$=U.LOCAL> $#uucp-mailer$@@$2$:$1 person@@localuucphost
- d419 1
- a419 1
- R$*<@@$=L.LOCAL> $@@$>0$1%$2<@@$L>'
- d421 4
- d426 1
- a426 2
- R$*<@@$*.LOCAL> $#error$@@x$:UnknownLocalHost?'
- )
- d428 5
- a432 3
- # ??
- R$*<$*.$*> $#error$@@x$:UnknownDomain
- R$*<@@$*>$* $#error$@@x$:UnknownLocalHost
- d439 1
- a439 2
- `R$+ $#local$:$1 everything else'
- )
- @
-
-
- 1.4
- log
- @cf with mail clients and mail relay
- @
- text
- @d199 2
- a200 7
- ifdef(`DOMAINS',
- `R$*<@@$=L.$=D> $:$1<@@$[$2$]>
- R$*<@@$-.$D> $:$1<@@$[$2$]>'
- ,
- `R$*<@@$=L.$=D> $:$1<@@$[$2$].$3>
- R$*<@@$-.$D> $:$1<@@$[$2$].$D>'
- )
- d275 1
- a275 1
- R$*<@@$*;pathalias> $#path-mailer$@@$2:$1
- d287 1
- a287 1
- R$*<@@$=X.UUCP> $#tcpuucp$@@$2$:$1
- d289 1
- a289 1
- `R$*<@@$=X.UUCP;nopath> $#tcpuucp$@@$2$:$1'
- d295 1
- a295 1
- R$*<@@$=E.UUCP> $#path-mailer$@@$2$:$1'
- d305 1
- a305 1
- R$*<@@$*.UUCP> $#path-mailer$@@$2$:$1 user@@somewhere.UUCP
- d334 4
- a337 4
- R$*<@@$*.DEC> $#arpa-mailer$@@decwrl$:$1<@@$2.DEC>
- R$*<@@$*.UTEXAS> $#arpa-mailer$@@ut-sally$:$1<@@$2.UTEXAS>
- R$*<@@$*.CSNET> $#arpa-mailer$@@csnet-relay$:$1<@@$2.CSNET>
- R$*<@@$*.MAILNET> $#arpa-mailer$@@mit-multics$:$1<@@$2.MAILNET>'
- d343 1
- d347 2
- a361 2
-
- include(relayrules)
- @
-
-
- 1.3
- log
- @New and Improved, but still Beta, cf.m4
- @
- text
- @@
-
-
- 1.2
- log
- @*** empty log message ***
- @
- text
- @d13 1
- a13 2
- # local domain names
- DDHARVARD.EDU
- d27 1
- a27 1
- # known local hosts; x@@localhost -> x@@localhost.LOCAL
- a28 69
- # science center - UNIX
- CLh-sc8 husc8 thor sc8 harvsc8 harvunxd
- CLh-sc7 husc7 loki sc7 harvsc7 harvunxc
- CLh-sc4 husc4 odin sc4 harvsc4 harvunxu
- CLh-sc1 husc1 asgard sc1 harvsc1 harvunxa
- CLh-sc2 husc2 bifrost sc2 harvsc2 harvunxb
- CLh-lit1 hulit1 littauer lit1 harvlit1 harvunxl
- CLh-ma1 huma1 math ma1 harvma1 harvunxm
-
- # science center - VMS
- CLh-sc3 husc3 roscoe rvms sc3 harvsc3
- CLh-sc5 husc5 sylvie svms sc5 harvsc5
- CLh-law1 hulaw1 law1 lvms harvlaw1
-
- # william james
- CLtalcott husoc1 h-soc1 soc1 harvunxt
- CLpitirim husoc2 h-soc2 soc2
- CLwjh12 hupsr1 h-psr1 psr1 harvunxw
- CLhuelings
-
- # aiken/DAS
- CLharvard harvunxh
- CLdasy
- CLgauss
- CLturing
- CLgodel
- CLboole
- CLherebrand
- CLrabin
- CLatrios
- CLzeos
- CLpeladon
- CLtraken
- CLribos
- CLskaro
- CLharry
- CLeleanor
- CLchimera
- CLtoyvax
-
- # other harvard sites
-
- # via harvard uucp
- CLlhasa
- CLharvchem
- CLhurob1
- CLmolphy
- CLlasex
- CLxray
- # via ethernet
- CLtardis
- CLhustat
- # via bitnet
- CLharvarda
- CLcfa1 cfa2
- CLhuche1 huche2
- CLhubus1
- CLharvhep
- CLhugse1
- CLhuarp1
- # via other routing
- CLbiochem
-
- # Apollo ringnet
- CLhuapollo hucmt1 hucmt2
-
- # School of public health et al.
- CLhscfvax
-
- d72 1
- a72 3
- ###################
- ### Options ###
- ###################
- a73 40
- # location of alias file
- OA/usr/lib/aliases
- # default delivery mode (deliver in background)
- Odbackground
- # (don't) connect to "expensive" mailers
- Oc
- # rebuild aliases automatically
- OD
- # temporary file mode
- OF0640
- # default GID
- Og1
- # location of help file
- OH/usr/lib/sendmail.hf
- # log level
- OL5
- # default messages to old style
- Oo
- # queue directory
- OQ/usr/spool/mqueue
- # read timeout -- violates protocols
- Or2h
- # status file
- OS/usr/lib/sendmail.st
- # queue up everything before starting transmission
- #Os
- # default timeout interval
- OT3d
- # time zone names (V6 only)
- OtPST,PDT
- # default UID
- Ou1
- # wizard's password
- OWBRQTQQvpCSGFg
- # load average at which to Queue mail
- Ox6
- # load average at which to refuse connections
- OX10
-
-
- d139 2
- a140 2
- # @@a:user@@b <=> :user@@b<@@a> (focus added below)
- R@@$+:$+ $::$2@@$1
- d238 2
- a239 2
- R$*<@@$*;bitnet> $@@$>0$1@@$2;bitnet<@@$F>
- R$*<@@$*;ccnet> $@@$>0$1@@$2;ccnet<@@$F>'
- d249 1
- a249 1
- R$*<@@$*;arpa> $@@$>0$1@@$2;arpa<@@$C>'
- d267 5
- d273 15
- d289 1
- a289 3
- # but only if we know we don't want to send directly
- R$*<@@$~X.UUCP> $#path-mailer$@@$2$:$1 user@@somewhere.UUCP
- R$*<@@$~U.UUCP> $#path-mailer$@@$2$:$1 user@@somewhere.UUCP
- a292 6
- ifdef(`ARPARELAY',`',
- `# resolve tcp uucp links
- R$*<@@$=X.UUCP> $#tcpuucp$@@$2$:$1'
- )
- # uucp direct to non-local host
- R$*<@@$=E.UUCP> $#uucp-mailer$@@$2$:$1 person@@remoteuucphost
- d296 1
- a296 1
- R$*<@@$*.UUCP> $@@$>0$1@@$2.UUCP<@@$E> user@@somewhere.UUCP'
- d304 1
- a304 1
- R$*<@@$*.$=F> $@@$>0$1@@$2.$3<@@$F> user@@somewhere.BITNET'
- d313 2
- a314 2
- R$*<@@$*.$=A> $1@@$2.$3<@@$C.LOCAL> user@@somewhere.ARPA
- R$*<@@$*.$=C> $1@@$2.$3<@@$C.LOCAL> user@@somewhere.CSNET'
- d329 1
- a329 1
- R$*<@@$=B.LOCAL> $@@$>0$1@@$2.BITNET<@@$F>'
- d339 1
- a339 1
- R$*<@@$=E.LOCAL> $#uucp-mailer$@@$2$:$1 person@@localuucphost
- d346 1
- a346 1
- ifdef(NOLOCALRELAY,
- d351 1
- a351 1
- R$*<@@$=L.LOCAL> $@@$>0$1@@$2<@@$L>'
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d22 1
- a22 1
- CAARPA EDU COM GOV MIL ORG US NET
- d48 1
- d71 2
- a72 1
- CLbiochem
- a73 1
- CLharvarda
- a75 1
- CLtardis
- d79 13
- d93 6
- d180 4
- d279 6
- a284 1
- R$-:$+ $@@$>6$2<@@$1> host:user
- a297 5
- ifdef(`BITNETRELAY',`',
- `# Recognize BITNET hosts without BITNET domain specifier
- R$*<@@$=I> $:$1<@@$2.BITNET>
- R$*<@@$=I.$=D> $:$1<@@$2.BITNET>')
-
- d330 2
- d333 2
- a334 2
- R$U!$+<@@$+> $1@@$2 harvard!USER@@SITE.ARPA
- R$w:$+<@@$+> $1@@$2 harvard:USER@@SITE.ARPA
- d374 1
- a374 1
- R$*<@@$*;ether> $#ether-mailer$@@$2$:$1
- d381 5
- a385 2
- R$*<@@$*.UUCP> $#path-mailer$@@$2$:$1 user@@somewhere.UUCP
- R$*<@@$*;nopath> $1<@@$2> already tried pathalias'
- d436 1
- a436 1
- R$*<@@$=G.LOCAL> $#ether-mailer$@@$2$:$1 person@@localetherhost
- d442 3
- @
-