On Tue, Feb 08, 2022 at 04:33:47PM +0100, Sergey Poznyakoff wrote: >I have pushed 5e2a3cf934, which, I believe, fixes the confusion with the >terminating newline. Please, pull.
Yes, that looks better. I did the same test again; here are the results. to mbox dotmail MH maildir from good mbox good good good good good dotmail good good good good bad dotmail good bad bad bad Again, movemail converted three versions of a message whose body is one line. "Good" means the message does not have a blank line added; "bad" means it does, so the body is two lines. Those results are all what I think they should be, except one: converting "bad dotmail" to mbox. The input message included a blank line at the end, but the message in the output mbox file did not contain that blank line -- that is, the output mbox file ended with just one blank line. Does mbox write trim a blank line off the end of the message, or something like that? Those two files are attached.
From: <j...@blow.nope> To: <al...@flyingcloud.ship> Date: Thu, 01 Jan 1970 00:00:00 +0000 (UTC) dog .
dog_mu.mbox
Description: application/mbox