Skip to main content

Introduction

This memo describes the rules that are to be used when mail is transformed from one standard format to another. The scope of this memo is limited to text messages (computer network mail, or electronic mail) that traverse the ARPA Internet. This memo is not presented as a replacement or amendment for the "Standard for the Format of ARPA Internet Text Messages", RFC822. Rather, this memo focuses on a particular aspect of mail, and provides a conceptual and practical basis for implementors of transport agents and user agents which support message munging.

Although this memo has been specifically prepared for use with the 822 standard, an understanding of the 822 standard is not required to make use of this memo. The remainder of this section reminds the reader of some key concepts presented in the 822 standard, and how they relate to the perspective of this memo.

Messages are viewed as consisting of an envelope and contents. The envelope is manipulated solely by transport agents, and contains the information required by the transport agents to deliver the message to its recipients. Although this memo does not address itself directly to the envelope, we shall see that some of the rules discussed later are applicable to the envelope.

The contents of the message consists of a rigorously structured part, known as the headers, followed by a freely formated part, called the body. The message body is completely uninteresting to us. Our emphasis is strictly on the headers of the message. Each header in the message consists of a field, its value, and a terminating end-of-line sequence. The 822 standard discusses, among other things, continuation lines, the syntax that is used to distinguish between fields and values, and the syntax and semantics of the values of various fields. For our part, we shall concern ourselves only with the notion that the headers section consists of one or more headers, which are divided into one or more field/value pairs.

The term "message munging" refers to the actions taken by a transport or user agent to transform the contents of a message from conformance with one standard format to another. The 822 standard refers to this as "Network-Specific Transformation". Other phrases might be "header munging" or "mail filtering". Regardless of the term used, the key notion is that this action transforms a message from its current format (the source message) to the structure required by the target standard. A "munging agent", for the purposes of this memo, is an entity which performs message munging. A munging agent may be part of either a transport or user agent.