5. 详细映射
本章为第 1 章和第 2 章概述的功能规定详细的映射. 它广泛使用了第 3 章和第 4 章中定义的表示法和映射.
5.1. RFC 822 -> X.400
5.1.1. 基本方法
从一条 RFC 822 消息生成单个 IP 消息 (IP Message). RFC 822 头被用来生成 IPMS.Heading. 该 IP 消息将带有一个类型为 IPMS.IA5TextBodyPart 的 IPMS.BodyPart, 其中包含 RFC 822 消息的正文.
某些 RFC 822 字段无法映射到标准的 IPM 标题字段, 因此在第 5.1.2 节中定义了一个扩展字段. 然后, 它用于那些无法映射到现有服务的字段.
该消息被提交给 MTS, 所需服务可以通过指定 MTS.MessageSubmissionEnvelope 来定义. 还指定了 MTA 抽象服务的一些参数, 这些参数原则上对 MTS 用户并不可用. 使用这些服务使 RFC 822 MTA 层参数能够被携带在类似的 X.400 服务要素中. 这种映射的优势远远超过分层违例带来的问题.
5.1.2. X.400 扩展字段
定义了一个 IPMS 扩展:
rfc-822-field HEADING-EXTENSION
VALUE RFC822FieldList
::= id-rfc-822-field-list
RFC822FieldList ::= SEQUENCE OF RFC822Field
RFC822Field ::= IA5String
对象标识符 id-rfc-822-field-list 在附录 D 中定义.
要使用此扩展对任何 RFC 822 头进行编码, 构建一个 RFC822Field 元素, 使用去掉结尾 CRLF 的 822.field (例如 "Fruit-Of-The-Day: Kiwi Fruit"). 结构化字段应当被展开 (unfold). 在 ":" 之前不得有空格. 逆向映射以直接的方式构建 RFC 822 字段. 这个 RFC822Field 被追加到 RFC822FieldList, 而该列表作为扩展字段被添加到 IPM 标题中.
5.1.3. 生成 IPM
IPM (IPMS 服务请求) 根据本节的规则生成. IPMS.IPM.body 通常由一个类型为 IPMS.IA5TextBodyPart 的 IPMS.BodyPart 组成, 其 IPMS.IA5TextBodyPart.parameters.repertoire 被设置为默认值 (ia5), 其中包含了 RFC 822 消息的正文. 例外情况是 RFC 822 头中存在 "Comments:" 字段.
如果不使用任何特定的 1988 特性, 生成的 IPM 被编码为内容类型 2. 否则, 它被编码为内容类型 22. 如果生成了扩展标题字段, 后者将始终成立.
在生成 IPM 时, 必须考虑上限 (upper bound) 的问题. 在 MTS 和 MTA 层, 本规范对强制上限的要求是严格的. 在 IPM 层有三种选择. 使用其中任何一种选择都符合本标准.
1. 忽略上限, 以自然的方式生成消息. 这假设如果进行任何截断, 它将发生在接收方 UA. 这将最大化信息的传输, 但可能会破坏某些接收方 UA.
2. 拒收任何会导致生成违反约束的消息的入站消息. 这将是健壮的, 但可能会妨碍有益的通信.
- 将字段截断到 X.400 中规定的上限.
This will prevent problems with UAs which enforce upper
bounds, but will sometimes discard useful information.
If the Free Form name is truncated, it may lead to breaking
RFC 822 comments, which will cause an awkward reverse
mapping.
这些选择有不同的优缺点, 具体的选择将取决于网关的确切应用.
本节其余部分涉及 IPMS.IPM.heading (IPMS.Heading). IPMS.Heading 唯一强制的组件是 IPMS.Heading.this-IPM (IPMS.IPMIdentifier). 网关会生成一个默认值. 除 "Received:" 外, 多个字段的值会被合并 (例如, 如果存在两个 "To:" 字段, 则两者的邮箱会被合并以生成用于 IPMS.Heading.primary-recipients 的单一列表). 应从标准 RFC 822 头按如下方式生成信息:
Date:. 忽略 (在 MTS 层处理).
Received:. 忽略 (在 MTA 层处理).
Message-Id:. 映射到 IPMS.Heading.this-IPM. 对于它以及所有其他包含 822.msg-id 的字段, 每个 822.msg-id 都使用第 4 章的映射.
From:. 如果存在 Sender:, 它被映射到 IPMS.Heading.authorizing-users. 否则, 它被映射到 IPMS.Heading.originator. 对于它以及其他包含地址的组件, 每个地址都使用第 4 章的映射.
Sender:. 映射到 IPMS.Heading.originator.
Reply-To:. 映射到 IPMS.Heading.reply-recipients.
To: 映射到 IPMS.Heading.primary-recipients.
Cc: 映射到 IPMS.Heading.copy-recipients.
Bcc: 映射到 IPMS.Heading.blind-copy-recipients, 前提是至少. 有一个 BCC: 接收者. 如果该字段中没有接收者, 它应当被映射为一个零长度序列.
In-Reply-To:. 如果只有一个值, 它使用适当的 822.phrase 或 822.msg-id 映射被映射到 IPMS.Heading.replied-to-IPM. 如果有多个值, 它们与来自 "References:" 字段的任何值一起被映射到 IPMS.Heading.related-IPMs.
References:. 映射到 IPMS.Heading.related-IPMs.
Keywords:. 映射到一个标题扩展.
Subject:. 映射到 IPMS.Heading.subject. 字段体使用第 3 章中引用的, 从 ASCII 到 T.61 的面向人的映射.
Comments:. 生成一个类型为 IPMS.IA5TextBodyPart 的 IPMS.BodyPart, 其 IPMS.IA5TextBodyPart.parameters.repertoire 被设置为默认值 (ia5), 包含字段的值, 前面加上字符串 "Comments: ". 这个正文部分应当先于另一个正文部分.
Encrypted:. 映射到一个标题扩展.
Resent-*. 映射到一个标题扩展. 注意, 对这些字段使用 ForwardedIPMessage 是可能的, 但语义 (可以说) 略有不同, 而且这样做可能并不值得.
其他字段
In particular X-* fields, and "illegal" fields in common
usage (e.g., "Fruit-of-the-day:") are mapped onto a heading
extension, unless covered by another section or appendix of
this specification. The same treatment is applied to RFC
822 fields where the content of the field does not conform
to RFC 822 (e.g., a Date: field with unparseable syntax).
5.1.4. 到 MTS 抽象服务的映射
MTS.MessageSubmissionEnvelope 由 MTS.PerMessageSubmissionFields 和 MTS.PerRecipientMessageSubmissionFields 组成. 强制参数默认如下.
MTS.PerMessageSubmissionFields.originator-name. 这总是根据第 4 章的定义从 822-MTS 生成.
MTS.PerMessageSubmissionFields.content-type. 设置为 IPM 编码所隐含的值 (2 或 22).
MTS.PerRecipientMessageSubmissionFields.recipient-name. 这些总是根据第 4 章的定义从 822-MTS 提供.
可选组件被省略, 默认组件取默认值. 这意味着禁止披露接收者, 并且允许转换. 默认设置有两种例外. 对于 MTS.PerMessageSubmissionFields.per-message-indicators, 作如下设置:
-
允许替代接收者, 因为最大化 (可靠) 投递的机会似乎是值得的.
-
内容返回请求根据第 5.2 节讨论的问题进行设置.
MTS.PerMessageSubmissionFields.original-encoded-information-types 是一个单元素的集合 BuiltInEncodedInformationTypes.ia5-text.
MTS.PerMessageSubmissionFields.content-correlator 被编码为 IA5String, 并包含 Subject:, Message-ID:, Date: 和 To: 字段 (如果存在). 这包括字符串 "Subject:", "Date:", "To:", "Message-ID:", 以及适当的折叠. 它应当被截断到 MTS.ub-content-correlator-length (512) 个字符. 此外, 如果存在 "Subject:" 字段, MTS.PerMessageSubmissionFields.content-identifier 被设置为它的内容的一个可打印字符串表示. 如果该字符串的长度大于 MTS.ub-content-id-length (16), 应当将其截断为 13 个字符并附加字符串 "...". 两者都被使用, 这是因为内容关联符 (content correlator) 的上限要大得多, 并且内容 id 在 X.400(1984) 中可用.
5.1.5. 到 MTA 抽象服务的映射
需要直接映射到 MTA 抽象服务的某些方面, 原因如下:
-
以便 MTS 消息标识符能够从 RFC 822 Message-ID: 生成.
-
以便提交日期能够从 822.Date 生成.
-
防止跟踪信息丢失.
-
防止由分发列表或重定向引起的 RFC 822/X.400 环路.
定义了以下映射.
Message-Id:. 如果它存在, 则使用第 4 章描述的映射, 由它生成 MTA.PerMessageTransferFields.message-identifier.
Date:. 这被用来设置 MTA.PerMessageTransferFields.trace-information (MTA.TraceInformationElement) 的第一个组件. 822-MTS 发起者被映射到一个 MTS.ORAddress, 并用于推导 MTA.TraceInformationElement.global-domain-identifier. MTA.TraceInformationElement.domain-supplied-information 的可选组件被省略, 强制组件设置如下:
MTA.DomainSuppliedInformation.arrival-time 这被设置为从 Date: 推导出的日期. MTA.DomainSuppliedInformation.routing-action 设置为 relayed. MTA.PerMessageTransferFields.internal-trace-information 的第一个元素以类似方式生成, 尽管它在某些情况下 (见 "Received:" 的处理过程) 可以被丢弃. MTA.InternalTraceInformationElement.mta-name 从 822 MTS 发起者地址中的 822.domain 推导而来.
Received:. 所有 RFC 822 跟踪都被用来推导 MTA.PerMessageTransferFields.trace-information 和 MTA.PerMessageTransferFields.internal-trace-information. 对 Received: 行的处理遵循对 Date: 的处理, 并且从 RFC 822 头的底部到顶部 (即按时间顺序) 进行. 当处理其他跟踪元素时 (所有情况下的 X400-Received: 以及如果支持附录 B 时的 Via:), 应当正确保留相对顺序. MTA.PerMessageTransferFields.trace-information 的初始元素将已经 (从 Date:) 生成, 除非消息先前已在 X.400 中, 此时它将从 X.400 跟踪信息推导而来. 考虑所讨论的 Received: 字段. 如果 received 的 "by" 部分存在, 用它推导一个 MTS.GlobalDomainIdentifier. 如果它与 MTA.PerMessageTransferFields.trace-information 最后一个元素 (MTA.TraceInformationElement.global-domain-identifier) 中的不同, 则创建一个新的 MTA.TraceInformationElement, 并可选择地移除 MTA.PerMessageTransferFields.internal-trace-information. 当消息被传输到另一个 MD, 且不存在在本地 MD 之外保留内部跟踪的双边协议时, 应当进行此移除. 跟踪的创建如下面描述的内部跟踪, 不同之处在于不需要 MTA 字段. 然后向 MTA.PerMessageTransferFields.internal-trace-information 添加一个新的元素 (MTA.InternalTraceInformationElement), 如果需要则创建它. 即使创建了跨 MD 跟踪, 也应当这样做. MTA.InternalTraceInformationElement.global-domain-identifier 被设置为推导出的值. MTA.InternalTraceInformationElement.mta-supplied-information (MTA.MTASuppliedInformation) 设置如下:
MTA.MTASuppliedInformation.arrival-time 从 Received: 行的日期推导而来. MTA.MTASuppliedInformation.routing-action 设置为 relayed. MTA.InternalTraceInformationElement.mta-name 取自 "Received:" 字段的 "by" 组件, 截断到 MTS.ub-mta-name-length (32). 例如: Received: from computer-science.nottingham.ac.uk by vs6.Cs.Ucl.AC.UK via Janet with NIFTP id aa03794; 28 Mar 89 16:38 GMT 生成字符串
vs6.Cs.Ucl.AC.UK
请注意, 在将消息传输到某些 ADMD 之前, 可能需要额外的跟踪剥离, 因为通过多个 MD 的隐含路径会违反 ADMD 策略. 这将取决于与 ADMD 的双边协议.
5.1.6. 映射新字段
本规范在第 5.3 节中为报告 (Reports), 通知 (Notifications) 和 IP 消息定义了一些新字段. 由于本规范仅旨在保留现有服务, 一个符合本规范的网关不需要将所有这些字段映射到 X.400.
为了防止环路, 必须映射两个扩展字段.
"DL-Expansion-History:" 映射到 MTA.PerMessageTransferFields.extensions.dl-expansion-history. X400-Received: 必须映射到 MTA.PerMessageTransferFields.trace-information 和 MTA.PerMessageTransferFields.internal-trace-information. 在存在 X400-Received: 的情况下, 不应进行使用 Date: 来生成跟踪第一个元素的常规映射. 这是因为消息来自 X.400, 因此跟踪的第一个元素可以从第一个 X400-Received: 取得.
某些字段不应被映射, 而应当被丢弃. 以下字段无法映射回来:
-
Discarded-X400-MTS-Extensions:
-
Message-Type:
-
Discarded-X400-IPMS-Extensions:
如果 Message-Type: 被设置为 "Multiple Part", 则该消息根据 RFC 934 编码, 并且可以被映射到相应的 X.400 结构.
以下字段可能由于其他信息未被映射回来 (例如, 扩展号), 或者由于列表展开而在 RFC 822 一侧所做的更改而导致问题:
-
X400-Content-Type:
-
X400-Originator:
-
X400-Recipients:
-
X400-MTS-Identifier:
其他字段可以被丢弃或映射到 X.400. 进行映射通常是可取且有益的, 特别是有助于支持一条穿越多个网关的消息. 这些映射可以针对 MTA, MTS 或 IPMS 服务. 对此逆向映射的支持级别应当在网关一致性声明中说明.
5.2. 内容返回
目前尚不清楚 X.400 内容返回 (return of contents) 服务的支持有多广泛. 从 X.400(1984) 的经验来看, 该服务的支持可能不是普遍的. 由于在 RFC 822 世界中期望有此服务, 因此规定了两种方法. 选择将取决于网关所服务的 X.400 社群内部对内容返回的使用情况.
在内容返回被广泛支持的环境中, 可以将内容返回作为服务来请求. 然后内容返回服务可以以直接的方式传回给终端 (RFC 822) 用户.
在内容返回未被广泛支持的环境中, 网关必须做出特殊安排来处理内容返回. 对于每一条从 RFC 822 -> X.400 传递的消息, 都不会请求内容返回, 而总会请求报告 (report). 当投递报告返回时, 网关可以注意到该消息已经投递给了所讨论的接收者. 如果收到了未投递报告, 则可以向 822-MTS 发起者发送一份有意义的报告 (包含原始消息的部分或全部). 如果某个接收者没有收到报告, 则应当向 822-MTS 发起者发送一份 (超时) 失败通知. 如果网关愿意, 它可以重传 X.400 消息. 当采用这种方法时, 必须设置路由, 以便错误报告通过同一个 MTA 返回. 这种方法可能与某些路由策略结合使用时难以使用.
5.3. X.400 -> RFC 822
5.3.1. 基本方法
从传入的 IP 消息, 报告或 IP 通知生成单个 RFC 822 消息. 所有 IPMS.BodyParts 都被映射到一个单一的 RFC 822 正文. 其他服务被映射到 RFC 822 头字段. 在没有适当的现有字段的情况下, 为 IPMS, MTS 和 MTA 服务定义新字段.
网关机制将对应于 MTS 投递 (Delivery). 与提交一样, 也存在使用 MTA (传输) 服务的方面. 特别是, 有一个优化以允许有多个 822-MTS 接收者.
5.3.2. RFC 822 设置
一个 RFC 822 服务要求在 RFC 822 头中具有许多强制字段. 某些 822-MTS 服务强制要求指定一个 822-MTS 发起者. 即使在可选的情况下, 通常也期望指定一个值. 定义了以下默认值, 在规定的映射未推导出值时应使用它们:
822-MTS 发起者. 如果映射未生成它 (例如对于一份投递报告), 则应当分配一个指向网关管理员的值.
Date:. 总是会生成一个值.
From: 如果映射未生成它, 则分配等于. 822-MTS 发起者的值. 如果这是由网关生成的, 应当添加一个适当的 822.phrase.
至少一个接收者字段. 如果没有生成接收者字段, 则应当添加字段 "To: list:;".
这将确保最小的 RFC 822 合规性. 在生成 RFC 822 头时, 可以使用折叠 (folding). 建议按照 RFC 822 的指南进行.
5.3.3. 基本映射
5.3.3.1. 已编码信息类型
这从 MTS.EncodedInformationTypes 的映射在几个不相关联的地方都需要. EBNF 定义如下:
encoded-info = 1#encoded-type
encoded-type = built-in-eit / object-identifier
built-in-eit = "Undefined" ; undefined (0)
/ "Telex" ; tLX (1)
/ "IA5-Text" ; iA5Text (2)
/ "G3-Fax" ; g3Fax (3)
/ "TIF0" ; tIF0 (4)
/ "Teletex" ; tTX (5)
/ "Videotex" ; videotex (6)
/ "Voice" ; voice (7)
/ "SFD" ; sFD (8)
/ "TIF1" ; tIF1 (9)
MTS.EncodedInformationTypes 被映射到 EBNF.encoded-info.
MTS.EncodedInformationTypes.non-basic-parameters 被忽略. 内置类型被映射到固定字符串 (与 X.400(1984) 和 RFC 987 兼容), 其他类型被映射到 EBNF.object-identifier.
5.3.3.2. 全局域标识符
以下简单的 EBNF 用于表示 MTS.GlobalDomainIdentifier:
global-id = std-or-address
这是使用 std-or-address 语法为全局域标识符内的属性编码的.
5.3.4. 从 IP 消息的映射
考虑一个 IPM 必须被映射到 RFC 822. IPMS.IPM 由一个 IPMS.IPM.heading 和一个 IPMS.IPM.body 组成. 首先考虑标题. 为新字段定义了一些 EBNF:
ipms-field = "Obsoletes" ":" 1#msg-id
/ "Expiry-Date" ":" date-time
/ "Reply-By" ":" date-time
/ "Importance" ":" importance
/ "Sensitivity" ":" sensitivity
/ "Autoforwarded" ":" boolean
/ "Incomplete-Copy" ":"
/ "Language" ":" language
/ "Message-Type" ":" message-type
/ "Discarded-X400-IPMS-Extensions" ":" 1#oid
importance = "low" / "normal" / "high"
sensitivity = "Personal" / "Private" /
"Company-Confidential"
language = 2*ALPHA [ language-description ]
language-description = printable-string
message-type = "Delivery Report"
/ "InterPersonal Notification"
/ "Multiple Part"
现在为 IPMS.Heading 的每个元素规定了映射和动作. 地址和消息标识符根据第 4 章进行映射. 其他映射有解释, 或者是直接的 (算法性的). 如果包含地址的字段包含零个元素, 应当丢弃它, IPMS.Heading.blind-copy-recipients 除外, 它可以被映射到 BCC: (唯一允许零个接收者的 RFC 822 字段).
IPMS.Heading.this-IPM. 映射到 "Message-ID:".
IPMS.Heading.originator. 如果 IPMS.Heading.authorizing-users 存在, 则映射到 Sender:, 否则映射到 "From:".
IPMS.Heading.authorizing-users. 映射到 "From:".
IPMS.Heading.primary-recipients. 映射到 "To:".
IPMS.Heading.copy-recipients. 映射到 "Cc:".
IPMS.Heading.blind-copy-recipients. 映射到 "Bcc:".
IPMS.Heading.replied-to-ipm. 映射到 "In-Reply-To:".
IPMS.Heading.obsoleted-IPMs. 映射到扩展的 RFC 822 字段 "Obsoletes:".
IPMS.Heading.related-IPMs. 映射到 "References:".
IPMS.Heading.subject. 映射到 "Subject:". 内容被转换为 ASCII (如第 3 章所定义). 任何 CRLF 都不被映射, 而是用作主题字段必须折叠的位置点.
IPMS.Heading.expiry-time. 映射到扩展的 RFC 822 字段 "Expiry-Date:".
IPMS.Heading.reply-time. 映射到扩展的 RFC 822 字段 "Reply-By:".
IPMS.Heading.reply-recipients. 映射到 "Reply-To:".
IPMS.Heading.importance. 映射到扩展的 RFC 822 字段 "Importance:".
IPMS.Heading.sensitivity. 映射到扩展的 RFC 822 字段 "Sensitivity:".
IPMS.Heading.autoforwarded. 映射到扩展的 RFC 822 字段 "Autoforwarded:".
标准扩展 (X.420 / ISO 10021-7 的附录 H) 映射如下:
incomplete-copy. 映射到扩展的 RFC 822 字段 "Incomplete-Copy:".
language. 映射到扩展的 RFC 822 字段 "Language:", 填写两个字母的代码. language-description 可以填写该语言的可读描述, 建议这样做.
如果找到了 RFC 822 扩展头, 它应当根据第 5.1.2 节的描述映射到 RFC 822 头.
如果找到了非标准扩展, 它应当被丢弃, 除非网关理解该扩展并且能执行到 RFC 822 头字段的适当映射. 如果扩展被丢弃, 该列表在扩展的 RFC 822 字段 "Discarded-X400- IPMS-Extensions:" 中指示.
IPMS.Body 被映射到 RFC 822 消息正文. 每个 IPMS.BodyPart 转换为 ASCII 如下:
IPMS.IA5Text. 映射是直接进行的 (见第 3 章).
IPMS.MessageBodyPart. X.400 -> RFC 822 映射被递归地应用, 以生成一个 RFC 822 消息. 如果存在, IPMS.MessageBodyPart.parameters.delivery-envelope 用于 MTS 抽象服务映射. 如果存在, IPMS.MessageBodyPart.parameters.delivery-time 映射到扩展的 RFC 822 字段 "Delivery-Date:".
其他. 如果其他正文部分可以通过使用 X.408 [CCITT88a] 中定义的映射, 或其他合理的映射, 映射到 IA5, 则应当这样做, 除非禁止内容转换.
如果某些或全部正文部分无法被转换, 有三种选择. 所有这些选择都符合本标准. 对于无法转换任何正文部分的情况, 可以作出不同的选择:
1. 第一种选择是拒收消息, 并发送一份未投递通知. 如果禁止转换, 这必须总是进行.
2. 第二种选择是将缺失的正文部分映射为类似以下内容. 的风格: ********************************* There was a foobarhere The widget gateway ate it ********************************* 这将允许传输一些有用的信息. 由于接收者很可能是人 (IPMS), 通常可以采取适当的动作.
3. 最后, 两者都可以进行. 在这种情况下, (正向) 投递报告中的补充信息. 应当清楚地说明, 某些内容在信息大量丢失的情况下被发送给了接收者.
当有多个 IPMS.BodyPart 时, 使用 Rose 和 Stefferud 在 [Rose85a] 中定义的映射, 将单独的 IPMS.BodyParts 映射到单一的 RFC 822 消息正文中. 如果这样做, 应当添加一个值为 "Multiple part" 的 "Message-Type:" 字段, 它将向接收网关指示该消息可以根据 RFC 934 被展开.
注意: 目前正在进行一项工作, 以产生对 RFC 934 的升级, 它也支持具有非 ASCII 内容的正文部分 (MIME). 当这项工作作为 RFC 发布时, 本规范将被更新为引用它而非 RFC 934.
为了与 RFC 987 向后兼容, 还应当遵循以下过程. 如果有两个 IA5 正文部分, 并且第一个正文部分的第一行以字符串 "RFC-822-Headers:" 开头, 那么该正文部分的其余部分应当被追加到 RFC 822 头中.
下面给出一个示例消息, 说明了若干方面.
Return-Path:<@mhs-relay.ac.uk:[email protected]>
Received: from mhs-relay.ac.uk by bells.cs.ucl.ac.uk via JANET
with NIFTP id <[email protected]>;
Thu, 30 May 1991 18:24:55 +0100
X400-Received: by mta "mhs-relay.ac.uk" in. /PRMD=uk.ac/ADMD= /C=gb/; Relayed; Thu, 30 May 1991 18:23:26 +0100
X400-Received: by /PRMD=HMG/ADMD=GOLD 400/C=GB/; Relayed;. Thu, 30 May 1991 18:20:27 +0100
Message-Type: Multiple Part
Date: Thu, 30 May 1991 18:20:27 +0100
X400-Originator: [email protected]
X400-MTS-Identifier:
[/PRMD=HMG/ADMD=GOLD 400/C=GB/;PC1000-910530172027-57D8]
Original-Encoded-Information-Types: ia5, undefined
X400-Content-Type: P2-1984 (2)
Content-Identifier: Email Problems
From: [email protected] (Tel +44 71 217 3487)
Message-ID: <PC1000-910530172027-57D8*@MHS>
To: Jim Craigie <[email protected]>
562*/S=Eppenberger/OU=verw/O=switch/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS
Subject: Email Problems
Sender: [email protected]
------------------------------ Start of body part 1
Hope you gentlemen.......
Regards,
Stephen Harrison
UK GOSIP Project
------------------------------ Start of forwarded message 1
From: Urs Eppenberger <[email protected]>
Message-ID:
生成一条消息, 包含以下字段:
From:. 设置为 IPMS.IPN.ipn-originator.
To: 设置为来自 MTS.MessageSubmissionEnvelope 的接收者.
To: "Stephen.Harrison" <[email protected]>
Cc: [email protected]
Subject: Response to Email link
- ------------------------------ Start of body part 1
Dear Mr Harrison......
- ------------------------------ End of body part 1
------------------------------ End of forwarded message 1
5.3.5. 从 IP 通知的映射
Subject:. 对于回执通知设置为字符串 "X.400 Inter-Personal Notification", 对于非回执通知设置为 "X.400 Inter-Personal Notification (failure)".
Message-Type:. 设置为 "InterPersonal Notification".
References:. 设置为 IPMS.IPN.subject-ipm.
为消息正文定义了以下 EBNF. 定义此格式是为了确保来自人际通知的所有信息能够以一致的方式提供给终端用户.
If there have been redirects, the original address should be
used.
IPMS.IPN 公共字段 (IPMS.CommonFields) 的元素到此结构以及消息头的映射为:
subject-ipm. 映射到 "References:".
ipn-originator. 映射到 "From:".
ipn-preferred-recipient. 映射到 EBNF.preferred-recipient.
conversion-eits. 映射到 EBNF.ipn-extra-information 中的 EBNF.encoded-info.
IPMS.IPN.non-receipt-fields (IPMS.NonReceiptFields) 的元素的映射为:
non-receipt-reason. 用于在 EBNF.ipn-discarded 和 EBNF.ipn-auto-forwarded 之间选择.
discard-reason. 映射到 EBNF.discard-reason.
auto-forward-comment. 映射到 EBNF.auto-comment.
returned-ipm. 这仅适用于非回执通知. 对于回执通知, EBNF.ipn-content-return 应当总是被省略, 而在非回执通知中总是存在. 如果存在, 则选择 EBNF.ipn-content-return 的第二个选项, 并包含该消息的 RFC 822 映射. 否则选择第一个选项.
IPMS.IPN.receipt-fields (IPMS.ReceiptFields) 的元素的映射为:
receipt-time. 映射到 EBNF.receipt-time.
acknowledgement-mode. 映射到 EBNF.acknowledgement-mode.
suppl-receipt-info. 映射到 EBNF.ipn-suppl.
一个示例通知如下:
ipn-body-format = ipn-description <CRLF>
[ ipn-extra-information <CRLF> ]
[ ipn-content-return ]
ipn-description = ipn-receipt / ipn-non-receipt
ipn-receipt = "Your message to:" preferred-recipient <CRLF>
"was received at" receipt-time <CRLF> <CRLF>
"This notification was generated"
acknowledgement-mode <CRLF>
"The following extra information was given:" <CRLF>
ipn-suppl <CRLF>
ipn-non-receipt "Your message to:"
preferred-recipient <CRLF>
ipn-reason
ipn-reason = ipn-discarded / ipn-auto-forwarded
ipn-discarded = "was discarded for the following reason:"
discard-reason <CRLF>
ipn-auto-forwarded = "was automatically forwarded." <CRLF>
[ "The following comment was made:"
auto-comment ]
ipn-extra-information =
"The following information types were converted:"
encoded-info
ipn-content-return = "The Original Message is not available"
/ "The Original Message follows:"
<CRLF> <CRLF> message
preferred-recipient = mailbox
receipt-time = date-time
auto-comment = printablestring
ipn-suppl = printablestring
discard-reason = "Expired" / "Obsoleted" /
"User Subscription Terminated"
acknowledgement-mode = "Manually" / "Automatically"
本节描述针对用户消息 (IPM 和 IPN) 的 MTS 映射. 该映射通过指定 MTS.MessageDeliveryEnvelope 的映射来定义. 定义了以下对 RFC 822 的扩展以支持此映射:
From: Steve Kille <[email protected]>
To: Julian Onions <[email protected]>
Subject: X.400 Inter-personal Notification
Message-Type: InterPersonal Notification
References: <[email protected]>
Date: Wed, 21 Jun 89 08:45:25 +0100
Your message to: Steve Kille <[email protected]>
was automatically forwarded.
The following comment was made:
Sent on to a random destination
The following information types were converted: g3fax
5.3.6. 从 MTS 抽象服务的映射
现在可以考虑 MTS.MessageDeliveryEnvelope 每个元素的映射.
MTS.MessageDeliveryEnvelope.message-delivery-identifier. 映射到扩展的 RFC 822 字段 "X400-MTS-Identifier:".
MTS.MessageDeliveryEnvelope.message-delivery-time. 丢弃, 因为此时间将由适当的跟踪元素表示.
MTS.MessageDeliveryEnvelope.other-fields (MTS.OtherMessageDeliveryFields) 的元素的映射为:
content-type. 映射到扩展的 RFC 822 字段 "X400-Content-Type:". 字符串 "P2" 被保留以与 RFC 987 向后兼容. 不应生成它, 而应使用 EBNF.labelled-integer 或 EBNF.object-identifier 编码.
originator-name. 映射到 822-MTS 发起者, 以及扩展的 RFC 822 字段 "X400-Originator:". 这在第 4.6.2 节中描述.
original-encoded-information-types. 映射到扩展的 RFC 822 字段 "Original-Encoded-Information-Types:".
priority. 映射到扩展的 RFC 822 字段 "Priority:".
delivery-flags. 如果设置了 conversion-prohibited 位, 添加扩展的 RFC 822 字段 "Conversion:".
this-recipient-name 和 other-recipient-names
originally-intended-recipient-name. 这些元素的处理在第 4.6.2 节中描述.
converted-encoded-information-types. 丢弃, 因为它将始终是仅 IA5.
message-submission-time. 映射到 Date:.
content-identifier. 映射到扩展的 RFC 822 字段 "Content-Identifier:".
如果任何扩展 (MTS.MessageDeliveryEnvelope.other-fields.extensions) 存在, 并且它们被标记为对传输或投递是关键的, 则消息应当被拒收. 这些扩展 (MTS.MessageDeliveryEnvelope.other-fields.extensions) 映射如下.
conversion-with-loss-prohibited
如果设置为
MTS.ConversionWithLossProhibited.conversion-with-loss-prohibited, 则添加扩展的 RFC 822 字段 "Conversion-With-Loss:".
requested-delivery-method. 映射到扩展的 RFC 822 字段 "Requested-Delivery-Method:".
originator-return-address. 映射到扩展的 RFC 822 字段 "Originator-Return-Address:".
physical-forwarding-address-request physical-delivery-modes
registered-mail-type recipient-number-for-advice
physical-rendition-attributes physical-delivery-report-request
physical-forwarding-prohibited
mts-field = "X400-MTS-Identifier" ":" mts-msg-id
/ "X400-Originator" ":" mailbox
/ "X400-Recipients" ":" 1#mailbox
/ "Original-Encoded-Information-Types" ":"
encoded-info
/ "X400-Content-Type" ":" mts-content-type
/ "Content-Identifier" ":" printablestring
/ "Priority" ":" priority
/ "Originator-Return-Address" ":" 1#mailbox
/ "DL-Expansion-History" ":" mailbox ";" date-time ";"
/ "Conversion" ":" prohibition
/ "Conversion-With-Loss" ":" prohibition
/ "Requested-Delivery-Method" ":"
1*( labelled-integer )
/ "Delivery-Date" ":" date-time
/ "Discarded-X400-MTS-Extensions" ":"
1#( oid / labelled-integer )
prohibition = "Prohibited" / "Allowed"
mts-msg-id = "[" global-id ";" *text "]"
mts-content-type = "P2" / labelled-integer
/ object-identifer
priority = "normal" / "non-urgent" / "urgent"
originator-certificate message-token
content-confidentiality-algorithm-identifier content-integrity-check
message-origin-authentication-check message-security-label
proof-of-delivery-request
These elements are only appropriate for physical delivery.
They are represented as comments in the "X400-Recipients:"
field, as described in Section 4.6.2.2.
redirection-history. 这在第 4.6.2 节中描述.
dl-expansion-history. 每个元素映射到扩展的 RFC 822 字段 "DL-Expansion-History:". 它们应当在消息头中排序, 以便最近的展开排在最前 (与跟踪相同的顺序).
如果存在任何未在 X.400 中规定的 MTS (或 MTA) 扩展, 并且它们被标记为对传输或投递是关键的, 则消息应当被拒收. 如果它们未被如此标记, 则可以安全地丢弃. 被丢弃字段的列表应当在扩展头 "Discarded-X400-MTS-Extensions:" 中指示.
These elements imply use of security services not available
in the RFC 822 environment. If they are marked as critical
for transfer or delivery, then the message shall be
rejected. Otherwise they are discarded.
在 MTA 抽象服务层有一些针对 IPM 和 IPN 的映射. 这些可以从 MTA.MessageTransferEnvelope 推导而来. 在此层进行映射的原因, 以及分层违例, 是:
-
允许多个接收者共享一条 RFC 822 消息.
-
使 X.400 跟踪信息在 RFC 822 一侧可用.
-
使任何关于延迟投递的信息可用.
822-MTS 接收者是从完整的 X.400 接收者列表中计算出来的. 这是 MTA.MessageTransferEnvelope.per-recipient-fields 的所有成员, 通过网关传递, 且责任 (responsibility) 位被设置. 在某些情况下, 由于每个接收者的服务请求不同, 会为每个接收者计算不同的 RFC 822 消息. 如 4.6.2.2 所述, 本规范允许生成多条消息, 或者丢弃每接收者信息.
为扩展的 RFC 822 头定义了以下 EBNF:
5.3.7. 从 MTA 抽象服务的映射
请注意, EBNF.mta 被编码为 822.word. 如果字符集不允许编码为 822.atom, 则使用 822.quoted-string 编码.
如果 MTA.PerMessageTransferFields.deferred-delivery-time 存在, 它用于生成 Deferred-Delivery: 字段. 出于某种原因, X.400 在投递时不将此信息在 MTS 层提供. X.400 配置文件, 特别是 X.400(1984) 的 CEN/CENELEC 配置文件 [Systems85a], 规定此元素必须在第一个 MTA 被支持. 如果不支持, 该功能可以由网关选择性地实现: 即网关可以将消息保留到协议元素中指定的时间. 因此, 此元素的值通常将在过去. 由于这个原因, 扩展的 RFC 822 字段主要是用于提供信息.
合并 MTA.PerMessageTransferFields.trace-information 和 MTA.PerMessageTransferFields.internal-trace-information 以产生一个单一的, 有序的跟踪列表. 如果来自其他管理域的内部跟踪未被剥离, 这可能需要复杂的穿插. 当内部跟踪和外部跟踪的某个元素除了内部跟踪中的 MTA 之外完全相同, 则只应呈现内部跟踪元素. 用它来生成一系列 "X400-Received:" 字段. 外部跟踪和内部跟踪之间唯一的区别在于内部跟踪元素中额外的 MTA 信息.
在生成 RFC 822 消息时, 所有跟踪字段 (X400-Received 和 Received) 应当位于头的开头, 在任何其他字段之前. 跟踪应当按时间顺序排列, 最新的元素在消息的前面. 此顺序由字段的顺序决定, 而不是由跟踪中的时间戳决定, 因为不能保证时钟同步. 一个简单的示例跟踪 (外部) 是:
X400-Received: by /PRMD=UK.AC/ADMD=Gold 400/C=GB/ ; Relayed ;. Tue, 20 Jun 89 19:25:11 +0100
一个更复杂的示例 (内部):
X400-Received: by mta "UK.AC.UCL.CS". in /PRMD=UK.AC/ADMD=Gold 400/C=GB/ ; deferred until Tue, 20 Jun 89 14:24:22 +0100 ; converted (undefined, g3fax) ";" attempted /ADMD=Foo/C=GB/ ; Relayed, Expanded, Redirected ; Tue, 20 Jun 89 19:25:11 +0100
mta-field = "X400-Received" ":" x400-trace
/ "Deferred-Delivery" ":" date-time
/ "Latest-Delivery-Time" ":" date-time
x400-trace = "by" md-and-mta ";"
[ "deferred until" date-time ";" ]
[ "converted" "(" encoded-info ")" ";" ]
[ "attempted" md-or-mta ";" ]
action-list
";" arrival-time
md-and-mta = [ "mta" mta "in" ] global-id
mta = word
arrival-time = date-time
md-or-mta = "MD" global-id
/ "MTA" mta
Action-list = 1#action
action = "Redirected"
/ "Expanded"
/ "Relayed"
/ "Rerouted"
投递报告在 MTS 服务层进行映射. 这意味着只有以 MTS 用户为目的地的报告才会被映射. 还有一些附加服务也是从 MTA 服务中提取的.
5.3.8. 从 Report Delivery 的映射
一份投递报告服务将被表示为 MTS.ReportDeliveryEnvelope, 它由每报告字段 (MTS.PerReportDeliveryFields) 和每接收者字段组成.
生成一条消息, 包含以下字段:
From:. 网关系统的一位管理员. 这也是 822-MTS 发起者.
To: 对 MTA.ReportTransferEnvelope.report-destination-name 的映射. 这也是 822-MTS 接收者.
Message-Type:. 设置为 "Delivery Report".
Subject:. 主题行的 EBNF 是: subject-line = "Delivery-Report" "(" status ")" [ "for" destination ] status = "success" / "failure" / "success and failures" destination = mailbox / "MTA" word
消息正文的格式被定义, 以确保所有信息以一致的方式传递给 RFC 822 用户. 该格式被构造得就像一条来自 X.400 的消息, 描述在一个正文部分中, 而转发消息 (内容返回) 在第二个正文部分中. 这种结构对 RFC 822 接收者很有用, 因为它使原始消息能够被提取出来. 第一个正文部分的结构如下:
5.3.8.1. MTS 映射
该格式被定义为外层 (EBNF.dr-body-format) 的一个固定定义. 元素 EBNF.dr-administrator-info-envelope 提供了一种以对终端用户清晰的方式封装头的一个区段的方法. 该区段的每一行都以 "" 开头. EBNF.text 在 EBNF.dr-administrator-info-envelope 中的每个元素不得包含
MTS.ReportDeliveryEnvelope.per-report-fields 的元素映射如下到扩展的 RFC 822 字段:
subject-submission-identifier. 映射到 EBNF.drc-field (Subject-Submission-Identifier).
content-identifier. 映射到 EBNF.drc-field (Content-Identifier). 如果没有内容关联符 (Content Correlator) 存在, 它也应当在 EBNF.dr-summary 中使用.
content-type. 映射到 EBNF.drc-field (Content-Type).
original-encoded-information-types. 映射到 EBNF.drc-field (Encoded-Info).
MTS.ReportDeliveryEnvelope.per-report-fields.extensions 的扩展映射如下:
originator-and-DL-expansion-history. 映射到 EBNF.drc-field (Originator-and-DL-Expansion- History).
reporting-DL-name. 映射到 EBNF.drc-field (Reporting-DL-Name).
content-correlator. 映射到 EBNF.content-correlator, 前提是编码为 IA5String (这总是成立). 它在 EBNF.dr-summary 和 EBNF.drc-field-list 中使用. 在前者中, 可以添加 LWSP 以改善消息的排版.
message-security-label reporting-MTA-certificate report-origin-authentication-check
1. 几行给出关键词, 以指示原始消息.
对于 MTS.ReportDeliveryEnvelope.per-recipient-fields 的每个元素, 生成一个 EBNF.dr-recipient 值和一个 EBNF.drc-field (Recipient-Info). 组件的映射如下.
actual-recipient-name. 用于生成 EBNF.recipient-info 中的第一个 EBNF.mailbox 和 EBNF.std-or. 同时给出 RFC 822 和 X.400 两种形式, 因为在映射表中可能会有问题. 它还会生成 EBNF.dr-recip-success 或 EBNF.dr-recip-failure 中的 EBNF.mailbox.
report. 如果是 MTS.Report.delivery, 则将 EBNF.dr-recipient 设置为 EBNF.dr-recip-success, 并类似地设置 EBNF.report-type, 填写 EBNF.drc-success. 如果是失败, 则将 EBNF.dr-recipient 设置为 EBNF.dr-recip-failure, 对 reason 和 diagnostic 代码作出人类解释, 并包含任何补充信息. EBNF.drc-failure 被系统地填写.
converted-encoded-information-types. 设置 EBNF.drc-field ("converted eits").
originally-intended-recipient. 设置 EBNF.drc-field 中的第二个 ("originally intended recipient") mailbox 和 std-or.
supplementary-info. 设置 EBNF.drc-field ("supplementary info"), 并将此信息包含在 EBNF.dr-recip-failure 中.
redirection-history. 设置 EBNF.drc-field ("redirection history").
physical-forwarding-address. 设置 EBNF.drc-field ("physical forwarding address").
recipient-certificate. 丢弃.
proof-of-delivery. 丢弃.
任何未知的扩展都应当被丢弃, 无论其紧要性 (criticality) 如何.
原始消息, 或者它的摘录, 应当在可用时包含在投递端口中. 正如第 5.2 节所讨论的, 原始消息通常会在网关处可用. 如果原始消息可用, 但格式有误, 可以包含 ASN.1 的转储. 这是推荐的, 但不是必须的.
2. 对所报告的每个接收者状态的人类摘要.
单个 822-MTS 接收者由 MTA.ReportTransferEnvelope.report-destination-name 使用第 4 章的映射构建. 与用户消息不同, 此信息在 MTS 层不可用.
进行了以下附加映射:
MTA.ReportTransferEnvelope.report-destination-name. 这用于生成 To: 字段.
MTA.ReportTransferEnvelope.identifier. 映射到扩展的 RFC 822 字段 "X400-MTS-Identifier:". 它也可以用来推导一个 "Message-Id:" 字段.
MTA.ReportTransferEnvelope.trace-information. 和
MTA.ReportTransferEnvelope.internal-trace-information. 映射到扩展的 RFC 822 字段 "X400-Received:", 如第 5.3.7 节所述. 第一个元素也用于生成 "Date:" 字段和 EBNF.report-point.
MTA.PerRecipientReportTransferFields.last-trace-information. 映射到 EBNF.recipient-info (last trace).
MTA.PerReportTransferFields.subject-intermediate-trace-information. 映射到 EBNF.drc-field (Subject-Intermediate- Trace-Information). 这些字段被排序, 以便最新的跟踪元素排在最前.
3. 一个清晰标记的部分, 包含从报告中提取的详细信息. 这部分被清晰标记, 因为它对普通用户来说无法理解. 它被保留, 因为它可能对诊断一个疑难问题至关重要. 这部分在正向 DR 中可被省略, 并且建议这对大多数网关是合适的.
示例投递报告 1:
Return-Path: [email protected] Received: from cs.ucl.ac.uk by bells.cs.ucl.ac.uk
dr-body-format = dr-summary <CRLF>
dr-recipients <CRLF>
dr-administrator-info-envelope <CRLF>
dr-content-return
dr-content-return = "The Original Message is not available"
/ "The Original Message follows:"
dr-summary = "This report relates to your message:" <CRLF>
content-correlator <CRLF> <CRLF>
"of" date-time <CRLF> <CRLF>
dr-recipients = *(dr-recipient <CRLF> <CRLF>)
dr-recipient = dr-recip-success / dr-recip-failure
dr-recip-success =
"Your message was successfully delivered to:"
mailbox "at" date-time
dr-recip-failure = "Your message was not delivered to:"
mailbox <CRLF>
"for the following reason:" *word
dr-administrator-info-envelope = 3*( "*" text <CRLF> )
dr-administrator-info =
"**** The following information is directed towards"
"the local administrator" <CRLF>
"**** and is not intended for the end user" <CRLF> <CRLF>
"DR generated by:" report-point <CRLF>
"at" date-time <CRLF> <CRLF>
"Converted to RFC 822 at" mta <CRLF>
"at" date-time <CRLF> <CRLF>
"Delivery Report Contents:" <CRLF> <CRLF>
drc-field-list <CRLF>
"***** End of administration information"
drc-field-list = *(drc-field <CRLF>)
drc-field = "Subject-Submision-Identifier" ":"
mts-msg-id
/ "Content-Identifier" ":" printablestring
/ "Content-Type" ":" mts-content-type
/ "Original-Encoded-Information-Types" ":"
encoded-info
/ "Originator-and-DL-Expansion-History" ":"
dl-history
/ "Reporting-DL-Name" ":" mailbox
/ "Content-Correlator" ":" content-correlator
/ "Recipient-Info" ":" recipient-info
/ "Subject-Intermediate-Trace-Information" ":"
x400-trace
recipient-info = mailbox "," std-or ";"
report-type
[ "converted eits" encoded-info ";" ]
[ "originally intended recipient"
mailbox "," std-or ";" ]
[ "last trace" [ encoded-info ] date-time ";" ]
[ "supplementary info" <"> printablestring <"> ";" ]
[ "redirection history" 1#redirection ";"
[ "physical forwarding address"
printablestring ";" ]
report-type = "SUCCESS" drc-success
/ "FAILURE" drc-failure
drc-success = "delivered at" date-time ";"
[ "type of MTS user" labelled-integer ";" ]
drc-failure = "reason" labelled-integer ";"
[ "diagnostic" labelled-integer ";" ]
report-point = [ "mta" word "in" ] global-id
content-correlator = *word
dl-history = 1#( mailbox "(" date-time ")")
From: UCL-CS MTA [email protected] To: [email protected]
Subject: Delivery Report (failure) for [email protected] Message-Type: Delivery Report Date: Thu, 7 Feb 1991 15:48:39 +0000 Message-ID:
<"bells.cs.u.694:07.01.91.15.48.34"@cs.ucl.ac.uk> Content-Identifier: Greetings.
- ----------------------------- Start of body part 1
This report relates to your message: Greetings.
These security parameters will not be present unless there
is an error in a remote MTA. If they are present, they
shall be discarded in preference to discarding the whole
report.
Your message was not delivered to. [email protected] for the following reason: Bad Address MTA 'bbn.com' gives error message (USER) Unknown user name in "[email protected]"
5.3.8.2. MTA 映射
..... continued on next page
- Delivery Report Contents:
5.3.8.3. 示例投递报告
The Original Message follows:
------------------------------ Start of forwarded message 1
Received: from glenlivet.cs.ucl.ac.uk by bells.cs.ucl.ac.uk
via Delivery Reports Channel id <[email protected]>;
Thu, 7 Feb 1991 15:48:39 +0000
To: [email protected] Subject: Greetings. Phone: +44-71-380-7294 Date: Thu, 07 Feb 91 15:48:18 +0000 Message-ID: [email protected] From: Steve Kille [email protected]
Steve
------------------------------ End of forwarded message 1
示例投递报告 2:
Return-Path: [email protected] Received: from cs.ucl.ac.uk by bells.cs.ucl.ac.uk
of Thu, 7 Feb 1991 15:48:20 +0000
/PRMD=uk.ac/ADMD=gold 400/C=gb/; Relayed; Thu, 7 Feb 1991 15:49:08 +0000
***** The following information is directed towards the local
***** administrator and is not intended for the end user
*
* DR generated by mta bells.cs.ucl.ac.uk
* in /PRMD=uk.ac/ADMD=gold 400/C=gb/
* at Thu, 7 Feb 1991 15:48:34 +0000
*
* Converted to RFC 822 at bells.cs.ucl.ac.uk
* at Thu, 7 Feb 1991 15:48:40 +0000
*
Thu, 7 Feb 1991 15:48:40 +0000
*
* Subject-Submission-Identifier:
* [/PRMD=uk.ac/ADMD=gold 400/C=gb/;<[email protected]>]
* Content-Identifier: Greetings.
* Subject-Intermediate-Trace-Information:
/PRMD=uk.ac/ADMD=gold 400/C=gb/;
* arrival Thu, 7 Feb 1991 15:48:20 +0000 action Relayed
* Subject-Intermediate-Trace-Information:
/PRMD=uk.ac/ADMD=gold 400/C=gb/;
* arrival Thu, 7 Feb 1991 15:48:18 +0000 action Relayed
* Recipient-Info: [email protected],
* /RFC-822=H.Hildegard(a)bbn.com/OU=cs/O=ucl
/PRMD=uk.ac/ADMD=gold 400/C=gb/;
* FAILURE reason Unable-To-Transfer (1);
* diagnostic Unrecognised-ORName (0);
* last trace (ia5) Thu, 7 Feb 1991 15:48:18 +0000;
* supplementary info "MTA 'bbn.com' gives error message (USER)
* Unknown user name in "[email protected]"";
****** End of administration information
The Original Message follows:
------------------------------ Start of forwarded message 1
Received: from glenlivet.cs.ucl.ac.uk by bells.cs.ucl.ac.uk
The Original Message is not available
To: [email protected]
Subject: Greetings.
Phone: +44-71-380-7294
Date: Thu, 07 Feb 91 15:48:18 +0000
Message-ID: <[email protected]>
From: Steve Kille <[email protected]>
Steve
------------------------------ End of forwarded message 1
Example Delivery Report 2:
Return-Path: <[email protected]>
Received: from cs.ucl.ac.uk by bells.cs.ucl.ac.uk
这是一个 MTS 内部问题. 任何探测都应当由网关来处理, 因为没有等效的 RFC 822 功能. 回复的值取决于网关能否以探测中指定的值来服务一条 MTS 消息. 回复应当利用 MTS.SupplementaryInformation 来指示该探测是由网关服务的.
X400-Received: by mta bells.cs.ucl.ac.uk in
/PRMD=uk.ac/ADMD=gold 400/C=gb/; Relayed; Thu, 7 Feb 1991 15:49:08 +0000
X400-Received: by /PRMD=DGC/ADMD=GOLD 400/C=GB/; Relayed;
Thu, 7 Feb 1991 15:48:40 +0000
From: UCL-CS MTA <[email protected]>
To: [email protected]
Subject: Delivery Report (failure) for
Message-Type: Delivery Report
Date: Thu, 7 Feb 1991 15:49:11 +0000
Message-ID: <"DLE/910207154840Z/000"@cs.ucl.ac.uk>
Content-Identifier: A useful mess...
This report relates to your message: A useful mess...
Your message was not delivered to
[email protected]
for the following reason:
Bad Address
DG 21187: (CEO POA) Unknown addressee.
***** The following information is directed towards the local
***** administrator and is not intended for the end user
*
* DR generated by /PRMD=DGC/ADMD=GOLD 400/C=GB/
* at Thu, 7 Feb 1991 15:48:40 +0000
*
* Converted to RFC 822 at bells.cs.ucl.ac.uk
* at Thu, 7 Feb 1991 15:49:12 +0000
*
* Delivery Report Contents:
*
* Subject-Submission-Identifier:
* [/PRMD=uk.ac/ADMD=gold 400/C=gb/;<[email protected]>]
* Content-Identifier: A useful mess...
* Recipient-Info: [email protected],
* /I=j/S=nosuchuser/OU=dle/O=cambridge/PRMD=DGC/ADMD=GOLD 400/C=GB/;
* FAILURE reason Unable-To-Transfer (1);
* diagnostic Unrecognised-ORName (0);
* supplementary info "DG 21187: (CEO POA) Unknown addressee.";
****** End of administration information
The Original Message is not available
5.3.9. 探测
这是一个 MTS 内部的问题. 任何探测 (Probe) 都应由网关处理, 因为 RFC 822 中没有等价的
功能. 应答的值取决于网关是否能处理带有探测中所指定值的 MTS 消息. 应答应当使用
MTS.SupplementaryInformation 来表明该探测已由网关处理.