Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2005
    Location
    Atlanta, GA
    Posts
    107

    Can Anyone Help With RulesDuJour?

    Hi:

    I'm hoping someone has been thru this. We have spent hours looking for an answer.

    We have setup RulesDuJour to update our SpamAssassin rules and it downloads the rules OK but then returns this:

    ***WARNING***: spamassassin --lint failed.
    Rolling configuration files back, not restarting SpamAssassin.
    Rollback command is: mv -f /etc/mail/spamassassin/tripwire.cf /etc/mail/spamassassin/RulesDuJour/99_FVGT_Tripwire.cf.2; mv -f /etc/mail/spamassassin/RulesDuJour/tripwire.cf.20050629-1536 /etc/mail/spamassassin/tripwire.cf; mv -f /etc/mail/spamassassin/70_sc_top200.cf /etc/mail/spamassassin/RulesDuJour/70_sc_top200.cf.2; rm -f /etc/mail/spamassassin/70_sc_top200.cf; mv -f /etc/mail/spamassassin/bogus-virus-warnings.cf /etc/mail/spamassassin/RulesDuJour/bogus-virus-warnings.cf.2; mv -f /etc/mail/spamassassin/RulesDuJour/bogus-virus-warnings.cf.20050629-1536 /etc/mail/spamassassin/bogus-virus-warnings.cf; mv -f /etc/mail/spamassassin/70_sare_evilnum1.cf /etc/mail/spamassassin/RulesDuJour/70_sare_evilnum1.cf.2; rm -f /etc/mail/spamassassin/70_sare_evilnum1.cf; mv -f /etc/mail/spamassassin/70_sare_evilnum2.cf /etc/mail/spamassassin/RulesDuJour/70_sare_evilnum2.cf.2; rm -f /etc/mail/spamassassin/70_sare_evilnum2.cf; mv -f /etc/mail/spamassassin/99_sare_fraud_pre25x.cf /etc/mail/spamassassin/RulesDuJour/99_sare_fraud_pre25x.cf.2; rm -f /etc/mail/spamassassin/99_sare_fraud_pre25x.cf; mv -f /etc/mail/spamassassin/70_sare_obfu0.cf /etc/mail/spamassassin/RulesDuJour/70_sare_obfu0.cf.2; rm -f /etc/mail/spamassassin/70_sare_obfu0.cf; mv -f /etc/mail/spamassassin/70_sare_obfu1.cf /etc/mail/spamassassin/RulesDuJour/70_sare_obfu1.cf.2; rm -f /etc/mail/spamassassin/70_sare_obfu1.cf; mv -f /etc/mail/spamassassin/70_sare_uri0.cf /etc/mail/spamassassin/RulesDuJour/70_sare_uri0.cf.2; rm -f /etc/mail/spamassassin/70_sare_uri0.cf; mv -f /etc/mail/spamassassin/70_sare_uri1.cf /etc/mail/spamassassin/RulesDuJour/70_sare_uri1.cf.2; rm -f /etc/mail/spamassassin/70_sare_uri1.cf;

    Lint output: ./rules_du_jour: spamassassin: command not found

    Anybody have any insight that can help us here?
    TheBuzzard

  2. #2
    Join Date
    Dec 2003
    Location
    Sunny So. Calif.
    Posts
    204
    The error you are getting:
    Lint output: ./rules_du_jour: spamassassin: command not found
    sounds like the rules_du_jour script can't locate the spamassassin file.

    You may want to make sure that the path to spamassassin (as referenced in the rules_du_jour script) is correct, meaning that the standard script assumes your spamassassin is located in:

    /etc/init.d/spamassassin

    but check all the paths in the file just to be sure....

    <snip>
    [ "${SA_DIR}" ] || SA_DIR="/etc/mail/spamassassin"; # Change this to your SA local config
    # directory, probably /etc/mail/spamassassin.
    # /var/amavisd/etc/mail/spamassassin
    [ "${SA_LINT}" ] || SA_LINT="spamassassin --lint"; # Command used to lint the rules
    SA_RESTART="/etc/init.d/spamassassin restart"; # Command used to restart spamd
    # May be /etc/rc.d/init.d/spamassassin restart

    </snip>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •