SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free.
Razor
Credits
Various bits of code, scripts, and procedures were put together with information from John Simpson's qmail.jms1.net website. It's an excellent resource on managing and setting up a Qmail server.
Installation
Install the prerequisite Perl modules:
perl -MCPAN -e shell
install Time::HiRes
install Digest::SHA1
install MIME::Base64
install Test::Simple
install Test::Harness
install Getopt::Long
install File::Copy
install URI::Escape
exit
Download the latest version of the Razor agents:
cd /extra/src/
wget http://easynews.dl.sourceforge.net/sourceforge/razor/razor-agents-2.84.tar.bz2
tar -jxvf razor-agents-2.84.tar.bz2
cd razor-agents-2.84
Build and install the programs:
perl Makefile.PL
make
make test
make install
Make a directory to hold the configuration files and then create a default config:
mkdir /etc/mail/spamassassin/.razor
razor-admin -home=/etc/mail/spamassassin/.razor/ -create
Razor v2 requires reporters to be registered so their reputations can be computed over time and they can participate in the revocation mechanism. You can have a username and password automatically assigned (details will be saved in /etc/mail/spamassassin/.razor//identity-rui_6F7ubn
) during registration with:
razor-admin -home=/etc/mail/spamassassin/.razor/ -register
Download a list of Razor servers:
razor-admin -home=/etc/mail/spamassassin/.razor/ -discover
Edit /etc/mail/spamassassin/v310.pre
and uncomment the Razor2 plugin line:
loadplugin Mail::SpamAssassin::Plugin::Razor2
Edit the Razor agent config file, /etc/mail/spamassassin/.razor/razor-agent.conf
, and add the config directory
razorhome = /etc/mail/spamassassin/.razor/
Then edit SpamAssassin's config file /etc/mail/spamassassin/local.cf
and tell it where the Razor config directory is:
razor_config /etc/mail/spamassassin/.razor/razor-agent.conf
Restart SpamAssassin:
svc -t /service/spamd
- Log in to post comments