Unix mail files.

Ray Shwake shwake at raysnec.UUCP
Wed May 30 01:44:42 AEST 1990


In article <1163:May2719:09:5690 at stealth.acf.nyu.edu> brnstnd at stealth.acf.nyu.edu (Dan Bernstein) writes:

>Yep, exactly right. You'll also note that if a line in the text of a
>message starts with From and a space, the mailer adds a > to the line;
>that way mailreaders won't think that it starts a new message.
>To be precise, the separator is "\n\nFrom ".

The > prefix on lines beginning with From is also intended to cut down on
mail forgeries. Also, while "\n\nFrom " is present BETWEEN messages, the
mailer will often simply look at each line and, if it begins with "From "
judge it to be the start of the next message. You can confirm this by
eliminating the blank line between messages and see if your mailer still
separates your messages.

>There are other popular conventions for mail. The easiest to work with
>has every message in a separate file; unfortunately, this also wastes
>the most space.

This is an arguable position. Separating messages certainly does waste
more space, but makes for a more complex directory structure by requiring
(for efficiency sake) a separate directory for each subject collection,
and makes movement between messages horribly inefficient.



More information about the Comp.unix.questions mailing list