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.

.spamassassin folder with large files

Discussion in 'E-mail Discussions' started by morrow95, Aug 10, 2013.

  1. morrow95

    morrow95 Well-Known Member

    Joined:
    Oct 8, 2006
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Was doing some cleanup today of log files and notice on some accounts that the .spamassassin folder was pretty large. Each account differed of course, but there was always one of the following three that was extremely large :

    auto-whitelist
    bayes_seen
    bayes_toks

    I did do some searching and most places said you can just delete the files which would essentially cause them to 'start over'. Is this really the case? If it is and I do delete then should I be restarting spamassassin? I also found that in my searching, but /etc/init.d/spamassassin is not a folder so there is nothing to restart...

    Any help would be appreciated.
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Yes, You can delete these files from your .spamassassin directory and restart the exim on your server

    Code:
    service exim restart
     
  3. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    346
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    You can, but I'd be interested to know what size they're reaching - I'm relatively sure that cPanel has included a script in upcp that trims these for a good while now...
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    669
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can restart the "spamd" service via:

    Code:
    /scripts/restartsrv_spamd
    Could you let us know how large the bayes files were? It's possible one of the files was corrupted.

    Thank you.
     
Loading...

Share This Page