Corrupt Spamassassin files

This forum is for FreeBSD Virtual Server related questions.

Corrupt Spamassassin files

Postby helpdesk » Tue 20 May, 2008 12:56 pm

Spamassassin creates temporary bayes files and puts them in the users home directories in a .spamassassin file.

Occasionally these files can become corrupt and will give the following error code:
/home/user/.spamassassin/bayes_* R/O: tie failed: Inappropriate file type or format May 20 15:53:32 user spamd[18076]: bayes: cannot open bayes databases

Run the the following command to clean out all bayes files and other associated files that are created by spamassassin and the control panel:

Code: Select all
find /home -name "bayes*" -print | xargs rm -f ;
find /home -name "auto-whitelist" -print | xargs rm -f ;
find /home -name log.spam -print | xargs rm -f ; find /home -name spam.log -print | xargs rm -f ; find /var/tmp -name "clamav*" -print | xargs rm -rf
helpdesk
Site Admin
 
Posts: 277
Joined: Thu 03 Mar, 2005 12:47 pm
Location: Sammamish, WA, USA

Return to UNIX (FreeBSD) Virtual Servers

Who is online

Users browsing this forum: No registered users and 1 guest

cron