Paul Fox wrote in <[email protected]>: |bakul wrote: |> Once in a while I download email archives of some mailing list |> and unpack them using "inc -file <archive-file>". But more |> than once I have seen that inc gets confused and doesn't |> unpack the whole thing. The cause seems to be a line starting |> with From in some message body. Ideally inc should look that |> a "From ..." line is immediately followed by header lines. |> And if this is not the case, assume it is in the message body. | |I thought the trigger was "\n\nFrom: ", and that no more headers |were needed.
The trigger is "From ", but real POSIX requires at least one valid header line to follow (then an empty line again), so with that automatic MBOX detection can be heavily improved. (Even my one does this now like that, thanks for Dr. Fink of Suse.) On top of that RFC 4155 puts more constraints on the "From " / From_ line. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) -- nmh-workers https://lists.nongnu.org/mailman/listinfo/nmh-workers
