(For best results upgrade to DNews 5.4c4 as that version contains some nocem bug fixes.)
This step is only necessary if you have not put 'pgp' into your path.
pgp c:\app\pgp\pgp.exe
You may also need to define pgppath to point to the 'news' users keyring, e.g. (the path should match the home directory of 'news' in /etc/passwd)
pgppath /var/spool/news/.pgp
Transfer the file ftp://ftp.netwinsite.com/pub/dnews/nocemkys.txt
This file is a list of the most common nocem posters keys, for the most up to date keys
see the nocem home page: http://www.cm.org/
Add the keys to your keyring, something like this with pgp 2.6
pgp -ka nocemkys.txt
copy ftp://ftp.netwinsite.com/pub/dnews/nocem.conf d:\dnews\nocem.conf (typically)
Modify nocem.conf, put '*' and 'yes' next to the NoCem posters you want applied to your system, you can find out details of each of their cancelling policies from the nocem registry http://www.cm.org/
In DNEWS.CONF add "nocem true"
Add this line to dnews.conf, which can be found in \winnt\system32\dnews.conf or \etc\dnews.conf
nocem true
By default DNews processes all nocem messages in the newsgroups "news.lists.filters,alt.nocem.misc" you can specify which groups to scan by defining nocem_groups in dnews.conf, e.g.
nocem_groups news.lists.filters,alt.nocem.misc,alt.nocem.test
If you are also using other filtering methods you will need to stop those other filters from blocking the nocem news groups. e.g.
spam_allowgroups "news.lists.filters,alt.nocem.misc"
Test the system
First resetart DNews, then download ftp://ftp.netwinsite.com/pub/dnews/nocem.txt
tellnews test_nocem d:\nocem.txt 200 trek DNews Version 5.1a-beta1, S0, posting OK Accepted NoCem message, see dnews.log 281 Completed 205 closing connection - goodbye!
You may also be interested in rules based filtering or external filter support.
Format: Originator <tab> type <tab> yes/no
This file lists the originator of each nocem message, the type of message they are sending, and wether or not to action that type of message. For example the originator 'annihilator-1' may send nocem messages for 'binaries' and for 'spam' and you may choose to only action his messages that delete 'spam', e.g.
annihilator-1 spam yes
annihilator-1 binaries no
The classifications 'spam,binaries' are defined by the person who sends those nocem messages, DNews logs them so you can see the various types as messages come in.
You can use an asterix to indicate any type is acceptable, e.g.
annihilator-1 * yes