RulesDuJour Run Summary on server.servername

cchapoval

Member
Jul 5, 2006
20
0
151
Hi,

I have this dedicated server for about 4 months now, which since the beginning I have SpamAssassin as well as all other tools to try to protect the server...anyways, I didn't do the installation, I paid someone to do it.

I never received any messages for the RulesDuJour Run Summary until a couple of days ago, now the message is daily, and in this long message is full of warnings. One of the warning is the following:

***WARNING***: spamassassin --lint -p /usr/mailscanner/etc/spam.assassin.prefs.conf failed.
Rolling configuration files back, not restarting SpamAssassin.

Along with lots of lines like this:

[21965] warn: config: failed to parse line, skipping:

And the last line is:

[21965] warn: lint: 1974 issues detected, please rerun with debug enabled for more information

How do I fix this?

Any help is galdly appreciated, thanks!
 

bornonline

Well-Known Member
Nov 19, 2004
139
0
166
Earth
I have been seeing the same thing on multiple servers over the last two days, but really no idea what to do about it but wait for another update.
 

davidC

Member
Aug 18, 2005
11
0
151
If i was a betting man, I'd say it parsed rules from rulesemporium.com (at least in my case) and if you look at rulesemporium.com it's a PPC parking page
Edit: It was yesterday, today its not heh
 

PeteC

Well-Known Member
May 8, 2003
106
0
166
Texas
I got tired of this too, so I went ahead and figured out the problem.

Apparently rulesemporium.com expired a few days back, then was renewed. I'm not sure how long it was expired, but while expired, the registry put up a PPC page. So RulesDuJour read this page into *.cf, causing a bunch of unparseable cf files.

This turns out to be easy to fix. You just have to delete all the bad .cf files, then run RulesDuJour again, and it will grab the latest versions of these files.

On my servers, RulesDuJour is here:

/usr/bin/rules_du_jour

And its config file is here:

/etc/rulesdujour/config

Read the config file, and look for the SA_DIR line. Mine is like so:

SA_DIR="/etc/mail/spamassassin";

Now go into that directory and its "RulesDuJour" subdirectory and delete all the files which are HTML pages instead of SpamAssasin rules files. This works for me:

cd /etc/mail/spamassassin
rm -f `grep -lh "</html>" ??_sare_*.cf`
cd RulesDuJour
rm -f `grep -lh "</html>" ??_sare_*.cf*`

Then run RulesDuJour again:

/usr/bin/rules_du_jour

Hope this helps...
 
Last edited:

PeteC

Well-Known Member
May 8, 2003
106
0
166
Texas
"DNS problem" sounds like a euphemism to me :). Maybe some people are still having problems because the DNS changes haven't propagated for them yet. Seems like that should be done by now though...
 

jdstallings

Well-Known Member
Jul 27, 2003
60
1
158
USA
cPanel Access Level
Root Administrator
Best Rules of the Day?

I asked this in another topic, but figured I would also put it here. Does anyone have a good set of Rules-Du-Jour to use? I know some might be too tight, so I was wondering which ones are used the most with the best results?

Thanks