RulesDuJour Problem

After recently spammer attack on http://www.rulesemporium.com/, I got the following error when trying to update the RulesDuJour rules. The error similar like this:

Lint output:

[23588] warn: config: failed to parse line, skipping, in /etc/mail/spamassassin/72_sare_redirect_post3.0.0.cf”: <HTML><HEAD><META HTTP-EQUIV=”Refresh” CONTENT=”0.1″>

[23588] warn: config: failed to parse line, skipping, in “/etc/mail/spamassassin/72_sare_redirect_post3.0.0.cf”: <META HTTP-EQUIV=”Pragma” CONTENT=”no-cache”>

[23588] warn: config: failed to parse line, skipping, in “/etc/mail/spamassassin/72_sare_redirect_post3.0.0.cf”: <META HTTP-EQUIV=”Expires” CONTENT=”-1″>

[23588] warn: config: failed to parse line, skipping, in “/etc/mail/spamassassin/72_sare_redirect_post3.0.0.cf”: </HEAD></HTML>

[23588] warn: lint: 4 issues detected, please rerun with debug enabled
for more information =================

This error because of some of the rules are corrupted.

To fix it is simple.

You can check each rules in RulesDuJour directory for corrupted rules, or simply delete all the rules and also backup rules, then run the rules_du_jour program again.

Rules_du_Jour program will simply download all the rules based on your RulesDujour config, for CentOS the config file is in /etc/rulesdujour/config

The default RulesDuJour directory for CentOS is in /etc/mail/spamassassin/RulesDuJour/.

1 thought on “RulesDuJour Problem

  1. Stephen Lee says:

    This worked for me:

    # cd /etc/spamassassin
    # rm -f ??_sare*cf RulesDuJour/??_sare*cf
    # /usr/sbin/rules_du_jour

    Found it on a Russian or Polish language web site.

Leave a Reply to Stephen Lee Cancel reply