Zion Ahead

Well-Known Member
Nov 10, 2006
347
0
166
I'm trying to setup some exim spam protection using the advice taken from cpanel's forum

A decent auto installer is located here, or you can check out their how to page here.

I also highly recommend Chirpy's MailScanner setup here, which includes it.
and
We use 70_sare_stocks from http://www.rulesemporium.com/rules.htm

If you implement Rules Du Jour it will make your life much easier! Highly recommended.
Problems:

[email protected] [/etc/cron.d]# sh installRDJ.pl
installRDJ.pl: line 32: use: command not found
installRDJ.pl: line 33: use: command not found
installRDJ.pl: line 35: my: command not found
installRDJ.pl: line 36: syntax error near unexpected token `('
installRDJ.pl: line 36: `my %configOptions = ();'

How do I install / apply the "rules" from http://www.rulesemporium.com/rules.htm also? Where do they go?

Is this a good idea too?

Spam+Virus Protection for cPanel server using
Exim+Exiscan+Clamav+RBL+Spamassassin+SARE+Razor+DCC

http://www.rvskin.com/index.php?page=public/antispam#1

Server Info...

Centos 4.4
Cpanel Stable Version
ClamAv / SpamAssasin / Mailman enabled (Boxtrapper disabled)
phpsuexec enabled
PHP 4.4.4 / MySQL 4.1

This is a shared environment with about 500 accounts (mostly reseller sub accounts)
 

mctDarren

Well-Known Member
Jan 6, 2004
665
4
168
New Jersey
cPanel Access Level
Root Administrator
.pl means its a perl script. Try
Code:
perl installRDJ.pl
However, if this is a production environment I would definitely recommend hiring someone to do it, or least walk you through it. 500 accounts suddenly losing email is never a good thing!
 
Last edited:

Zion Ahead

Well-Known Member
Nov 10, 2006
347
0
166
[email protected] [/etc/cron.d]# ./installRDJ.pl --install
-bash: ./installRDJ.pl: Permission denied
[email protected] [/etc/cron.d]# perl installRDJ.pl --install
[CHECK] Checking Vars to avoid error
+ /etc/spamassassin Exist: FAILED
+ /usr/bin/wget Exists: OK
+ /etc/init.d/spamassassin Exists: FAILED

[FAILURE] There was a failure before installation
+ SpamAssassin Dir "/etc/spamassassin" doesn't exists
+ Command "/etc/init.d/spamassassin" doesn't exists
 

mctDarren

Well-Known Member
Jan 6, 2004
665
4
168
New Jersey
cPanel Access Level
Root Administrator
With that script you can tell it where the SA directory is using directive sa_dir=location at the command line.
Code:
perl installRDJ.pl -sa_dir=/path/to/SA
I still recommend checking out Chirpy's MailScanner over this version though. That script was written mostly for Plesk users, so if you don't know what you're doing you're on your own!
 

ramprage

Well-Known Member
Jul 21, 2002
655
0
166
Canada
If you are not sure how to execute a .pl file definately hire someone, your clients will appreciate a professional mail filtering setup and service that actually works.
 

katmai

Well-Known Member
Mar 13, 2006
564
3
168
Brno, Czech Republic
i have nothing against hiring, but yet, in my opinion if you are used to do all this by yourself, you can give it a go, and if you see that you are stucked on something, definitely hire someone professional to do it.

i mean ... the worst you can do is have mail down for 15 30 minutes ? then if you see it's not working just reset exim to defaults and hire the man to do it.

i have my vote on chirpy too.