Recently I have to cleared out /var/spool/exim/input and /var/spool/exim/msglog with
find input -type f -exec rm -rf {} \;
find msglog -type f -exec rm -rf {} \;
After waiting a long time for those command to be finished, I'm guessing there must be 100,000 of spam in there.
Why is it when I do a ls in /var/spool/exim/input/1/ for example it take 30 seconds to list the empty directory?. Is it safe for me to remove rm -rf all files/directory in /var/spool/exim/input? so that it recreate a new? Please advise. Thank you.
find input -type f -exec rm -rf {} \;
find msglog -type f -exec rm -rf {} \;
After waiting a long time for those command to be finished, I'm guessing there must be 100,000 of spam in there.
Why is it when I do a ls in /var/spool/exim/input/1/ for example it take 30 seconds to list the empty directory?. Is it safe for me to remove rm -rf all files/directory in /var/spool/exim/input? so that it recreate a new? Please advise. Thank you.