Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164162 - mail-filter/spamassassin-ruledujour moaning about antidrug.cf
Summary: mail-filter/spamassassin-ruledujour moaning about antidrug.cf
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on: 163638
Blocks:
  Show dependency tree
 
Reported: 2007-01-28 06:33 UTC by Eero Volotinen
Modified: 2007-02-24 11:54 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eero Volotinen 2007-01-28 06:33:23 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-28 08:44:57 UTC
:o))
Comment 2 Alexandre Ghisoli 2007-01-28 10:10:31 UTC
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.)
Comment 3 Ross Dougherty 2007-02-15 09:20:20 UTC
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.
Comment 4 coran.fisher@gmail.com 2007-02-16 05:23:41 UTC
dupe of bug 163638?
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-02-24 11:54:47 UTC
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.