usenet.m4 revision 64562
1104483SsamPUSHDIVERT(-1)
2104483Ssam#
3104483Ssam# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
4104483Ssam#	All rights reserved.
5112127Ssam# Copyright (c) 1983 Eric P. Allman.  All rights reserved.
6104483Ssam# Copyright (c) 1988, 1993
7167755Ssam#	The Regents of the University of California.  All rights reserved.
8104483Ssam#
9151350Syar# By using this file, you agree to the terms and conditions set
10112127Ssam# forth in the LICENSE file which can be found at the top level of
11182668Simp# the sendmail distribution.
12151350Syar#
13112127Ssam#
14104483Ssam
15ifdef(`_MAILER_local_', `',
16	`errprint(`*** MAILER(`local') must appear before MAILER(`usenet')')')dnl
17
18ifdef(`USENET_MAILER_PATH',, `define(`USENET_MAILER_PATH', /usr/lib/news/inews)')
19_DEFIFNOT(`USENET_MAILER_FLAGS', `rsDFMmn')
20ifdef(`USENET_MAILER_ARGS',, `define(`USENET_MAILER_ARGS', `inews -m -h -n')')
21POPDIVERT
22####################################
23###  USENET Mailer specification ###
24####################################
25
26VERSIONID(`$Id: usenet.m4,v 8.19 1999/11/16 03:33:04 gshapiro Exp $')
27
28Musenet,	P=USENET_MAILER_PATH, F=_MODMF_(USENET_MAILER_FLAGS, `USENET'), S=EnvFromL, R=EnvToL,
29		_OPTINS(`USENET_MAILER_MAX', `M=', `, ')T=X-Usenet/X-Usenet/X-Unix,
30		A=USENET_MAILER_ARGS $u
31