If your mbox is in standard format, each message will begin with From and a space: From [email protected] So, you could COPY YOUR MBOX TO A TEMPORARY DIRECTORY and try using awk to process it, on a message-by-message basis, only splitting at the start of any message. Let's say we...