# CF setup NeXus-Kansai.KIT ASUKA (yo/NeXus) 03/03/96
#
# localhack for NeXus-Kansai.Kit			1996.03.03 15:00
#
# # ===> Master/another_addr	$ANOTHER_FILTER='nexus'	:another top domain
# # ===> nexus/localhack2	$ANOTHER_FILTER='nexus'	:
# # 				$REWRITE_USERNAME='yes'	:rewrite 1 user only
# #				$USERNAME0='yo'		:login name
# #				$USERNAME1='hyodo'	:mail-address name
#
# other setting
#	uucp3:  3rd uucp mailer for 1MB abailable
#	smtp-f: filtered smtp mailer
#	uucp-f: filtered uucp mailer


LOCALHACK_REVISION_ID='@(#)NeXus-Kansai.Kit.hack-2 Asuka (yo/NeXus) 3/3/96'

# queing when DNS fault (especially in dialup-ppp)
#LOCALHACK_OPTION='# queing when DNS fault\
#OI1'

# user name rewrite

	if [ "$REWRITE_USERNAME" != no ]
	then

S11LOCALHACK3='R'"$USERNAME0"'		$@'"$USERNAME1"'<@$'$_FA_CHAR'>			user name rewrite'

	fi

# 3rd uucp mailer (same uucp mailer without MaxSize, to use direct phone link)

LOCALHACKMAILER='\
Muucp3, P=/usr/bin/uux, F=msDFMu, S=12, R=21, M=1000000, A=uux - -r -gB $h!rmail ($u)\
Msmtp-f, P=/usr/local/mail/mail_filter, F=mDFMuXnP, S=14, R=24, A=mail_filter $h $g $u\
Muucp-f, P=/usr/local/mail/mail_filter, F=mDFMuXnP, S=15, R=24, A=mail_filter $h $g $u'


#=====	another network filter
	if [ "$ANOTHER_FILTER" != no ]
	then

HDRLOCALHACK="D$_AT_CHAR$ANOTHER_FILTER"

#---external	> filter > sendmail -Cnormal	: normal Internet
SENDERLOCALHACKRULE='\
S14\
R$*<@$*.$'"$_AT_CHAR"'>	$@$1<@$2.$'"$_AT_CHAR"'.ERROR>\
R$*			$@$>11 $1\
\
S15\
R$*<@$*.$'"$_AT_CHAR"'>	$@$1<@$2.$'"$_AT_CHAR"'.ERROR>\
R$*			$@$>12 $1\
'

RECIPIENTLOCALHACKRULE='\
S24\
R$*<@$*.$'"$_AT_CHAR"'>	$@$1<@$2.$'"$_AT_CHAR"'.ERROR>\
R$*			$@$>21 $1\
'

	fi

#---uucp2	> filter > uux			: normal NeXusNET
# ===> Master/another_addr	$ANOTHER_FILTER='nexus'

#---
#᡼ή	
#[receiver]	: [sender]				[mailer]
#youko.jp	: jp,youko	-> youko		local
#jp		: jp,youko	-> youko -> jp		external:smtp,uucp
#youko.nexus	: nexus,youko	-> youko		local
#nexus		: nexus,youko	-> youko -> nexus	uucp2
#
#̤к		Return-Receipt-To:, Receipt:
#2nd sendmail.cf	No rewrite, send [IPC]



