Page 1 of 1

var disk space

Posted: 13 Jul 2015 14:59
by bettajames
Hi there i've noticed that my /var disk space is becoming critical. I see that the quarantine folders are stored on here and i'm hitting about 1.2 - 1.9GB per day. I've read that the quarantine is cleared down every 30 days but disk will be full before then. Not quite sure what i should do...
a) Manually clear some files out of the quarantine folder (this is what i'm doing at the moment - manually deleting some older days quarantine but i'm worried this will cause problems as they still seem to show on the Quarantine page on the web interface)
b) Can i change the period from 30 days for clearing old quarantine items?
c) Can i make the /var disk bigger?

Would appreciate some tips!

Regards
James Wilson

Re: var disk space

Posted: 14 Jul 2015 03:45
by shawniverson
a) Doing this will put your database and filesystem out of sync temporarily, since MailScanner will think that messages are still present that are actually deleted.

b) Yes. Look in /var/www/html/mailscanner/conf.php

c. viewtopic.php?f=14&t=516

Re: var disk space

Posted: 15 Jul 2015 09:31
by bettajames
Excellent thanks Shawn - i've changed the quarantine period to 10 days and thats sorted my problem. I think longer term i'll look at changing the disk size to give more space.

Regards
James