The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

need rbl / spam help

Discussion in 'General Discussion' started by Zion Ahead, Nov 27, 2006.

  1. Zion Ahead

    Zion Ahead Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    I'm trying to setup some exim spam protection using the advice taken from cpanel's forum

    and
    Problems:

    root@server [/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)
     
  2. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    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!
     
    #2 mctDarren, Nov 27, 2006
    Last edited: Nov 27, 2006
  3. Zion Ahead

    Zion Ahead Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    root@server [/etc/cron.d]# ./installRDJ.pl --install
    -bash: ./installRDJ.pl: Permission denied
    root@server [/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
     
  4. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    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!
     
  5. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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.
     
  6. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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.
     
Loading...

Share This Page