If your local mail is stored in single files like:
/var/spool/mail/user
Then you can use the mutt command to delete emails older than x number of days or months.
Eg
# mutt -f /var/spool/mail/lukeOnce mutt has loaded, use the following set of commands, replacing 30d with the emails you with to delete older than
^D ~d >30dYou could also used m for months and y for years