1NEWS2MAIL(8) System Manager's Manual NEWS2MAIL(8)
2
3
4
6 news2mail - a channel script to gateway news into email.
7
9 news2mail
10
12 news2mail runs as a channel process underneath innd. It is set up as
13 channel feed in newsfeeds, with different mailing lists as funnel
14 entries pointing to it (see below).
15
16 news2mail uses a config file
17
18 <pathetc in inn.conf>/news2mail.cf
19
20 to map mailing list names to email addresses.
21
22 news2mail causes sendmail to queue the messages for later delivery (to
23 avoid DOS attacks by mass postings). You must run 'sendmail -q' periodā
24 ically to get the queue processed.
25
27 The config file format is simple: comments (start with ``#'') and blank
28 lines are ignored. All other lines have two fields on them. The first
29 is the list name and is what innd uses (i.e. the site field of the
30 entry in the newsfeeds file). The second field is the actual email
31 address to send the article to. In the email message, the ``To'' header
32 will have the mailing list name (i.e. the first field).
33
34 # list-name address
35 big-red-ants@ucsd.edu big-red-ants-digest@ucsd.edu
36 news-software@ucsd.edu news-software-digest@ucsd.edu
37
38 a set of newsfeeds entries for these lists would be:
39
40 n2m!:!*:Tc,Ac,Wn*:<pathbin in inn.conf>/news2mail
41
42 big-red-ants@ucsd.edu:rec.pets.redants.*:Tm:n2m!
43
44 news-software@ucsd.edu:news.software.nntp:Tm:n2m!
45
46 news2mail strips most article headers from the article before mailing.
47 It leaves: From, Subject Date, Organization and Message-ID in there. It
48 add a To header with the mailing list name in it.
49
51 news2mail was written by Brian Kantor. This man page was written by
52 James Brister. This is revision 5909, dated 2002-12-03.
53
55 ctlinnd(8), inn.conf(5), innd(8), newsfeeds(5), shlock(1).
56
57
58
59
60 NEWS2MAIL(8)