Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We're currently migrating our mail from a manually administered RHEL box to a CPanel box, which I'm so excited about I will probably weep a little when it finally happens.

As part of the migration, I would love for clients to see an immediate spam reduction as spam has been a bit of a bug bear on our current server. We already run rbls, which will continue on our new server, but as it's a fresh install without any pre-learned rules, I'm hoping there's resources out there to 'prime' spamassassin somehow with a list of common blocked IP's and blocked phrases for example, so it's ready to start blocking immediately.

Anyone know of any resources like this? Or does a fresh SpamAssassin install already have ample initial rules in place?

share|improve this question
You are excited about moving to a cPanel-managed box? There must be something wrong with you...cPanel is a world of hurt and nothing more. If you do use cPanel, don't expect to get much help here, as cPanel and most other GUI control panels are viewed as abominations and wholly counter to good sysadmin practices. – EEAA Apr 29 '13 at 0:48
Interestingly, one of the reasons we're moving is because we've used multiple server admin companies, and whenever we've had any issues they can't resolve (which is a lot), they've said "you would be much better off with a cpanel server". We don't have the resources for a full time sysadmin, which is pretty much what you need if you don't use a control panel. – Tom McQuarrie Apr 29 '13 at 6:46

Did you have SpamAssassin installed on your old server? If so you can issue the commands
On old server: sa-learn --backup >
After you copy to new server
On new server: sa-learn --restore ./

If you are looking for a spam database to add to your server one suggestion is to install Razor. You did not specify what operating system you are using but here are the general instructions: From
Install Perl modules from CPAN

Download the latest version of Razor
Untar an cd into directory Untar the razor-agents tarball and run:

perl Makefile.PL
make test
sudo make install

To create default config sudo razor-admin -create

Razor v2 requires reporters to be registered so their reputations can be computed over time and they can participate in the revocation mechanism. Registration is done with razor-admin -register. It has to be manually invoked in either of the following ways:

To register user foo with `s1kret' as password:

        razor-admin -register -user=foo -pass=s1kr3t

To register with an email address and have the password assigned:

        razor-admin -register

To have both (random) username and password assigned:

        razor-admin -register
share|improve this answer
We do have SpamAssassin running, but not very effectively. It's only available globally, not on a per user basis, and isn't set to self learn. – Tom McQuarrie Apr 29 '13 at 6:47
So you are looking for a spam database? I will edit my answer. – joebl86 Apr 29 '13 at 14:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.