SARE Rules & RulesDuJour

Menù di navigazione
  • Home
  • Contacts
HOME | Index |

SARE Rules & RulesDuJour

SARE rules & RulesDuJour

Intro

In this article we will see how to perform a custom installation of SARE rules. You can find those nice rules here: http://www.rulesemporium.com/rules.htm

This installation is properly set for our tutorial on Installing Spamassassin ClamAv and Mailscanner on Bluequartz ... So if you don't know what we're talkin' about go there and read carefully.

SARE is a repository constantly updated of Spamassassin rules. RulesDuJour is a beautiful script that can update the choosen rules for you via a crontab command.

Installation of RulesDuJour

First of all we must install the update script. The process is quite simple. As root type:

cd /bin
wget http://sandgnat.com/rdj/rules_du_jour
chmod 700 rules_du_jour

Then we must create a new directory:

mkdir /etc/rulesdujour
cd /etc/rulesdujour

Then we can create the config file:

pico config

In this file we put all the configuration options. Our file look like this:

TRUSTED_RULESETS="TRIPWIRE SARE_EVILNUMBERS0 SARE_RANDOM";
SA_DIR="/etc/mail/spamassassin";
SA_RESTART="/etc/init.d/MailScanner restart";

Now we can run our first RulesDuJour update:

/bin/rules_du_jour

This script will download the rules specified in TRUSTED_RULESETS config option in /etc/rulesdujour/config

To add the script to crontab just type:

pico /etc/crontab

And add the line:

00 23 * * * root /bin/rules_du_jour

That's done! RulesDuJour will update each date at 23:00 (pls choose another update time)

SARE

Now you must choose your SARE rules from their website and follow the instructions to add them to your TRUSTED_RULESETS config option.

Labs
  • CentOS + BlueQuartz
  • Installing Spamassassin ClamAv and Mailscanner on Bluequartz
  • SARE Rules & RulesDuJour
  • Installing MRTG
  • Mass Change IP
  • CCED problems
  • Deleting old logfiles
  • POP3 problems
  • Recalculate Quotas
  • How to block an IP address
  • NAMED and DNS
  • PHP
  • Enabling safe mode per-directory
  • Howto install php4 & php5 on Apache2
  • Linux
  • Automating Mysql backups
  • Restoring MySQL dumps
  • Replacing Text In Files
  • Firefox and flash on x86_64
  • Find user's files
  • Lines of code
  • Vsftp with virtual users
  • MSN
  • RandomCase

Home | Contacts | E.R.WEB Official Site