##  $Revision: 1.10 $
##  newsfeeds - determine where Usenet articles get sent
##  Format:
##	site[/exclude,exclude...]\
##		:pattern,pattern...[/distrib,distrib...]\
##		:flag,flag...\
##		:param
##  Summary of flags:
##	<size		Article must be less then size bytes.
##	Ad		Article must have Distribution header.
##	Bhigh/low	Internal buffer size before writing to output.
##	H[count]	Article must have less then count hops; default is 1.
##	Isize		Internal buffer size (if a file feed)
##	Nm		Only moderated groups that match the patterns.
##	Nu		Only unmoderated groups that match the patterns.
##	Ssize		Start spooling if more than size bytes get queued.
##	Ttype		Feed types -- f (file) m (funnel; param names the
##			real entry) p (pipe to program) c (send to stdin
##			channel of param's sub-process); x (like c, but
##			handles commands on stdin).
##	Witems		What to write -- b (article bytesize) f (full path)
##			g (first newsgroup) h (history filename fields)
##			m (Message-ID) n (relative path) s (site that fed
##			article) * (names of funnel feed-in's or all sites
##			that get the article) N (Newsgroups header)
##			D (Distribution header).
##  Param field depends on T flag.  For Tf, relative paths are from the
##  out.going directory.  For Tp and Tc, it is a shell command to execute.
##  If a Tm refers to this entry (which will have its own T param) then "*"
##  is expanded to all the funnel sites that triggered this one.  Useful
##  for spawning one mail process, e.g.
##
##  This file is complicated -- see newsfeeds.5!

##  This is the local site.
##  The "pattern" field gives the intial subscription list for
##  all other sites.  You might want to put "!control,!junk,!<local>.*"
##  there.  The "distrib" subfield limits incoming articles.
ME\
	:!*/world,usa,na,gnu,bionet,pubnet,u3b,eunet,vmsnet,inet,ddn,\
	k12\
	::

# Feed all moderated source postings to an archiver
source-archive\
	:!*,comp.sources.*\
	:Tp,Nm:/usr/local/bin/archive %s

# Feed all local non-internal postings to nearnet
nic.near.net\
	:!junk/!foo\
	:Tc,Wmf:/usr/lib/news/bin/xmit-nic.near.net

# Capture all Foo, Incorporated, postings
capture\
	:*/foo\
	:Tp,H2:/usr/lib/news/capture %s

# A UUCP feed, where we try to keep the "batching" between 4 and 1K.
ihnp4\
	:!junk,!control/!foo\
	:Tf,Wfb,B4096/1024:
