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.5 (Berkeley) 10/03/91)
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
22define(`_UUCP_LINKED_')dnl
23
24S12
25
26R$* < @ $j >			$1			strip local name
27R$* < @ $- . UUCP >		$2 ! $1			convert to UUCP format
28R$* < @ $+ >			$2 ! $1			convert to UUCP format
29R$+				$: $U ! $1		prepend our name
30
31PUSHDIVERT(4)
32# resolve locally connected UUCP links
33R< @ $=Y . UUCP > : $+		$#suucp $@ $1 $: $1:$2	@host.UUCP: ...
34R< @ $=U . UUCP > : $+		$#uucp $@ $1 $: $1:$2	@host.UUCP: ...
35R$+ < @ $=Y . UUCP >		$#suucp $@ $2 $: $1	user@host.UUCP
36R$+ < @ $=U . UUCP >		$#uucp $@ $2 $: $1	user@host.UUCP
37POPDIVERT
38