mail11.m4 revision 38032
138032SpeterPUSHDIVERT(-1) 238032Speter# 338032Speter# Copyright (c) 1998 Sendmail, Inc. All rights reserved. 438032Speter# 538032Speter# By using this file, you agree to the terms and conditions set 638032Speter# forth in the LICENSE file which can be found at the top level of 738032Speter# the sendmail distribution. 838032Speter# 938032Speter# 1038032Speter# Not exciting enough to bother with copyrights and most of the 1138032Speter# rulesets are based from those provided by DEC. 1238032Speter# Barb Dijker, Labyrinth Computer Services, barb@labyrinth.com 1338032Speter# 1438032Speter# This mailer is only useful if you have DECNET and the 1538032Speter# mail11 program - gatekeeper.dec.com:/pub/DEC/gwtools. 1638032Speter# 1738032Speter# For local delivery of DECNET style addresses to the local 1838032Speter# DECNET node, you will need feature(use_cw_file) and put 1938032Speter# your DECNET nodename in in the cw file. 2038032Speter# 2138032Speterifdef(`MAIL11_MAILER_PATH',, `define(`MAIL11_MAILER_PATH', /usr/etc/mail11)') 2238032Speterifdef(`MAIL11_MAILER_FLAGS',, `define(`MAIL11_MAILER_FLAGS', nsFx)') 2338032Speterifdef(`MAIL11_MAILER_ARGS',, `define(`MAIL11_MAILER_ARGS', mail11 $g $x $h $u)') 2438032Speterdefine(`_USE_DECNET_SYNTAX_') 2538032Speterdefine(`_LOCAL_', ifdef(`confLOCAL_MAILER', confLOCAL_MAILER, `local')) 2638032Speter 2738032SpeterPOPDIVERT 2838032Speter 2938032SpeterPUSHDIVERT(3) 3038032Speter# DECNET delivery 3138032SpeterR$* < @ $=w .DECNET. > $#_LOCAL_ $: $1 local DECnet 3238032SpeterR$+ < @ $+ .DECNET. > $#mail11 $@ $2 $: $1 DECnet user 3338032SpeterPOPDIVERT 3438032Speter 3538032SpeterPUSHDIVERT(6) 3638032SpeterCPDECNET 3738032SpeterPOPDIVERT 3838032Speter 3938032Speter########################################### 4038032Speter### UTK-MAIL11 Mailer specification ### 4138032Speter########################################### 4238032Speter 4338032SpeterVERSIONID(`@(#)mail11.m4 8.8 (Berkeley) 5/19/98') 4438032Speter 4538032SpeterMmail11, P=MAIL11_MAILER_PATH, F=MAIL11_MAILER_FLAGS, S=15, R=25, 4638032Speter A=MAIL11_MAILER_ARGS 4738032Speter 4838032SpeterS15 4938032SpeterR$+ $: $>25 $1 preprocess 5038032SpeterR$w :: $+ $@ $w :: $1 ready to go 5138032Speter 5238032SpeterS25 5338032SpeterR$+ < @ $- .UUCP > $: $2 ! $1 back to old style 5438032SpeterR$+ < @ $- .DECNET > $: $2 :: $1 convert to DECnet style 5538032SpeterR$+ < @ $- .LOCAL > $: $2 :: $1 convert to DECnet style 5638032SpeterR$+ < @ $=w. > $: $2 :: $1 convert to DECnet style 5738032SpeterR$=w :: $+ $2 strip local names 5838032SpeterR$+ :: $+ $@ $1 :: $2 already qualified 59