Purge MAil file

Hi,

merry christmas.
on AIX 6.1,
the file /var/spool/mail/user, should/can be purged manually ?
Any commande line to purge it ?

Thanks.

You can simply use "mail" and then "d*" - this will delete all the mail messages.

Or, just remove the file, if you intend to delete ALL the messages. Or if you prefer:

cp /dev/null /var/spool/mail/user

if you need to distinguish between never having gotten mail and having no mail.