How to remove all of the mails for a user account on your system
Date: 2012-01-03
Have you ever tried to type "mail" at comment prompt? Command line tool mail uses for reading system mail messages on your system. However if your system is running as a webserver than user account www-data probably has got many messages. If you want to remove all of the mails for user www-data just go to:Code:
cd /var/mail/
ls -l
ls -l
Make sure that file www-data is listed.
Now you can safely remove that file by typing:
Code:
rm www-data
Sinbad Konick@linuxt — www.linuxthebest.com
2012-01-08 07:30:20
was a great detailed post ..will help a lot of newbie..thanks for sharing...