procmail
[Top] [All Lists]

Re: A Mime question

1999-04-23 15:19:55
Matthew Saroff <saroff(_at_)poseidon(_dot_)vs(_dot_)lmco(_dot_)com> writes:
      I'm using a rather old version of Zmail to view my mail, and it handles
mime, except for sturr from Microsoft Outlook with an error about bad
separators.
      Upon examination, it seems that there are plus signs in the separators.
Is this allowed in mime, or is it a Microsoftism?
      It's kind of Ironic, as I'm using zmail to avoid using outlook.

Plus signs are legal in the multipart boundaries and they don't even
need to be quoted in the Content-Type: header.  The same is true of the
single quote, underbar, minus sign, and period characters, as well as
letter and numbers (of course).  Some other characters are allowed if
the boundary is quoted in the Content-Type: header.

To be precise, the boundary parameter value must match the following
regexp:

    "[-a-zA-Z0-9'()+_,./:=? ]*[-a-zA-Z0-9'()+_,./:=?]"|[-a-zA-Z0-9'+_.]+

with the additional proviso that the boundary may not be longer than 70
characters.  If quoted, the quotes are _not_ part of the boundary but
rather just serve to protect quoted characters from possible
interpretation as other part of the Content-Type: header syntax.

So, to summarize, if Zmail is indeed complaining about the presence of
a plus in the boundary string, then it is broken.


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>