Lisa Casey wrote:
> 
> I looked in /etc/mail/spamassassin/RulesDuJour and there is a
> different rules_du_jour which says at the top:
> 
> Version 1.28 Added SARE_STOCKS
> 
> Great! So I copied it over to /etc/local/sbin and ran it. I get:
> 
> [EMAIL PROTECTED] defang]$ /usr/local/sbin/rules_du_jour
> Curl version is 7.8 (Not 7.10 or greater).  Falling back to wget.
> mkdir: cannot create directory `/etc/spamassassin/RulesDuJour': No
> such file or directory
> /usr/local/sbin/rules_du_jour: cd: /etc/spamassassin/RulesDuJour: No
> such file or directory
> ***NOTICE***: Cannot write to /etc/spamassassin.  Are you running as
> the correct user?  No rulesets will be checked or updated.
> ***NOTICE***: Cannot write to /etc/spamassassin/RulesDuJour.  Are you
> running as the correct user?  No rulesets will be checked or updated.
> /usr/local/sbin/rules_du_jour:
> /etc/spamassassin/RulesDuJour/wget.log: No such file or directory
> exec: wget -N http://sandgnat.com/rdj/rules_du_jour >
> /etc/spamassassin/RulesDuJour/wget.log 2>&1
> cat: /etc/spamassassin/RulesDuJour/wget.log: No such file or directory
> wget_output:
> grep: /etc/spamassassin/RulesDuJour/wget.log: No such file or
> directory grep: /etc/spamassassin/RulesDuJour/wget.log: No such file
> or directory grep: /etc/spamassassin/RulesDuJour/wget.log: No such
> file or directory grep: /etc/spamassassin/RulesDuJour/wget.log: No
> such file or directory Performing preliminary lint (sanity check;
> does the CURRENT config lint?). can not
> chdir(/var/spool/clientmqueue/): No such file or directory 
> can not chdir(/var/spool/clientmqueue/): No such file or directory
> No files updated; No restart required.
> 
> 
> 
> 
> 
> Rules Du Jour Run Summary:RulesDuJour Run Summary on Raydeus-Dee:
> 
> ***NOTICE***: Cannot write to /etc/spamassassin.  Are you running as
> the correct user?  No rulesets will be checked or updated.
> 
> ***NOTICE***: Cannot write to /etc/spamassassin/RulesDuJour.  Are you
> running as the correct user?  No rulesets will be checked or updated.

Sounds like you need to add (or fix) a line in your RDJ config file:

    SA_DIR="/etc/mail/spamassassin";

It is currently looking in /etc/spamassassin for some reason.

-- 
Bowie

Reply via email to