Safe to remove /var/spool/exim/input, msglog?
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.
-
instead of deleting the spams, you have to check whats causing the spamming that is the first thing I will suggest. From the WHM in Mail stats option and Mail queue option check the mails to see from which email addresses the spamming is initiated or have an expert to check the issue and fix it. 0 -
Is it safe for me to remove rm -rf all files/directory in /var/spool/exim/input? so that it recreate a new
Yes, There is no problem if you have to remove files/directory in input folder. Also you have to check spam mail cause and fix the spam issue0 -
Hello, You may also find these threads helpful: Insted of using WHM --> Mail Queue Manager, what would be the shell equivalent for this? Huge Email Issue Delete all mail by auth_id? Thank you. 0
Please sign in to leave a comment.
Comments
3 comments