第7頁
--------------------------------------------------------------------------------------------------------
These symbols are:
- individual special characters
- quoted-strings
- domain-literals
- comments
- atoms
The first four of these symbols are self-delimiting. Atoms
are not; they are delimited by the self-delimiting symbols and
by linear-white-space. For the purposes of regenerating
sequences of atoms and quoted-strings, exactly one SPACE is
assumed to exist, and should be used, between them. (Also, in
the "Clarifications" section on "White Space", below, note the
rules about treatment of multiple contiguous LWSP-chars.)
So, for example, the folded body of an address field
":sysmail"@ Some-Group. Some-Org,
Muhammed.(I am the greatest) Ali @(the)Vegas.WBA
--------------------------------------------------------------------------------------------------------
下面這些符號組合(是結構化的消息):
- 特殊字符
- 被引串(被引號引起來的字符串)
- 域名
- 註釋
- 詞
前四種是"本身可以確定分割界限的"(self-delimiting),詞不可以;
他們被自己的分割符號和分行符所分割。爲了分割開一組原子詞和被引號引起來的字符串,
我們假設它們之間存在一個空格( 可以在下面的"White Space"的"Clarifications"節中
找到這點,注意這個規則和如何處理多個相鄰的空格有關)
如上所說,例如,一個地址域的消息體的摺疊內容如下:
":sysmail"@ Some-Group. Some-Org,
Muhammed.(I am the greatest) Ali @(the)Vegas.WBA
--------------------------------------------------------------------------------------------------------
第8頁
--------------------------------------------------------------------------------------------------------
is analyzed into the following lexical symbols and types:
:sysmail quoted string
@ special
Some-Group atom
. special
Some-Org atom
, special
Muhammed atom
. special
(I am the greatest) comment
Ali atom
@ atom
(the) comment
Vegas atom
. special
WBA atom
The canonical representations for the data in these addresses
are the following strings:
":sysmail"@Some-Group.Some-Org
and
Note: For purposes of display, and when passing such struc-
tured information to other systems, such as mail proto-
col services, there must be NO linear-white-space
between <word>s that are separated by period (".") or
at-sign ("@") and exactly one SPACE between all other
<word>s. Also, headers should be in a folded form.
--------------------------------------------------------------------------------------------------------
上面的例子串分析完成以後,變成了下面序列的詞和類型
:sysmail 被引串
@ 特殊字符
Some-Group 詞
. 特殊字符
Some-Org 詞
, 特殊字符
Muhammed 詞
. 特殊字符
(I am the greatest) 註釋
Ali 詞
@ 詞
(the) 註釋
Vegas 詞
. 特殊字符
WBA 詞
規範的表述這個地址的方法如下:
":sysmail"@Some-Group.Some-Org
和
注意:爲了消息終端顯示,或者把這些結構化的信息傳遞到別的系統, 例如
郵件服務器. 這些被點(".")或者圈號("@")分割的詞之間一定不能存在分行符
(不能在地址中間折行),每個地址之間應該存在一個空格. 另外,地址的消息頭
應該採用摺疊的格式(大概是說應該一個地址折一行)
--------------------------------------------------------------------------------------------------------