/var/spool/exim/scan filling up in Gentoo


I have a Gentoo box adding as a mailscan server with spamassasion and clav av.

/var/spool/exim/scan seems to get very large and there are folders from two years ago in it.  Can i delete these as the server is now full and stopped passing email?


timb551IT ManagerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

http:// thevpn.guruCommented:
yes go ahead
rm -rf /var/spool/exim/scan/*

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
timb551IT ManagerAuthor Commented:
do i need to keep the latest folders in there?

what does the command -rf do?

timb551IT ManagerAuthor Commented:
just checked what rf does so thats fine, just worried that deleting the whole contents will cause issues.

Should this folder clear itself down?
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

http:// thevpn.guruCommented:
Well I dont think that it should clean itself no..you could write a script to make it clear itself once it reaches some limit size..are there any config files in your scan folder ?
timb551IT ManagerAuthor Commented:
no just a whole list of folers from june 2005 up to today.
http:// thevpn.guruCommented:
so you can remove them...if you receive an error due to the large number of files
ls /var/spool/exim/scan/* | rm -rf
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.