1PERL-NOCEM(8) InterNetNews Documentation PERL-NOCEM(8)
2
3
4
6 perl-nocem - A NoCeM-on-spool implementation for INN 2.x
7
9 perl-nocem
10
12 NoCeM, which is pronounced No See 'Em, is a protocol enabling
13 authenticated third-parties to issue notices which can be used to
14 cancel unwanted articles (like spam and articles in moderated
15 newsgroups which were not approved by their moderators). It can also
16 be used by readers as a third-party killfile. It is intended to
17 eventually replace the protocol for third-party cancel messages.
18
19 perl-nocem processes third-party, PGP-signed article cancellation
20 notices. It is possible not to honour all NoCeM notices but only those
21 which are sent by people whom you trust (that is to say if you trust
22 the PGP key they use to sign their NoCeM notices). Indeed, it is up to
23 you to decide whether you wish to honour their notices, depending on
24 the criteria they use.
25
26 Processing NoCeM notices is easy to set up:
27
28 1. Import the keys of the NoCeM issuers you trust in order to check
29 the authenticity of their notices. You can do:
30
31 gpg --no-default-keyring --primary-keyring <pathetc>/pgp/ncmring.gpg --import <key-file>
32
33 where <pathetc> is the value of the pathetc parameter set in
34 inn.conf and <key-file> the file containing the key(s) to import.
35 The keyring must be located in <pathetc>/pgp/ncmring.gpg; you only
36 have to create the directory <pathetc>/pgp before using gpg (it
37 will automatically generate the ncmring.gpg file). For old PGP-
38 generated keys, you may have to use --allow-non-selfsigned-uid if
39 they are not properly self-signed, but anyone creating a key really
40 should self-sign the key. Current PGP implementations do this
41 automatically.
42
43 The keys of NoCeM issuers can be found in the web site of The NoCeM
44 Registry: <http://www.xs4all.nl/~rosalind/nocemreg/nocemreg.html>.
45 You can even download there a unique file which contains all the
46 keys.
47
48 2. Create a nocem.ctl config file in pathetc indicating the NoCeM
49 issuers and notices you want to follow. This permission file
50 contains lines like:
51
52 bleachbot@httrack.com:spam,site
53 pgpmoose@killfile.org:pgpmoose-forged-moderation
54
55 This will remove all articles for which the issuer (first part of
56 the line, before the colon ":") has issued NoCeM notices
57 corresponding to the criteria specified after the colon.
58
59 You will also find information about that on the web site of The
60 NoCeM Registry.
61
62 3. Add to the newsfeeds file an entry like this one in order to feed
63 perl-nocem the NoCeM notices posted to alt.nocem.misc and
64 news.lists.filters:
65
66 nocem!\
67 :!*,alt.nocem.misc,news.lists.filters\
68 :Tc,Wf,Ap:<pathbin>/perl-nocem
69
70 with the correct path to perl-nocem, located in <pathbin>. Then,
71 reload the newsfeeds file ("ctlinnd reload newsfeeds 'NoCeM channel
72 feed'").
73
74 Note that you should at least carry news.lists.filters on your news
75 server (or other newsgroups where NoCeM notices are sent) if you
76 wish to process them.
77
78 4. Everything should now work. However, do not hesitate to manually
79 test perl-nocem with a NoCeM notice, using:
80
81 grephistory '<Message-ID>' | perl-nocem
82
83 Indeed, perl-nocem expects tokens on its standard input, and
84 grephistory can easily give it the token of a known article, thanks
85 to its Message-ID.
86
87 When you have verified that everything works, you can eventually turn
88 off regular spam cancels, if you want, not processing any longer
89 cancels containing "cyberspam" in the Path: header (see the
90 refusecybercancels parameter in inn.conf).
91
93 pathbin/perl-nocem
94 The Perl script itself used to process NoCeM notices.
95
96 pathetc/nocem.ctl
97 The configuration file which specifies the NoCeM notices to be
98 processed.
99
100 pathetc/pgp/ncmring.gpg
101 The keyring which contains the public keys of trusted NoCeM
102 issuers.
103
105 The Subject: header is not checked for the @@NCM string and there is no
106 check for the presence of the References: header.
107
108 The Newsgroups: pseudo header is not checked, but this can be done in
109 local_want_cancel_id().
110
111 The Hierarchies: header is ignored.
112
114 Copyright 2000 by Miquel van Smoorenburg <miquels@cistron.nl>.
115
116 Copyright 2001 by Marco d'Itri <md@linux.it>.
117
118 $Id: perl-nocem.in 8539 2009-06-28 10:01:24Z iulius $
119
121 gpgv(1), grephistory(1), inn.conf(5), newsfeeds(5), pgp(1).
122
123
124
125INN 2.5.2 2009-08-16 PERL-NOCEM(8)