pongzaa said:thank you hehachris
But i typed like that, it's not work.
I know that email is sending to keep at /var/spool/exim/input and /msglog
I should delete these two folders, but it 's too long.
I couldn't remove with command rm *
can you tell me what command line to remove all files or remove each 500 files until empty.
Just make sure the quotes around ls -1 are the back ticks not the single quotes.cd /var/spool/exim/msglog
for file in `ls -1`
exim -Mrm $file
kke said:When you have too many files in a folder
and you pass a parameter * that will represent for a large number of files you will get an error (FreeBSD)
What I ever success delete >100000 mqueues in spools is
remember folder owner and permission
rm -R /var/spool/exim/input (this will take a long time but not error)
then create the empty one back