Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
OP are you still looking for an answer? If so, you may need to repost your question as this is flagged for closure. Regards, – Ringtail Mar 21 '12 at 18:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.