138032SpeterPUSHDIVERT(-1) 238032Speter# 3261194Sgshapiro# Copyright (c) 1998-2001 Proofpoint, Inc. and its suppliers. 464562Sgshapiro# All rights reserved. 538032Speter# 638032Speter# By using this file, you agree to the terms and conditions set 738032Speter# forth in the LICENSE file which can be found at the top level of 838032Speter# the sendmail distribution. 938032Speter# 1038032Speter# 1138032Speter# Not exciting enough to bother with copyrights and most of the 1238032Speter# rulesets are based from those provided by DEC. 1338032Speter# Barb Dijker, Labyrinth Computer Services, barb@labyrinth.com 1438032Speter# 1538032Speter# This mailer is only useful if you have DECNET and the 1638032Speter# mail11 program - gatekeeper.dec.com:/pub/DEC/gwtools. 1764562Sgshapiro# 1838032Speter# For local delivery of DECNET style addresses to the local 1938032Speter# DECNET node, you will need feature(use_cw_file) and put 2038032Speter# your DECNET nodename in in the cw file. 2138032Speter# 2238032Speterifdef(`MAIL11_MAILER_PATH',, `define(`MAIL11_MAILER_PATH', /usr/etc/mail11)') 2364562Sgshapiro_DEFIFNOT(`MAIL11_MAILER_FLAGS', `nsFx') 2438032Speterifdef(`MAIL11_MAILER_ARGS',, `define(`MAIL11_MAILER_ARGS', mail11 $g $x $h $u)') 2538032Speterdefine(`_USE_DECNET_SYNTAX_') 2638032Speterdefine(`_LOCAL_', ifdef(`confLOCAL_MAILER', confLOCAL_MAILER, `local')) 2790792Sgshapirodefine(`_MAIL11_QGRP', `ifelse(defn(`MAIL11_MAILER_QGRP'),`',`', ` Q=MAIL11_MAILER_QGRP,')')dnl 2838032Speter 2938032SpeterPOPDIVERT 3038032Speter 3138032SpeterPUSHDIVERT(3) 3238032Speter# DECNET delivery 3338032SpeterR$* < @ $=w .DECNET. > $#_LOCAL_ $: $1 local DECnet 3438032SpeterR$+ < @ $+ .DECNET. > $#mail11 $@ $2 $: $1 DECnet user 3538032SpeterPOPDIVERT 3638032Speter 3738032SpeterPUSHDIVERT(6) 3838032SpeterCPDECNET 3938032SpeterPOPDIVERT 4038032Speter 4138032Speter########################################### 4238032Speter### UTK-MAIL11 Mailer specification ### 4338032Speter########################################### 4438032Speter 45266527SgshapiroVERSIONID(`$Id: mail11.m4,v 8.23 2013-11-22 20:51:14 ca Exp $') 4638032Speter 4790792SgshapiroSMail11To 4838032SpeterR$+ < @ $- .UUCP > $: $2 ! $1 back to old style 4938032SpeterR$+ < @ $- .DECNET > $: $2 :: $1 convert to DECnet style 5038032SpeterR$+ < @ $- .LOCAL > $: $2 :: $1 convert to DECnet style 5138032SpeterR$+ < @ $=w. > $: $2 :: $1 convert to DECnet style 5238032SpeterR$=w :: $+ $2 strip local names 5338032SpeterR$+ :: $+ $@ $1 :: $2 already qualified 5464562Sgshapiro 5590792SgshapiroSMail11From 5690792SgshapiroR$+ $: $>Mail11To $1 preprocess 5790792SgshapiroR$w :: $+ $@ $w :: $1 ready to go 5890792Sgshapiro 5964562SgshapiroMmail11, P=MAIL11_MAILER_PATH, F=_MODMF_(MAIL11_MAILER_FLAGS, `MAIL11'), S=Mail11From, R=Mail11To, 6090792Sgshapiro T=DNS/X-DECnet/X-Unix,_MAIL11_QGRP 6164562Sgshapiro A=MAIL11_MAILER_ARGS 62