I have a large mbox file backup from gmail. It's over 5GB, and gets updated with new messages every night via a cron job. I would like the cron job to also check the validity of the archive, to make sure it's still a valid mbox format.
Is there a command-line tool to verify an mbox file, or at least list the most recent messages?