The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RulesDuJour Run Summary on server.servername

Discussion in 'General Discussion' started by cchapoval, Oct 18, 2006.

  1. cchapoval

    cchapoval Member

    Joined:
    Jul 5, 2006
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    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!
     
  2. bornonline

    bornonline Well-Known Member

    Joined:
    Nov 19, 2004
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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.
     
  3. davidC

    davidC Member

    Joined:
    Aug 18, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  4. bornonline

    bornonline Well-Known Member

    Joined:
    Nov 19, 2004
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    This is still happening... are you guys getting the updates correctly?
     
  5. PeteC

    PeteC Well-Known Member

    Joined:
    May 8, 2003
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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...
     
    #5 PeteC, Oct 20, 2006
    Last edited: Oct 20, 2006
  6. bornonline

    bornonline Well-Known Member

    Joined:
    Nov 19, 2004
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    Yes it helped...

    Worked perfectly.

    Thanks Pete
     
  7. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    New Jersey
    cPanel Access Level:
    Root Administrator
    By the way, on their mailing list they are saying this was a "DNS Problem" and some folks are still having a small problem. :(
     
  8. PeteC

    PeteC Well-Known Member

    Joined:
    May 8, 2003
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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...
     
  9. jdstallings

    jdstallings Well-Known Member

    Joined:
    Jul 27, 2003
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Thanks!!

    Thanks!! This worked for me also.
     
  10. splicesite

    splicesite Member

    Joined:
    Jul 16, 2006
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    THANKS!!!!!!!
     
  11. jdstallings

    jdstallings Well-Known Member

    Joined:
    Jul 27, 2003
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    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
     
Loading...

Share This Page