mail11.m4 revision 38032
122514SdarrenrPUSHDIVERT(-1) 253024Sguido# 322514Sdarrenr# Copyright (c) 1998 Sendmail, Inc. All rights reserved. 4145510Sdarrenr# 522514Sdarrenr# By using this file, you agree to the terms and conditions set 631183Speter# forth in the LICENSE file which can be found at the top level of 731183Speter# the sendmail distribution. 831183Speter# 922514Sdarrenr# 1022514Sdarrenr# Not exciting enough to bother with copyrights and most of the 1122514Sdarrenr# rulesets are based from those provided by DEC. 1231183Speter# Barb Dijker, Labyrinth Computer Services, barb@labyrinth.com 1322514Sdarrenr# 1422514Sdarrenr# This mailer is only useful if you have DECNET and the 1522514Sdarrenr# mail11 program - gatekeeper.dec.com:/pub/DEC/gwtools. 1622514Sdarrenr# 1731183Speter# For local delivery of DECNET style addresses to the local 1831183Speter# DECNET node, you will need feature(use_cw_file) and put 1931183Speter# your DECNET nodename in in the cw file. 2022514Sdarrenr# 2131183Speterifdef(`MAIL11_MAILER_PATH',, `define(`MAIL11_MAILER_PATH', /usr/etc/mail11)') 2231183Speterifdef(`MAIL11_MAILER_FLAGS',, `define(`MAIL11_MAILER_FLAGS', nsFx)') 2331183Speterifdef(`MAIL11_MAILER_ARGS',, `define(`MAIL11_MAILER_ARGS', mail11 $g $x $h $u)') 2431183Speterdefine(`_USE_DECNET_SYNTAX_') 2531183Speterdefine(`_LOCAL_', ifdef(`confLOCAL_MAILER', confLOCAL_MAILER, `local')) 2631183Speter 2731183SpeterPOPDIVERT 2831183Speter 2931183SpeterPUSHDIVERT(3) 3031183Speter# DECNET delivery 3122514SdarrenrR$* < @ $=w .DECNET. > $#_LOCAL_ $: $1 local DECnet 3222514SdarrenrR$+ < @ $+ .DECNET. > $#mail11 $@ $2 $: $1 DECnet user 3322514SdarrenrPOPDIVERT 3422514Sdarrenr 3522514SdarrenrPUSHDIVERT(6) 3622514SdarrenrCPDECNET 3731183SpeterPOPDIVERT 3822514Sdarrenr 3922514Sdarrenr########################################### 4022514Sdarrenr### UTK-MAIL11 Mailer specification ### 4131183Speter########################################### 4231183Speter 4331183SpeterVERSIONID(`@(#)mail11.m4 8.8 (Berkeley) 5/19/98') 4431183Speter 4531183SpeterMmail11, P=MAIL11_MAILER_PATH, F=MAIL11_MAILER_FLAGS, S=15, R=25, 4631183Speter A=MAIL11_MAILER_ARGS 4731183Speter 4831183SpeterS15 4931183SpeterR$+ $: $>25 $1 preprocess 5031183SpeterR$w :: $+ $@ $w :: $1 ready to go 5131183Speter 5231183SpeterS25 5331183SpeterR$+ < @ $- .UUCP > $: $2 ! $1 back to old style 5431183SpeterR$+ < @ $- .DECNET > $: $2 :: $1 convert to DECnet style 5531183SpeterR$+ < @ $- .LOCAL > $: $2 :: $1 convert to DECnet style 5631183SpeterR$+ < @ $=w. > $: $2 :: $1 convert to DECnet style 5731183SpeterR$=w :: $+ $2 strip local names 5831183SpeterR$+ :: $+ $@ $1 :: $2 already qualified 5931183Speter