Configuring INN For NoCeM
The following steps are necessary to set up a standard Linux bos running INN 2.4.x to use NoCeM messages.
Assumptions
- INN has been set up roughly as specified here
- You may also use encap to configure this, using these package format files: inn-2.4.1a.ep, inn-2.4.2.ep
- You're already carrying news.lists.filters or other newsgroups carrying NoCeM notices.
- You're using the
perl-nocemscript that comes with INN.
Steps
- Fix perl-nocem (in /usr/local/bin/, /usr/local/news/bin/, or
equivalent) to remove some warnings and to not use Sys::Syslog
(which is currently broken for Linux). A diff is available
here.
- This is no longer necessary with devel versions of INN, as of September 2006.
- Create a nocem.ctl file in news/etc, which contains the lines
indicating which issuers you want to follow. A registry of
possible issuers is here.
- A sample line:
clewis@ferret:mmf,spam
This will remove all articles that Chris Lewis has issued NoCeM notices for that are either make-money-fast scams (mmf) or spam. - To use this with Tim's pgpmoose filters, use this:
pgpmoose@killfile.org:pgpmoose-forged-moderation
- A sample line:
- Create the proper GPG keyring:
mkdir -p ~news/etc/pgp; cd ~news/etc/pgp touch ncmring.gpg
- Import the proper GPG keys. A registry of
keys is here.
- The key for Tim's pgpmoose filters is here, and can be set up with:
cd ~ wget http://www.killfile.org/~tskirvin/nocem/vlad.pgp gpg --import --keyring ~news/etc/ncmring.pgp --no-default-keyring vlad.pgp
- The key for Tim's pgpmoose filters is here, and can be set up with:
- Add the following lines to your newsfeeds file (adjusting for the
location of the perl-nocem script):
nocem:!*,alt.nocem.misc,news.lists.filters\ :Tc,Wf,Ap:/usr/local/bin/perl-nocem
- Restart INN (or at least 'ctlinnd reload newsfeeds new NoCeM config').