If you are using a version of the NAGS filter previous to v2.9, just wipe out all of your NAGS files and perform the installation from scratch.
In addition to downloading the new nags_filter.pl file, you may also wish to download the latest spammers and junkmailers file.
Previously all of the NAGS Filter files were located in the users home directory. Starting with NAGS v2.D, the default location will be in a directory called "nags" branching the users home directory.
For example, if your home directory is:
/home/i/ian
Then the NAGS files should all be stored in:
/home/i/ian/nags
In order to accomdate this, users who have previously installed the NAGS filter should do the following:
mv .forward forward
Add this line underneath it:
$home_dir="$home_dir/nags";
Locate the line that looks like...:
@ignores=('postmaster@', ...[more stuff here]... );
And change it so it reads:
@ignores=('postmaster@','localhost', ...[more stuff here]... );
Change it to read:
|/your/home/directory/nags/nags_filter.pl
mkdir nags
mv nags_config.pl nags
mv nags_filter.pl nags
mv spammers nags
mv exceptions nags
mv junkmailers nags
mv junkmail nags
mv mail-log nags
mv forward .forward