home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume3
/
dnamail
/
sub.diff
< prev
Wrap
Text File
|
1989-02-03
|
4KB
|
137 lines
This is a diff to convert sendmail.subsidiary.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.subsidiary.cf Sat May 7 18:43:55 1988
--- sendmail.subsidiary.new Sat May 7 19:10:58 1988
***************
*** 36,41 ****
--- 36,46 ----
DRmailhost
CRmailhost
+ # 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
***************
*** 79,84 ****
--- 84,92 ----
DVSMI-3.2
+ # get list of decnet machines we can send mail to
+ FS/usr/sunlink/dna/dnahosts
+
##########################
### Special macros ###
##########################
***************
*** 142,151 ****
#########################
### Trusted users ###
#########################
!
Troot
Tdaemon
Tuucp
#############################
### Format of headers ###
--- 150,162 ----
#########################
### Trusted users ###
#########################
! #
! # added dna, since dnamaild gets run as that user..
! #
Troot
Tdaemon
Tuucp
+ Tdna
#############################
### Format of headers ###
***************
*** 257,262 ****
--- 268,275 ----
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
############################################################
############################################################
***************
*** 354,360 ****
--- 367,396 ----
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
+
+
############################################################
############################################################
#####
***************
*** 407,412 ****
--- 443,463 ----
R<@$=V.uucp>:$+ $:$>9 $1 First clean up, then...
R<@$=V.uucp>:$+ $#uucp $@$1 $:$2 @host.uucp:...
R$+<@$=V.uucp> $#uucp $@$2 $:$1 user@host.uucp
+
+ # 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 $.
+
# optimize names of known ethernet hosts
R$*<@$*$%y.LOCAL>$* $#ether $@$3 $:$1<@$2$3>$4 user@host.here