----- Original Message ----- 
From: "Jim Sabatke" <[EMAIL PROTECTED]>
To: "Spamassassin" <users@spamassassin.apache.org>
Sent: Wednesday, September 08, 2004 7:21 PM
Subject: Re: rules_du_jour


> John Fleming wrote:
> > I've been manually updating 8-9 rulesets every couple of months and,
with
> > Bayes, get great results.  Now I'd like to use rules_du_jour.
rules_du_jour
> > is in /root/bin, and perms executable as suggested.  I've also made the
> > appropriate /etc/rulesdujour/config file.
> >
> > However, when I try to run it, I get:
> >
> > Luke:~/bin# ./rules_du_jour
> > : bad interpreter: No such file or directory
> > Luke:~/bin#
> >
> > However, the file is certainly there!
> >
> > Uhhhhh, I'm pretty new to Linux - What's wrong here?  A little while
back I
> > noticed I lost the bash "mail" command - Is that related, i.e. do I have
a
> > bad bash??
> >
> > Thanks - John
> >
> >
> >
> >
> >
>
> 1. Did you change the first line of rules_du_jour??

Er, NO! (painful)  So what's the correct first line?  (/bin/bash is my shell
path; I assume I need the "!")  I uncommented the first line and then ran
the script.  I got an initial error !/bin/bash: No such file or directory.
There were a few more errors, -BUT- then the script ran and retrieved some
updates.  It restarted spamassassin, and then tried to email root.
(However, as mentioned before, I've lost my "mail" command somehow so it
gave an error there.)

Any more duhs I'm missing??  Tnx - John

P.S.  If you know how to get my mail command back, I obviously would like to
know that too!  It used to be there, and I have no idea why it disappeared!





Reply via email to