apu(_at_)menger(_dot_)eecs(_dot_)stevens-tech(_dot_)edu asked,
| For the past 6+ months, I've been using the script from the procmail(1)
| man page to "post-process" my system mailbox. Because my machine is on
| the inside of a firewall, mail to me goes to an externally connected
| machine, and I have a cron script setup to POP my mail to my machine
| every X minutes. This cron script POPs the mail and then runs the
| post-processing script.
|
| This has worked without a problem until a few weeks ago...Now, every once
| in a while, and in a non-predictable way, formail fails to split the
| existing mail file properly.
|
| For example, say at a particular moment, the existing mail file looks like:
| Message 1 + Message 2 + Message 3 + Message 4
| Formail processes this as
| Message 1
| Message 2 + Message 3
| Message 4
One theory: perhaps there is no blank line between Message 2 and Message 3?
| Any suggestions???
| * Relevant line from the post-processing script:
| formail -s procmail < .newmail &&
Try -es instead of -s.