Breaking apart MBOX

From: MJackson (mjackson_at_vvm.com)
Date: 02/19/04


Date: Thu, 19 Feb 2004 14:32:07 -0600

I'm new to perl. I need to read in the mailbox (mbox) and break it apart
into seperate emails. Of course each email may be different lengths. Each
email starts with From, but there are other lines in the email starting with
From: (notice the colon). So, an email starts at From and ends at the
character prior to the next From.

I then need to store each email off into it's own file, numbered such as
00001, 00002, etc. there will be very many of these.

Any ideas.

Any help greatly appreciated.
Michael



Relevant Pages

  • Re: Breaking apart MBOX
    ... > I'm new to perl. ... I need to read in the mailbox (mbox) and break it ... > apart into seperate emails. ...
    (comp.lang.perl)
  • Re: question:creating mailbox directory from the command line
    ... Mutt supports reading and writing of four different mailbox formats: ... mbox, MMDF, MH and Maildir. ... Obviously Bit Twister and I are using either mbox or mmdf format. ...
    (alt.linux)
  • Re: advice re mail
    ... I am using postfix, and currently postfix is my mta and mda. ... > maildir, mbox, and mailbox... ... By default FreeBSD uses the Berkeley mbox format. ... individual messages are stored inside it as numbered files. ...
    (freebsd-questions)
  • Re: question:creating mailbox directory from the command line
    ... > Mutt supports reading and writing of four different mailbox formats: ... > mbox, MMDF, MH and Maildir. ...
    (alt.linux)
  • Re: deleteing e-Mail, quota and dovecot
    ... >> temporary copies of the whole mailbox when the user is deleting ... > Mbox is good for using less disk space and often faster searching. ... to make copies of the entire mailbox. ... Though the basic idea is the same; one method uses MMIO, ...
    (Fedora)