Re: Extract last email from an email file (mbox format)
Xu Wang <[email protected]> Wed, 25 May 2016 15:41:32 -0400
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <CAJhTkNj+HdnuqPY-papY1F=qs1JNNmojVOi9wDwHCTGFGPXKVg@mail.gmail.com> |
On Wed, May 25, 2016 at 9:41 AM, LuKreme <[email protected]> wrote: > On May 25, 2016, at 07:25, udi M <[email protected]> wrote: >> What I do for splitting: >> 1) cat little.rc >> :0 >> mydir/ >> >> 2) formail -s procmail ./little.rc < theBigBox > > Yep. That's what I'd do as well, but I also regard mbox as an abomination. Thank you to all for every response! I will spend time to test and investigate. I wonder if the solutions that rely on regex match of "From:" are robust. Is it safe to use? Or there is fear that e.g. a line in body of message begins with From: it could match? I suppose I should test. Thank you! Kind regards, Xu