Evening all, The ~/dead.letter created by s-nail's mail(1) isn't mbox format. It's just a catenation of email bodies over time. This means subject, etc., are lost when a user INTRs twice, and it's tedious to pull the file apart and back into emails.
Old memories had me believe ~/dead.letter was mbox format, allowing simple splitting on /^From /, but I don't think this BSD mail program has done that in s-nail's lineage? I've certainly experienced mbox-format ~/dead.letters, and see sendmail(8) also writes to the file, and is probably not alone. I've checked sendmail/deliver.c's mailfile() and it writes mbox; "putfromline". So I guess I'm asking if anyone knows the history of this discrepancy? Both have a BSD heritage. mbox format is arguably better than cat'd bodies, so s-nail could grow an option to use that format. By default? But I'm more interested in any archaeology folks have. -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy ------------------------------------------------------------------------------ __________________________________ [email protected]
