Objects of Interest
At present, only three types of objects are of interest: fields, addresses, and dates. In the context of the 822 standard, header-lines containing the following fields are to be viewed as appropriate for transformation:
Address Fields: From, Sender, Reply-To, To, cc, Bcc,
and any of these fields with the Resent- prefix
Date Fields: Date, Resent-Date
Hence the definition of munge-object, in 822 terms, is:
munge-object =
"From"
/ "Sender"
/ "Reply-To"
/ "To"
/ "cc"
/ "Bcc"
/ "Resent-From"
/ "Resent-Sender"
/ "Resent-Reply-To"
/ "Resent-To"
/ "Resent-cc"
/ "Resent-Bcc"
/ "Date"
/ "Resent-Date"
NOTE: The list of munge-objects is extensible. For the purposes of this memo, the above fields are defined as the MINIMUM list of munge-objects for the 822 standard. Implementors are encouraged to introduce other fields to the list of munge-objects as their munging agents require. These additions should also be registered with the revisions of this memo as they gain popularity.
For the purposes of the remainder of this memo, an address header-line is defined as any header-line in the source message whose field component is one of the fields listed above as an address field. Further, a date header-line is defined as any header-line in the source message whose field component is one of the fields listed above as an date field.
If address munging is performed, then all addresses contained in all address header-lines must be munged. It is expressly forbidden to perform address munging on the source message and without performing address munging on every address header-line. Further, it is expressly forbidden to munge some, but not all, of the addresses in any address header-line. All addresses in all of the message's address header-lines must be address munged. If address munging is not performed, then these header-lines need not be considered for munging.
A similar requirement is made for date munging. If date munging is performed, then all instances of header-lines whose field is Date or Resent-Date must be fully date munged.
NOTE: Certain fields are to be excluding from munging of any sort, all munging agents must preserve their contents exactly. At present, there is one such field: "Received". This contents of this field should ALWAYS be preserved for trace and debugging purposes.