>>>>> "Lanny" == Lanny Godsey <lannygodsey@???> writes:
Lanny> I think RFC 822 says that ; should be escaped.
It does not.
Lanny> atom = 1*<any CHAR except specials, SPACE and CTLs>
Lanny> ; being a special
The contents of a () comment are not an "atom".
3.4.3. COMMENTS
A comment is a set of ASCII characters, which is enclosed in
matching parentheses and which is not within a quoted-string
The comment construct permits message originators to add text
which will be useful for human readers, but which will be
ignored by the formal semantics. Comments should be retained
while the message is subject to interpretation according to
this standard. However, comments must NOT be included in
other cases, such as during protocol exchanges with mail
servers.
Comments nest, so that if an unquoted left parenthesis occurs
in a comment string, there must also be a matching right
parenthesis. When a comment acts as the delimiter between a
sequence of two lexical symbols, such as two atoms, it is lex-
ically equivalent with a single SPACE, for the purposes of
regenerating the sequence, such as when passing the sequence
onto a mail protocol server. Comments are detected as such
only within field-bodies of structured fields.
"Received" is a structured field, and the "(Exim; whatever)" comment
is simply inserted in the whitespace between the "with" clause and
the following clause.
--
Andrew, Supernews
http://www.supernews.com