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.

Spam filter no longer marking messages

Discussion in 'General Discussion' started by evisions, Sep 28, 2004.

  1. evisions

    evisions Well-Known Member

    Joined:
    Jan 25, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    I have had a couple of clients report today the SA is no longer changing subject lines. Has something changed that would effect that?

    WHM 9.4.0 cPanel 9.4.1-S65
     
  2. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA

    yep busted. the new sa 3.0.0 uses different vars for the configs. I been fixing mine one at a time.. Nick we need you man!!!
     
  3. pubwvj

    pubwvj Active Member

    Joined:
    Mar 15, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    In the Mountains of Vermont
    Eek! Me too!

    I was just about to post this same thing. SpamAssassin is no longer running at all on incoming emails. What is the fix?
     
  4. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,384
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    I made a simple perl script to find all of the user_prefs files for spamassassin users on the server and replace the subject_tag with rewrite_header Subject. Here is the code:

    Code:
    #!/usr/bin/perl
    
    @files = `find /home/*/.spamassassin -name user_prefs -print`;
    
    foreach(@files) {
            chomp($_);
            system("perl -pi -e 's/subject_tag/rewrite_header Subject/g' $_");
    
    }
    
    Just save that to a file on the server, chmod +x and run the script.
     
  5. evisions

    evisions Well-Known Member

    Joined:
    Jan 25, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Thanks sparek
     
  6. Snover

    Snover Active Member

    Joined:
    Sep 29, 2003
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    This fix is not working for me. Also, virus messages are no longer rewritten with [Virus] either. This is causing a severe problem in the handling of spam messages on my server.
     
  7. CoreOperations

    Joined:
    Sep 20, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Is there any update to this? Or are Cpanel still working/wondering on it?
     
  8. pubwvj

    pubwvj Active Member

    Joined:
    Mar 15, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    In the Mountains of Vermont
    At our web host they've turned off the SpamAssassin auto-update because of this problem. It was too much of a hassle that every time the auto-update ran it turned off SpamAssassin and they had to go through and manually turn it back on. So now we have SpamAssassin 3 running fine - just no auto-updates until this gets straightened out. They feill this may be the best solution for a while.

    The alternative I see is a cron job that turns it back on periodically or ideally is triggered by the auto-update. Perhaps it could be triggered by detecting that SpamAssassin is no longer marking messages - e.g., ever hour it would do a test message, see if SpamAssin marks it and if not then turn on SpamAssassin.
     
Loading...

Share This Page