Rules du jour script doest seem to be working right

Johnny Stork stork at openenterprise.ca
Mon Aug 21 20:28:56 IST 2006


Thanks to everyone that sent me the script.

I don’t think I have things setup correctly? I went through the docs in the script, created a basic /etc/rulesdujour/config file and editing the various variables, but this is what I get when I run it?



: command not foundnfig: line 3: 
: command not foundnfig: line 3: 
mkdir: cannot create directory `/etc/mail/spamassassin\r/RulesDuJour': No such file or directory
/RulesDuJour: No such file or directory78: cd: /etc/mail/spamassassin
.  Are you running as the correct user?  No rulesets will be checked or updated.
/RulesDuJour.  Are you running as the correct user?  No rulesets will be checked or updated.
/RulesDuJour/rules_du_jour http://sandgnat.com/rdj/rules_du_jour 2>&1assassin
curl_output: 200
Performing preliminary lint (sanity check; does the CURRENT config lint?).
No files updated; No restart required.



/etc/rulesdujour/config contents:

SA_DIR="/etc/mail/spamassassin"
MAIL_ADDRESS="root"
SINGLE_EMAIL_ONLY="true";
# SA_RESTART="/etc/init.d/spamassassin restart"
TRUSTED_RULESETS="
        TRIPWIRE
        ANTIDRUG
        SARE_EVILNUMBERS0
        RANDOMVAL
        SARE_ADULT
        SARE_FRAUD
        SARE_BML
        SARE_SPOOF
        SARE_BAYES_POISON_NXM
        SARE_OEM
        SARE_RANDOM
        SARE_OBFU0
        SARE_SPAMCOP_TOP200
        "
 

CentOS 4.3
Mailscanner 4.55.9
SA 3.1.2

-----Original Message-----
From: jfagan at firstlightnetworks.com [mailto:jfagan at firstlightnetworks.com] 
Sent: Monday, August 21, 2006 11:12 AM
To: MailScanner discussion
Subject: RE: Rules du jour script is gone?


> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of 
> Johnny Stork
> Sent: Monday, August 21, 2006 10:52 AM
> To: mailscanner
> Subject: Rules du jour script is gone?
> 
> Does anyone have a recent copy of the rdj bash script they can send 
> me? The download link below appears to be gone?
> 
> Thanks
> 
> 
> http://sandgnat.com/rdj/rules_du_jour
> 
> ---------------------------------------------
> Johnny Stork
> Open Enterprise Solutions
> 
> http://www.openenterprise.ca (Linux & Open Source Business
> Technology) http://www.dreamscapemedia.ca (Photography &
> Media) http://www.mountainlinux.ca (Linux Users Group)
> 
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> 
> Before posting, read http://wiki.mailscanner.info/posting
> 
> Support MailScanner development - buy the book off the website! 
> 

Here is the one I have been using.

wget http://fear.jfworks.net/linux/rules_du_jour


James
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list