Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • by duff (16) on 2006.08.16 14:03 (#49408) Homepage Journal
    From the man page for formail:

                  formail is a filter that can be used to force mail into mailbox format,
                  perform ‘From ’ escaping, generate auto-replying headers, do simple
                  header munging/extracting or split up a mailbox/digest/articles file.
                  The mail/mailbox/article contents will be expected on stdin.

    Maybe no one has done it in perl because it's already been done in C :-)
    • Thanks ... it looks like it could do the trick, but upon closer examination, formail will split it into separate messages, but not chunked mbox files of a specified size. 6700 individual message files vs. 25 mbox files.

      - Jason