Rules du jour script doest seem to be working right

Johnny Stork stork at openenterprise.ca
Mon Aug 21 21:03:42 IST 2006


Of course....me dummy....keep forgetting about that. Ok, now do I also need to change any rule path settings in SA, if I have RDJ putting the rule files into /etc/mail/spamassassin/RuleDuJour ? My rules path is /etc/mail/spamassassin

-----Original Message-----
From: Daniel Maher [mailto:daniel.maher at ubisoft.com] 
Sent: Monday, August 21, 2006 12:43 PM
To: MailScanner discussion
Subject: RE: Rules du jour script doest seem to be working right

Are you editing the file using a Windows text editor (such as Notepad), and then uploading it to your Linux server?  If so - this is likely your problem.  Windows adds end-of-line characters to text files that Linux doesn't like - and it causes problems like this

The solution, of course, is to edit it in Linux, or use a proper editor.  Just a thought!

--
  _
 °v°  Daniel Maher
/(_)\ Administrateur Système Unix
 ^ ^  Unix System Administrator
 
Sentio aliquos togatos contra me conspirare.
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner- 
> bounces at lists.mailscanner.info] On Behalf Of Johnny Stork
> Sent: August 21, 2006 3:29 PM
> To: mailscanner
> Subject: Rules du jour script doest seem to be working right
> 
> 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!
> 
> --
> 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!
--
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