Delete Mail Queue

Hi everybody:

I've been having lots of troubles with my RedHat Linux server.

Just today i've found that all of those troubles are caused by sendmail.

Well, not sendmail itself, the problem is that during all of this time my sever has been used for mail lists and many of the emails of those lists just are wrong, so they stick on my mail queue.

When i trie to give a look at the mqueue folder ("ls -la /var/spool/mqueue") it just make my server get overloaded and i have to connect with other user to kill my process (ls) Delete Mail Queue .

That folder's size is: 17MB

My question is: How can i delete all of that queue??

I try to rm -f * but it returns that the argument is too long

Please anyone, help me with thisDelete Mail Queue

 

 

 

 

Top