Ben,
This section from 822 should help answer all of your questions:
"Some characters are reserved for special interpretation, such
as delimiting lexical tokens. To permit use of these charac-
ters as uninterpreted data, a quoting mechanism is provided.
To quote a character, precede it with a backslash ("\").
This mechanism is not fully general. Characters may be quoted
only within a subset of the lexical constructs. In particu-
lar, quoting is limited to use within:
- quoted-string
- domain-literal
- comment
Within these constructs, quoting is REQUIRED for CR and "\"
and for the character(s) that delimit the token (e.g., "(" and
")" for a comment). However, quoting is PERMITTED for any
character."
Meaning that if any token character is sent and stored within the server,
it then *should* be quoted (escaped) by the server when sending its
response to the receiving client if it is contained in a response that uses
the same tokens.
So in your examples, if Outlook requests the envelope for the specified
message, then the server *should* quote the parenthesis and the comma (as
well as the double-quotes themselves *if* they are stored on the server in
that manner) and Outlook should handle this accordingly, and at the very
least NOT choke on the message.
AFAIK, there are no knowledge base articles on this, although I havn't
searched very hard for it.
Chris
----------------------------------------------
Original Message
From: "IMain Admin at BC Web"<[EMAIL PROTECTED]>
Subject: Re: [IMail Forum] Something new on malformed headers
Date: Thu, 12 Apr 2001 11:13:40 -0700
>Chris,
>
>Thanks for the information. I read through the RFC, although I found it a
little challenging to follow
>(for those of us not used to
>thinking in terms of tokens and atoms). I have a couple of quick
questions:
>
>First, you mention that the "\(" is an Outlook bug. Do you know if there
is a Microsoft Knowledgebase
>article on this or other
>references?
>
>Second, after reading the RFC, it is not clear to me whether the
quote/escape character (\) is needed
>inside a quoted string. That
>is, in the line
>To: "Ben (Mail Guy)" <[EMAIL PROTECTED]>
>do the parenthesis really need to be preceded by \, since they're already
inside a quoted string?
>
>Third, the most common problem I've seen is a comma inside the quoted
string, such as
>To: "Bednarz, Ben" <[EMAIL PROTECTED]>
>Should this be preceded by a backslash? Is there a known Outlook problem
with this?
>
>Ben
>
>----- Original Message -----
>From: Chris Terrebonne <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, April 12, 2001 7:25 AM
>Subject: Re: [IMail Forum] Something new on malformed headers
>
>
>> The "\(" issue is an Outlook bug. It is the responsibility of the IMAP4
>> server to escape any element that is used as a token. For example the
>> envelope fetch uses paranthesis as a delimiter so any unescaped abtract
>> occurance of paranthesis would cause parsing problems in RFC 822/2060
>> complient clients.
>> It is the responsibility of the IMAP4 client to recognize the escape
>> sequence and format the headers accordingly.
>> See RFC822 for more info.
>> http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc0822.html
>>
>> Chris
>>
>> ----------------------------------------------
>> Original Message
>> From: "Scott Perry"<[EMAIL PROTECTED]>
>> Subject: Re: [IMail Forum] Something new on malformed headers
>> Date: Wed, 11 Apr 2001 18:49:06 -0400
>>
>> >> My first question is:
>> >> Is the formatting of the header From:, To:, Cc:, and Subject: lines
>> >> set by the sending mail client, or could is it changed at all by the
>> >> mail servers? In particular, could my IMail server change those
>> >> parts of the mail header?
>> >
>> >The From:, To:, Cc:, and Subject: headers are all added by the mail
>> client. I haven't heard of IMail
>> >ever altering those headers.
>> >
>> >
>> >--
>> > -Scott
>> >
>> >Declude: Anti-virus and Anti-spam solutions for IMail.
>> http://www.declude.com
>> >--
>> >
>> >Please visit http://www.ipswitch.com/support/mailing-lists.html
>> >to be removed from this list.
>> >
>> >An Archive of this list is available at:
>> >http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>> >
>>
>> _____________________________________________
>> Free email with personality! Over 200 domains!
>> http://www.MyOwnEmail.com
>>
>>
>> Please visit http://www.ipswitch.com/support/mailing-lists.html
>> to be removed from this list.
>>
>> An Archive of this list is available at:
>> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>>
>
>
>Please visit http://www.ipswitch.com/support/mailing-lists.html
>to be removed from this list.
>
>An Archive of this list is available at:
>http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>
_____________________________________________
Free email with personality! Over 200 domains!
http://www.MyOwnEmail.com
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/