151225SericPUSHDIVERT(-1)
251225Seric#
351225Seric# Copyright (c) 1983 Eric P. Allman
462501Sbostic# Copyright (c) 1988, 1993
562501Sbostic#	The Regents of the University of California.  All rights reserved.
651225Seric#
751225Seric# %sccs.include.redist.sh%
851225Seric#
964143Sericifdef(`LOCAL_MAILER_FLAGS',, `define(`LOCAL_MAILER_FLAGS', `rmn')')
1059765Sericifdef(`LOCAL_MAILER_PATH',, `define(`LOCAL_MAILER_PATH', /bin/mail)')
1163755Sericifdef(`LOCAL_MAILER_ARGS',, `define(`LOCAL_MAILER_ARGS', `mail -d $u')')
1263790Sericifdef(`LOCAL_SHELL_FLAGS',, `define(`LOCAL_SHELL_FLAGS', `eu')')
1359765Sericifdef(`LOCAL_SHELL_PATH',, `define(`LOCAL_SHELL_PATH', /bin/sh)')
1463790Sericifdef(`LOCAL_SHELL_ARGS',, `define(`LOCAL_SHELL_ARGS', `sh -c $u')')
1551225SericPOPDIVERT
1651225Seric
1751225Seric##################################################
1851225Seric###   Local and Program Mailer specification   ###
1951225Seric##################################################
2051225Seric
21*64749SericVERSIONID(`@(#)local.m4	8.5 (Berkeley) 10/23/93')
2251225Seric
23*64749SericMlocal,		P=LOCAL_MAILER_PATH, F=CONCAT(`lsDFM', LOCAL_MAILER_FLAGS), S=10, R=20/40,
2463755Seric		A=LOCAL_MAILER_ARGS
2563790SericMprog,		P=LOCAL_SHELL_PATH, F=CONCAT(`lsDFM', LOCAL_SHELL_FLAGS), S=10, R=20, D=$z:/,
2663790Seric		A=LOCAL_SHELL_ARGS
2751225Seric
2851225SericS10
2958500SericR<@>			$n			errors to mailer-daemon
30*64749SericR$+			$: $>40 $1
31*64749Seric
32*64749SericS20
33*64749SericR$+ < @ $* >		$: $1			strip host part
34*64749Seric
35*64749SericS40
3660264Sericifdef(`_ALWAYS_ADD_DOMAIN_',
3760264Seric`R$* < @ $* > $*		$@ $1 < @ $2 > $3	already fully qualified
3861103SericR$*			$: $1 @ $M		add local qualification
3961103SericR$* @			$: $1 @ $j		if $M not defined',
4060264Seric`dnl')
41