if rules du jour is installed with autoupdate, it says this way, how to fix? ***WARNING***: spamassassin --lint failed. Rolling configuration files back, not restarting SpamAssassin. Rollback command is: mv -f /etc/spamassassin/antidrug.cf /etc/spamassassin/RulesDuJour/antidrug.cf.2; mv -f /etc/spamassassin/RulesDuJour/antidrug.cf.20070128-0350 /etc/spamassassin/antidrug.cf; Lint output: [25105] warn: config: failed to parse line, skipping: README: [25105] warn: config: failed to parse line, skipping: WARNING: YOU HAVE DOWNLOADED THIS RULESET from COMCAST. I am TERMINATING THIS ACCOUNT. [25105] warn: config: failed to parse line, skipping: Someone else will eventually have control of this webspace, possibly a malicious spammer. [25105] warn: config: failed to parse line, skipping: STOP using RDJ on this file *NOW* [25105] warn: config: failed to parse line, skipping: Also, make note of the fact that this file is for users of SA 2.64 and below. [25105] warn: String found where operator expected at (eval 1129) line 1, near ""you" "are"" Reproducible: Always Steps to Reproduce: 1. emerge ruledujour 2. chmod +x autoupdate to cron... 3.
:o))
IMOO, /etc/rulesdujour/config should be changed, and remove ANTIDRUG rules, except for systems using SA 2.64. Here is the comment of Matt Kettler : (http://www.nabble.com/Rulesdujour--t3117842.html) You should however stop using RDJ to update antidrug, for the following reasons: 1) Antidrug is no longer actively maintained. I haven't edited the rules themselves in a very long time, over a year. You've probably downloaded update since, but it's all notes in the comments. ie: don't use this with 3.0.0 or higher went in back in june or july 06. October 06 saw the ruleset updated with a comment telling you it moved (that few read). 2) Antidrug is a part of SA as of SA 3.0.0. If you're using antidrug with SA 3.0.0 or higher, you're possibly downgrading your antidrug rules. Unless you're using SA 2.64 or lower, you should remove antidrug.cf from your system completely. 3) If I ever make updates to the antidrug rules, I'd submit them to the main SA project to avoid conflicts. I will likely NOT update antidrug.cf. (anyone using 2.64 or older would get a much bigger boost in accuracy from updating SA than they will from updating my rules.)
rules_du_jour should of downloaded an update (1.30 currently), it should be at /etc/mail/spamassassin/RulesDuJour/rules_du_jour. If it isn't you can download it from http://sandgnat.com/rdj/rules_du_jour Then move it to /var/lib/spamassassin/rules_du_jour and chmod +x /var/lib/spamassassin/rules_du_jour That should fix it. I think this bug can be closed.
dupe of bug 163638?
read the pkg_postinst message with spamassassin-ruledujour that tells you to clean up old rule files! antidrug is definetly one of those that need cleaning up.