Sendmail: delete all emails for a user from the command line

cat /dev/null > /var/mail/MAILBOX_YOU_WANT_TO_CLEAR

for example for user root you would use something like:

cat /dev/null > /var/mail/root
Let's share thisShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn