.spamassassin folder with large files

morrow95

Well-Known Member
Oct 8, 2006
189
12
168
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.
 

ThinIce

Well-Known Member
Apr 27, 2006
352
9
168
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...
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
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.