Clean-up SpamAssassin db files
/var/amavis/.spamassassin root# ls -l
total 2275104
-rw------- 1 clamav clamav 1118257152 Aug 9 22:47 auto-whitelist
-rw------- 1 clamav clamav 144 May 4 10:09 auto-whitelist.lock.star1.local.16542
-rw------- 1 clamav clamav 93000 Aug 9 22:47 bayes_journal
-rw------- 1 clamav clamav 41598976 Aug 9 22:15 bayes_seen
-rw------- 1 clamav clamav 4894720 Aug 9 22:15 bayes_toks
-rw-r--r-- 1 clamav clamav 1175 Jan 3 2007 user_prefs
That's over 1 GB of data of the auto-whitelist file; while I generally wanted to keep auto whitelisting enabled, is there something I can set to keep disk space requirements in an acceptable limit ?
And second question:
I guess the following "files with random numbers" (dummy language 😉 can be deleted without losing anything... seems that they origin from server restarts or something else (anyway, the server never crashed, at least I shut it down the usual way whenever needed). Not sure, but shouldn't be some kind of automatic clearance that removes such temporarily created files ?
/var/amavis root# ls -l
total 112
drwxr-x--- 16 clamav clamav 544 Aug 9 15:49 .razor
drwx------ 8 clamav clamav 272 Aug 9 22:47 .spamassassin
-rw------- 1 clamav clamav 13339 May 4 10:09 .spamassassin16516mr1BFXtmp
-rw------- 1 clamav clamav 13364 May 4 10:09 .spamassassin16542wwR2sutmp
-rw------- 1 clamav clamav 12112 Feb 3 2007 .spamassassin29700LQmsFJtmp
drwxr-x--- 4 clamav clamav 136 Nov 13 2006 amavis-20061113T165101-27553
drwxr-x--- 4 clamav clamav 136 Nov 13 2006 amavis-20061113T165217-28650
drwxr-x--- 4 clamav clamav 136 Jan 1 2007 amavis-20070101T183212-24902
drwxr-x--- 4 clamav clamav 136 Aug 9 22:29 amavis-20070809T222926-11934
drwxr-x--- 4 clamav clamav 136 Aug 9 22:30 amavis-20070809T223058-11962
-rw-r----- 1 clamav clamav 0 Oct 26 2006 amavisd.lock
-rw-r----- 1 clamav clamav 3 Aug 2 19:12 amavisd.pid
srwxr-x--- 1 clamav clamav 0 Aug 2 19:12 amavisd.sock
-rw-r----- 1 clamav clamav 173 Nov 20 2006 razor-agent.log
-rw-r--r-- 1 clamav clamav 3 Aug 22 2005 whitelist_sender
Mac OS X (10.4.10)