1NEWS2MAIL(8)              InterNetNews Documentation              NEWS2MAIL(8)
2
3
4

NAME

6       news2mail - Channel script to gateway news into e-mails
7

SYNOPSIS

9       news2mail
10

DESCRIPTION

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); news2mail expects the token of an
15       article followed by a sequence of list names.
16
17       news2mail uses the configuration file pathetc/news2mail.cf to map
18       mailing-list names to e-mail addresses.  news2mail causes sendmail to
19       queue the messages for later delivery (to avoid DOS attacks by mass
20       postings).  You must run "sendmail -q" periodically to get the queue
21       processed.
22

CONFIGURATION FILE

24       The configuration file format is simple:  comments (starting with a
25       hash sign "#") and blank lines are ignored.  All other lines have two
26       or three fields on them.  The first is the list name and is what innd
27       uses (i.e. the site field of the entry in the newsfeeds file).  The
28       second field is the actual e-mail address to send the article to.  The
29       third field is optional: it sets the envelope-from address (for
30       instance a list member's address; if not set, it defaults to the "news"
31       user).
32
33       In e-mail messages, the To: header will have the mailing-list address
34       (i.e. the second field).  Besides, news2mail strips most article
35       headers from the article before mailing.
36
37       In newsfeeds, the channel feed should look like:
38
39           news2mail!:!*:Ac,Tc,Wn*:<pathbin>/news2mail
40
41       and for each mailing-list, you only have to add to newsfeeds an entry
42       list like:
43
44           list-big-red-ants/lists.ucsd.edu:!*,rec.pets.red-ants:Ap,Tm:news2mail!
45
46       Please note the use of "Ap" and the exclusion of the list owner domain
47       to protect the list from feeding back new arrivals from the list.  The
48       site name used in the newfeeds entry for a mailing-list (above
49       "list-big-red-ants") must be the same as the first field in an entry in
50       news2mail.cf.  For instance:
51
52           # Newsfeeds-name      List-to-address                 [List-sender-address]
53           list-big-red-ants     big-red-ants@lists.ucsd.edu     news+big-red-ants@local.news.server.org
54

FILES

56       pathbin/news2mail
57           The Perl program itself used to gateway news into e-mails.
58
59       pathetc/news2mail.cf
60           The configuration file which specifies the mapping to use for
61           gatewaying.
62

BUGS

64       The news2mail program is set up as a funneled channel in newsfeeds,
65       implying multiple matches should be handled as one - and multiple
66       matching funneled feeds will result in a single call to the script.
67       Therefore, since only one mail is sent, crossposts are not currently
68       properly handled as for the envelope-from address (which then defaults
69       to the "news" user).
70

HISTORY

72       news2mail was written by Brian Kantor in 1998.  This man page was
73       written by James Brister and converted to POD by Julien Elie.  The
74       third optional field in news2mail.cf was added by D. Stussy in 2008.
75
76       $Id: news2mail.pod 8199 2008-11-30 13:30:47Z iulius $
77

SEE ALSO

79       innd(8), newsfeeds(5).
80
81
82
83INN 2.6.4                         2015-09-12                      NEWS2MAIL(8)
Impressum