🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #103

Re: What's the "magic" of a Unix mailbox file?

#103
From: Martin Rex
Date: Thu, 06 Aug 1992 11:29
29 lines
1840 bytes
kris@xerox.com (Kris Schneider) writes:
: the new ones have actually been appended to the end of that message.
: 
: So, the question is, what magic goes on when a message is saved to a file in
: mailbox format?  Which leads to, how can I modify that mailbox file so that
: mail recognizes those new messages?

I don't think there's many special things about the mbox file.
Only that Unix sendmail usually puts a line im the Form

From <user>@<host> <date>

in the first line of every mail message.  The Mail User Agent usually
seperates the mails in one File by searching for these lines.
If there's any line contained in the mail containing the word
From followed by a blank character (Space, ASCII 32), then this
line is equippend with a leading ">" character.  The regular From:
in the Mail-Header is the word From followed by a colon, and therefore
doesn't count as mail seperator.

If you want your news-articles be seperatly accepted by your Mail User Agent,
then insert the required line in front of each message.

-Martin
--
 Martin Rex                              |  "Have the courage to take
 Rechenzentrum                           |   your own thoughts seriously,
 Fachhochschule fuer Technik Mannheim    |   for they will shape you."
 E-Mail:  mrex@aix01.rz.fht-mannheim.de  |             -- Albert Einstein
Technical Details
Message-ID: <4nxmzv9_@aix01.rz.fht-mannheim.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!uni-heidelberg!fht-mannheim!aix01.rz.fht-mannheim.de!mrex
References: <1992Aug4.205537.26710@spectrum.xerox.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!uni-heidelberg!fht-mannheim!aix01.rz.fht-mannheim.de!mrex
From: mrex@aix01.rz.fht-mannheim.de (Martin Rex)
Newsgroups: comp.mail.misc
Subject: Re: What's the "magic" of a Unix mailbox file?
Message-ID: <4nxmzv9_@aix01.rz.fht-mannheim.de>
Date: 6 Aug 92 11:29:18 GMT
References: <1992Aug4.205537.26710@spectrum.xerox.com>
Organization: Fachhochschule fuer Technik Mannheim
Lines: 29
X-Newsreader: Tin 1.1 PL4