/home/MailScannerLogs/quarantine is filling my drive

Discuss our MailScanner install script and MailScanner itself
Post Reply
JasGot
Junior Member
Posts: 34
Joined: 10 Jan 2008, 17:16

/home/MailScannerLogs/quarantine is filling my drive

Post by JasGot »

/home/MailScannerLogs/quarantine has reached 125GB. How do I tell Mailscanner to useless space? Fewer Days? etc...

Thanks
Jason
JasGot
Junior Member
Posts: 34
Joined: 10 Jan 2008, 17:16

Resolved.

Post by JasGot »

When my MailScanner was reinstalled by WayToTheWeb, the logs were relocated to a larger partition, from /var/logs/Mailscanner to /home/MailScannerLogs

The /etc/cron.daily/clean.quarantine.cron was not changed to point to the new location, so it was not deleting any old quarantine files. I had a year worth of quarantine on the drive.

I edited the cron job, and ran it. It ran for an hour and now my drive went from 90% usage to 22% usage.
Post Reply