home *** CD-ROM | disk | FTP | other *** search
- This is a diff to convert sendmail.main.cf to use dnamail.
-
- Changes:
-
- 1) Define macro 'S' to be name of machine that can forward DECnet
- mail (default is 'dnahost'). Comment out this line for
- if this machine runs Sunlink/DNI.
- 2) Define class 'S' to be list of machines we can send mail to
- via DECnet.
- 3) Add 'dna' as a trusted user.
- 4) Add 'dna' as a mailer
- 5) Addresses to machines in class 'S' are mailed by #dna
- or forwarded to 'dnahost' to be mailed.
-
- *** sendmail.main.cf Sat May 7 18:43:55 1988
- --- sendmail.main.new Sat May 7 19:10:07 1988
- ***************
- *** 48,53 ****
- --- 48,58 ----
- # Otherwise, the default is to use the hosts.byname map if YP
- # is running (or else the /etc/hosts file if no YP).
-
- + # define this $S if you want to forward decnet mail to $S
- + # if this node can handle decnet, then DON'T define $S
- + # DBJ
- + DSdnahost
- +
- #################################################
- #
- # General configuration information
- ***************
- *** 91,96 ****
- --- 96,104 ----
- DVSMI-3.2
-
-
- + # get list of decnet machines we can send mail to
- + FS/usr/sunlink/dna/dnahosts
- +
- ##########################
- ### Special macros ###
- ##########################
- ***************
- *** 154,163 ****
- #########################
- ### Trusted users ###
- #########################
- !
- Troot
- Tdaemon
- Tuucp
-
- #############################
- ### Format of headers ###
- --- 162,174 ----
- #########################
- ### Trusted users ###
- #########################
- ! #
- ! # added dna, since dnamaild gets run as that user..
- ! #
- Troot
- Tdaemon
- Tuucp
- + Tdna
-
- #############################
- ### Format of headers ###
- ***************
- *** 269,274 ****
- --- 280,287 ----
- S6
- R$*<@$*$=D>$* $1<@$2LOCAL>$4 convert local domain
- R$*<@$*$=D.$=U>$* $1<@$2LOCAL>$5 or full domain name
- + #added by DBJ - just in case someone still uses the old form
- + R$*<$*.decnet>$* $1<$2.uucp>$3 convert to uucp
-
- ############################################################
- ############################################################
- ***************
- *** 366,373 ****
- --- 379,408 ----
- S23
- R$+ $:$>5$1 convert to old style
-
- + ############################################################
- + ############################################################
- + #####
- + ##### DECnet Mailer specification
- + #####
- + ##### Messages processed by this configuration are assumed to leave
- + ##### the internet domain. Hence, they may not necessarily correspond
- + ##### to RFC822 in all details.
- + #####
- + ##### added by DBJ
- + #####
- + ############################################################
- + ############################################################
-
- + Mdna, P=/usr/sunlink/dna/dnamail, F=mnSF, S=14, R=24,
- + A=dnamail -f $f -n $h $u
-
- + S14
- + # none needed
- +
- + S24
- + # none needed
- +
- +
- ############################################################
- ############################################################
- #####
- ***************
- *** 415,420 ****
- --- 450,470 ----
-
- # Clean up addresses for external use -- kills LOCAL, route-addr ,=>: and etc.
- R$* $:$>9 $1 Then continue...
- +
- + # added by DBJ
- + ####################################################
- + # This gets shoved in the center of Ruleset 0 in
- + # order to handle decnet nodes.
- + #
- + # If $S (decnet gateway) is defined, then forward to $S, else
- + # resolve to dna mailer.
- + #
- + # added by DBJ
- + ####################################################
- +
- + R$+<@$=S> $?S $#ether $@$S $:$2!$1 $| $#dna $@$2 $:$1 $.
- + R$+<@$=S.uucp> $?S $#ether $@$S $:$2!$1 $| $#dna $@$2 $:$1 $.
- +
-
- # resolve UUCP domain
- R<@$-.uucp>:$+ $#uucp $@$1 $:$2 @host.uucp:...
-