1PUSHDIVERT(-1)
2#
3# Copyright (c) 1983 Eric P. Allman
4# Copyright (c) 1988 The Regents of the University of California.
5# All rights reserved.
6#
7# %sccs.include.redist.sh%
8#
9POPDIVERT
10#####################################
11###   UUCP Mailer specification   ###
12#####################################
13
14VERSIONID(@(#)uucp.m4	2.7 (Berkeley) 07/20/92)
15
16Msuucp,	P=ifdef(`UUCP_MAILER', `UUCP_MAILER', /usr/bin/uux), F=mDFMhuU, S=12, R=12, M=100000
17	A=uux - -r -z -a$f -gC $h!rmail ($u)
18
19Muucp,	P=ifdef(`UUCP_MAILER', `UUCP_MAILER', /usr/bin/uux), F=DFMhuU, S=12, R=12, M=100000
20	A=uux - -r -z -a$f -gC $h!rmail ($u)
21
22S12
23
24# don't qualify list:; syntax
25R$* :;				$@ $1 :;
26
27R$* < @ $j >			$1			strip local name
28R$* < @ $- . UUCP >		$2 ! $1			convert to UUCP format
29R$* < @ $+ >			$2 ! $1			convert to UUCP format
30R$+				$: $U ! $1		prepend our name
31
32PUSHDIVERT(4)
33# resolve locally connected UUCP links
34R< @ $=Y . UUCP > : $+		$#suucp $@ $1 $: $1:$2	@host.UUCP: ...
35R< @ $=U . UUCP > : $+		$#uucp $@ $1 $: $1:$2	@host.UUCP: ...
36R$+ < @ $=Y . UUCP >		$#suucp $@ $2 $: $1	user@host.UUCP
37R$+ < @ $=U . UUCP >		$#uucp $@ $2 $: $1	user@host.UUCP
38POPDIVERT
39