usenet.m4 revision 112810
1104483SsamPUSHDIVERT(-1)
2104483Ssam#
3104483Ssam# Copyright (c) 1998-2000, 2003 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(`USENET_MAILER_PATH',, `define(`USENET_MAILER_PATH', /usr/lib/news/inews)')
16_DEFIFNOT(`USENET_MAILER_FLAGS', `rsDFMmn')
17ifdef(`USENET_MAILER_ARGS',, `define(`USENET_MAILER_ARGS', `inews -m -h -n')')
18define(`_USENET_QGRP', `ifelse(defn(`USENET_MAILER_QGRP'),`',`', ` Q=USENET_MAILER_QGRP,')')dnl
19POPDIVERT
20####################################
21###  USENET Mailer specification ###
22####################################
23
24VERSIONID(`$Id: usenet.m4,v 8.21.4.1 2003/03/03 22:53:03 ca Exp $')
25
26Musenet,	P=USENET_MAILER_PATH, F=_MODMF_(USENET_MAILER_FLAGS, `USENET'), S=EnvFromL, R=EnvToL,
27		_OPTINS(`USENET_MAILER_MAX', `M=', `, ')T=X-Usenet/X-Usenet/X-Unix,_USENET_QGRP
28		A=USENET_MAILER_ARGS $u
29