How do I delete mail from mail file /var/mail/su after reading mails

How do I delete mail from mail file /var/mail/su after reading mails

Post by chittaranjan.j.. » Fri, 27 Jan 2006 04:51:44



I used to receive data in mail from users. I used to read those data
and load that into a ORACLE table. However I am not able to delete
those mails after reading and loading it.

Currently I delete them manually when the mail file grow very big

Is there a way we can delete these mails after we read it using shell
script ?