xref: /freebsd/contrib/sendmail/cf/mailer/usenet.m4 (revision 41466b50c1d5bfd1cf6adaae547a579a75d7c04e)
1PUSHDIVERT(-1)
2#
3# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
4#	All rights reserved.
5# Copyright (c) 1983 Eric P. Allman.  All rights reserved.
6# Copyright (c) 1988, 1993
7#	The Regents of the University of California.  All rights reserved.
8#
9# By using this file, you agree to the terms and conditions set
10# forth in the LICENSE file which can be found at the top level of
11# the sendmail distribution.
12#
13#
14
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