This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / usr.sbin / sendmail / cf / m4 / uucpm.m4
CommitLineData
15637ed4
RG
1divert(10)
2#
3# Sendmail
4# Copyright (c) 1983 Eric P. Allman
5# Berkeley, California
6#
7# Copyright (c) 1983 Regents of the University of California.
8# All rights reserved. The Berkeley software License Agreement
9# specifies the terms and conditions for redistribution.
10#
11# @(#)uucpm.m4 1.11 (Berkeley) 1/3/89
12#
13divert(0)
14############################################################
15############################################################
16#####
17##### UUCP Mailer specification
18#####
19############################################################
20############################################################
21
22
23Muucp, P=/usr/local/bin/uux, F=DFMhuU, S=13, R=23, M=100000,
24 A=uux - -r -z -a$f -gC $h!rmail ($u)
25
26S13
27R$+ $:$>5$1 convert to old style
28R$*<@$=w>$* $1<@$w>$2 resolve abbreviations
29R$*<@$->$* $1<@$2.$D>$3 resolve abbreviations
30R$+<@$+> $2!$1 uucpize (no @'s in addr)
31R$w!$+ $1 strip local name
32R$+ $:$U!$1 stick on our host name
33R$=U!$-%$- $:$1!$2@$3.$D ucbvax!user@host.domain
34
35S23
36R$+ $:$>5$1 convert to old style
37R$*<@$=w>$* $1<@$w>$2 resolve abbreviations
38R$*<@$->$* $1<@$2.$D>$3 resolve abbreviations
39R$+<@$w> $U!$1 a!b@here -> here!a!b
40R$=U!$+ $2 here!a!b -> a!b
41# sanity ... should not happen.
42R$=U.$D!$+ $2 strip local name.domain