Archive for the ‘Spam Assassin’ Category

How to send a sample spam mail to test SpamAssassin :: GTUBE

January 15, 2008

I’m sure most of you know this already – well – this is for the rest 🙂

You can use GTUBE — the Generic Test for Unsolicited Bulk Email to ’emulate’ a spam
You just have to add the string mentioned at http://spamassassin.apache.org/gtube/ in the message body of your email and Spamassassin will consider it as a spam.

Why doesn’t SpamAssassin work in cPanel 11?

September 4, 2007

Source: cPAnel FAQ.
—————————

Make sure that you are using Perl 5.8.8 which is recommended with cPanel 11.

Prior to upgrading Perl, it is a good idea to ensure that each module gets carried over to the update Perl version using the “autobundle” CPAN feature. You will need to execute this command via root in SSH:

perl -MCPAN -e ‘autobundle’

Once this is complete, you should have the the following outputted before returning to the shell:

‘Wrote bundle file /home/.cpan/Bundle/Snapshot_2007_08_16_00.pm’

Make a note of the filename before proceeding with the update.

– To update to Perl 5.8.8 on Linux based servers:

cd /root
wget http://layer1.cpanel.net/perl588installer.tar.gz
tar -zxf perl588installer.tar.gz
cd perl588installer
./install

– To update to Perl 5.8.8 on FreeBSD based servers:

cd /usr/ports/lang/perl5
make && make install

Once the update is complete, you can restore all the previously installed modules from the CPAN bundle that was created by executing:

perl -MCPAN -e ‘install Bundle::Snapshot_2007_08_16_00’

Make sure that you replace the bundle name with the one that was generated earlier.

We should now make sure that all modules required by cPanel 11 are installed and restart cPanel:

/usr/local/cpanel/bin/checkperlmodules
/usr/local/cpanel/startup