redirect.m4 revision 42575
1divert(-1)
2#
3# Copyright (c) 1998 Sendmail, Inc.  All rights reserved.
4# Copyright (c) 1983 Eric P. Allman.  All rights reserved.
5# Copyright (c) 1988, 1993
6#	The Regents of the University of California.  All rights reserved.
7#
8# By using this file, you agree to the terms and conditions set
9# forth in the LICENSE file which can be found at the top level of
10# the sendmail distribution.
11#
12#
13
14divert(0)
15VERSIONID(`@(#)redirect.m4	8.10 (Berkeley) 5/19/1998')
16divert(-1)
17
18
19PUSHDIVERT(3)
20# addresses sent to foo@host.REDIRECT will give a 551 error code
21R$* < @ $+ .REDIRECT. >		$: $1 < @ $2 . REDIRECT . > < ${opMode} >
22R$* < @ $+ .REDIRECT. > <i>	$: $1 < @ $2 . REDIRECT. >
23R$* < @ $+ .REDIRECT. > < $- >	$# error $@ 5.1.1 $: "551 User has moved; please try " <$1@$2>
24POPDIVERT
25
26PUSHDIVERT(6)
27CPREDIRECT
28POPDIVERT
29