Chapter 5 -- Protocol Elements: Status Report and IP Message
5.4.4. Status Report
The entire status report is mapped into the body of the RFC 822
message, in the same manner as for a Delivery Report. An
appropriate "Subject:" field should be generated. As status
reports cannot be requested from the RFC 822 world, the mapping
is not likely to be used a great deal.
5.4.5. IP Message
The P1.UMPDUEnvelope pro-forma specification ensures all the
822-P1 information, and a minimal (legal) RFC 822 message. The
mappings and actions for the P2.Heading components are now
described. Basically, these are interpreted as actions and/or
mappings into RFC 822 fields. The following mappings are
specified:
P2.IPMessageID
This is mapped to the field "Message-ID:", according to
section 4.
P2.Heading.originator
If P2.Heading.authorisingUsers is present this is mapped
to Sender:, if not to From:.
P2.Heading.authorisingUsers
Mapped to From:.
P2.Heading.primaryRecipients
Mapped to To:.
P2.Heading.copyRecipients
Mapped to Cc:.
P2.Heading.blindCopyRecipients
Mapped to Bcc:.
P2.Heading.inReplyTo
Mapped to In-Reply-To:.
P2.Heading.obsoletes
Mapped to the extended RFC 822 field "Obsoletes:"
P2.Heading.crossReferences
Mapped to References:.
P2.Heading.subject
Mapped to subject. The contents are converted to ASCII
(as defined in chapter 3). Any CRLF are not mapped, but
are used as points at which the subject field must be
folded. line.
P2.Heading.expiryDate
Mapped to the extended RFC 822 field "Expiry-Date:".
P2.Heading.replyBy
Mapped to the extended RFC 822 field "Reply-By:".
P2.Heading.replyToUsers
Mapped to Reply-To:.
P2.Heading.importance
Mapped to the extended RFC 822 field "Importance:".
P2.Heading.sensitivity
Mapped to the extended RFC 822 field "Sensitivity:".
P2.Heading.autoforwarded
If it is set to FALSE, it is simply mapped to the
extended RFC 822 field "Autoforwarded:". If this is set
to TRUE, the P2.Body does not consist of a single
P2.ForwardedIPMessage, then there is an X.400 error, and
the message should be bounced. Otherwise the following
steps are taken.
1. The mappings for all of the message, except the
body part are completed.
2. Prepend each RFC 822 fieldname with the string
"Autoforwarded-". Mapped to the extended RFC 822
field "Autoforwarded:".
3. Add the field "Autoforwarded:" with value TRUE.
4. Convert the syntax of the P2.ForwardedIPMessage to
generate the remaining RFC 822 fields.
The P2.Body is mapped into the RFC 822 message body. Each
P2.BodyPart is converted to ASCII. If the P2.Body contains a
P2.BodyPart not listed here, the entire message should be
rejected. If there are exactly two P2.IA5Text body parts, and
the first line of the first is "RFC-822-Headers:", then the
rest of this first body part should be treated as additional
header information for the RFC 822 message. If there is an
"In-Reply-To:" field, this should be used to replace any
generated In-Reply-To: field.
In other cases of multiple P2.BodyPart, the mapping defined by
Rose and Stefferud in [Rose85b], should be used to separate the
P2.BodyParts in the single RFC 822 message body.
Individual body parts are mapped as follows:
P2.IA5Text
The mapping is trivial.
P2.TTX
If any P1.Teletex.NonBasicParams are set, the message
should be rejected. Otherwise, it should be converted to
ASCII according to chapter 3.
P2.SFD
An SFD should be converted to ASCII as if it was being
rendered on an 79 column ASCII only VDU. It seems likely
that many gateways will not support this conversion. In
these cases, the message should be rejected.
P2.ForwardedIPMessage
The P2.ForwardedIPMessage.delivery and
P2.ForwardedIPMessage.DeliveryInformation are
discarded <9>. The IM-UAPDU should have its syntax
mapped (recursively) according to this gatewaying
specification. Clearly, it makes no sense to apply any
of the actions defined here.