Just run the following command from the command line:

echo 'd *' | mail -N



3 Responses to “Linux – CentOS – Mail — Delete alll mail in centos using mail”  

  1. 1 techzen

    thanks for this I was getting VERY annoyed because I couldn’t even delete a mail hah…The linux book I was reading provided instructions that simply do not work.

  2. 2 Squirting Avy

    hm.. funny

  3. 3 Ron

    Thanks from me, too. I had arpwatch running and had about 10,000 messages! Don’t run arpwatch on a big network unless you like emails!

Leave a Reply