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're already carrying news.lists.filters or other newsgroups carrying NoCeM notices.
- You're using the
perl-nocem
script that comes with INN.
Steps
Fix perl-nocem (in /usr/bin/news, /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: pgpmoose@killfile.org:pgpmoose-forged-moderation
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 can be installed from here, and can be set up as so:
cd ~ wget http://www.killfile.org/~tskirvin/nocem/vlad.pgp gpg --import --keyring ~news/etc/ncmring.pgp --no-default-keyring vlad.pgp</pre>
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
).