BSD 4_3_Net_1 release
[unix-history] / sendmail / cf / m4 / uucpm.m4
CommitLineData
95f51977
C
1divert(10)
2#
e3419641
C
3# Copyright (c) 1983 Eric P. Allman
4# Copyright (c) 1988 The Regents of the University of California.
5# All rights reserved.
95f51977 6#
e3419641
C
7# Redistribution and use in source and binary forms are permitted
8# provided that the above copyright notice and this paragraph are
9# duplicated in all such forms and that any documentation,
10# advertising materials, and other materials related to such
11# distribution and use acknowledge that the software was developed
12# by the University of California, Berkeley. The name of the
13# University may not be used to endorse or promote products derived
14# from this software without specific prior written permission.
15# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
16# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
17# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
95f51977 18#
e3419641 19# @(#)uucpm.m4 1.12 (Berkeley) 2/15/89
95f51977
C
20#
21divert(0)
22############################################################
23############################################################
24#####
25##### UUCP Mailer specification
26#####
27############################################################
28############################################################
29
30
31Muucp, P=/usr/bin/uux, F=DFMhuU, S=13, R=23, M=100000,
32 A=uux - -r -z -a$f -gC $h!rmail ($u)
33
34S13
35R$+ $:$>5$1 convert to old style
ca67e7b4 36R$*<@$=w>$* $1<@$w>$2 resolve abbreviations
95f51977
C
37R$*<@$->$* $1<@$2.$D>$3 resolve abbreviations
38R$+<@$+> $2!$1 uucpize (no @'s in addr)
ca67e7b4 39R$w!$+ $1 strip local name
95f51977 40R$+ $:$U!$1 stick on our host name
ca67e7b4 41R$=U!$-%$- $:$1!$2@$3.$D ucbvax!user@host.domain
95f51977
C
42
43S23
44R$+ $:$>5$1 convert to old style
ca67e7b4 45R$*<@$=w>$* $1<@$w>$2 resolve abbreviations
95f51977 46R$*<@$->$* $1<@$2.$D>$3 resolve abbreviations
ca67e7b4
C
47R$+<@$w> $U!$1 a!b@here -> here!a!b
48R$=U!$+ $2 here!a!b -> a!b
49# sanity ... should not happen.
50R$=U.$D!$+ $2 strip local name.domain