• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1004
  • Last Modified:

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

Hi

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?

thanks

Tim
0
timb551
Asked:
timb551
  • 3
  • 3
1 Solution
 
http:// thevpn.guruCommented:
yes go ahead
rm -rf /var/spool/exim/scan/*
0
 
timb551Author Commented:
do i need to keep the latest folders in there?

what does the command -rf do?

thanks
0
 
timb551Author 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?
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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 ?
0
 
timb551Author Commented:
no just a whole list of folers from june 2005 up to today.
0
 
http:// thevpn.guruCommented:
so you can remove them...if you receive an error due to the large number of files
try
ls /var/spool/exim/scan/* | rm -rf
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now