Ralph wrote:
I think the problem is packf(1) assumes the Return-Path field will all
be on one line.
Looks like it. Here's the relevant packf(1) documentation:
packf makes an mbox-style delimiter by examining the
first line of the message. If the first line is a
“Return-Path” field, its address and the current date
and time are used. Otherwise, if the first line has an
“X-Envelope-From” field, its contents (which should
already be in the correct format) are used. Otherwise,
a dummy address and the current date and time are used.
What's the best way to fix? If no address, wait to see if the
next line(s) is/are continuation lines?
Or, can "From " have a continuation line? If so, maybe just
replace the "Return-Path:" text with "From ", therefore treating
it the same as "X-Envelope-From:"?
Does a timestamp have to be added if not present? It isn't with
X-Envelope-From.
David