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.

reset spamassassin: delete some files & have them recreate?

Discussion in 'E-mail Discussions' started by jawz101, Sep 9, 2010.

  1. jawz101

    jawz101 Member

    Joined:
    May 16, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I've read some places that a quick way to reset your spamassassin is go to the ./spamassassin folder & delete these files to have them recreate, disable & reenable spamassassin
    Renamed the training files to have them recreate
    Bayes_toks
    Bayes_seen
    Auto-whitelist
    Bayes_journal

    does that sound ok to do?

    when doing so it doesn't seem to recreate the bayes_journal file
     
    #1 jawz101, Sep 9, 2010
    Last edited: Sep 9, 2010
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    This is safe

    It is safe to remove the files you mentioned. If there is any doubt, you can move them to a different location instead of deleting them, so that you can move them back, but this should not cause any problem.

    bayes_journal is a file that keeps track of additions to the bayes_token.db file, so it may not be created immediately.

    Do you want to reset the SpamAssassin settings server-wide, or only for a specific account at a time?
     
  3. jawz101

    jawz101 Member

    Joined:
    May 16, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I have just renamed them & they were recreated
    We're on a hosted server so I'm just one of the clients- I only have access to our company's cpanel & ftp site.

    Are you talking about resetting it for each email account for our site or our whole domain? Didn't know if it was possible per email account
     
  4. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I was speaking from the perspective of the server administrator, resetting the settings for all cPanel accounts on the server, or for only specific cPanel accounts. Since you are only the cPanel account user, so you would not be able to reset the settings for the entire server. The SpamAssassin settings apply to the entire cPanel account, not to individual e-mail addresses. I apologize for any confusion I may have caused.
     
  5. jawz101

    jawz101 Member

    Joined:
    May 16, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    thanks. I should have included that
     
Loading...

Share This Page