AIX auto delete old mail messages

We have had an issue where the mail file filled up. Is there a setting in sendmail.cf to automatically remove old emails? Say after 14 days. If not is there any way automatically to delete older mail files??

I think you'd be better off with either:

1) creating a separate filesystem for the mail messages (/var/spool/mail) so only that fills up instead of /var.

2) put a monitoring tool in place to warn you when /var is getting close to 100% full.

HTH