Difference between revisions of "Pine Header Format"
Revision as of 14:28, 6 March 2007
Pine composes headers in the following format:
Date: Tue, 6 Mar 2007 11:10:36 -0500 (EST) From: Sender Name <email@example.com> To: Getter Name <firstname.lastname@example.org> cc: Other Person <email@example.com> Subject: The subject text Message-ID: <Pine.LNX.firstname.lastname@example.org>
Using the function generate_message_id in the file reply.c we can see that the format for the Message-ID line is a series of fields separated by periods, followed by the @ symbol and the hostname of the sending machine. The fields are
- The word Pine
- A three letter version of the operating system name (e.g. LNX for Linux)
- A number YYMMDDHHmmssX, Where YY is the last two digits of the year, MM the current month, DD the current day of the month, HH the current hour, mm the current minute, ss the current second, and X is either a zero or one depending on the number of seconds.
- The current process ID number
Note that the timestamp in the Message-Id may not necessarily match the Date line.
The hostname can be ROT-13 encrypted on some configurations.