1db90c362SericPUSHDIVERT(-1) 2db90c362Seric# 3db90c362Seric# Copyright (c) 1983 Eric P. Allman 4e469d1a2Sbostic# Copyright (c) 1988, 1993 5e469d1a2Sbostic# The Regents of the University of California. All rights reserved. 6db90c362Seric# 7db90c362Seric# %sccs.include.redist.sh% 8db90c362Seric# 92ea2a9a9Sericifdef(`LOCAL_MAILER_FLAGS',, `define(`LOCAL_MAILER_FLAGS', `rmn')') 101e50bdd0Sericifdef(`LOCAL_MAILER_PATH',, `define(`LOCAL_MAILER_PATH', /bin/mail)') 113b42c66eSericifdef(`LOCAL_MAILER_ARGS',, `define(`LOCAL_MAILER_ARGS', `mail -d $u')') 12335a91f8Sericifdef(`LOCAL_SHELL_FLAGS',, `define(`LOCAL_SHELL_FLAGS', `eu')') 131e50bdd0Sericifdef(`LOCAL_SHELL_PATH',, `define(`LOCAL_SHELL_PATH', /bin/sh)') 14335a91f8Sericifdef(`LOCAL_SHELL_ARGS',, `define(`LOCAL_SHELL_ARGS', `sh -c $u')') 1521b77bd7Sericifdef(`LOCAL_SHELL_DIR',, `define(`LOCAL_SHELL_DIR', `$z:/')') 16db90c362SericPOPDIVERT 17db90c362Seric 18db90c362Seric################################################## 19db90c362Seric### Local and Program Mailer specification ### 20db90c362Seric################################################## 21db90c362Seric 22*68f2ff13SericVERSIONID(`@(#)local.m4 8.15 (Berkeley) 04/26/95') 23db90c362Seric 24*68f2ff13SericMlocal, P=LOCAL_MAILER_PATH, F=CONCAT(`lsDFMAw5:/|@', LOCAL_MAILER_FLAGS), S=10, R=20/40, 25*68f2ff13Seric _OPTINS(`LOCAL_MAILER_MAX', `M=', `, ')_OPTINS(`LOCAL_MAILER_CHARSET', `C=', `, ')T=DNS/RFC822/X-Unix, 26*68f2ff13Seric A=LOCAL_MAILER_ARGS 27*68f2ff13SericMprog, P=LOCAL_SHELL_PATH, F=CONCAT(`lsDFMo', LOCAL_SHELL_FLAGS), S=10, R=20/40, D=LOCAL_SHELL_DIR 28*68f2ff13Seric _OPTINS(`LOCAL_MAILER_MAX', `M=', `, ')T=X-Unix, 29*68f2ff13Seric A=LOCAL_SHELL_ARGS 30db90c362Seric 31db90c362SericS10 3209852d00SericR<@> $n errors to mailer-daemon 33a36f19fdSericR$+ $: $>40 $1 34a36f19fdSeric 35a36f19fdSericS20 36a36f19fdSericR$+ < @ $* > $: $1 strip host part 37a36f19fdSeric 38a36f19fdSericS40 39a3913989Sericifdef(`_ALWAYS_ADD_DOMAIN_', 40a3913989Seric`R$* < @ $* > $* $@ $1 < @ $2 > $3 already fully qualified 4190e5924aSericR$* $: $1 @ $M add local qualification 4290e5924aSericR$* @ $: $1 @ $j if $M not defined', 43a3913989Seric`dnl') 44