Citát Wietse Venema <[email protected]>:

[email protected]:
Hi,

i'm having quite severe problems with append_at_myorigin - Postfix is
appending myorigin to sneder name if it contains a colon character and
is encoded into quoted-printable format, for example (generated by
Thunderbird):

From: =?UTF-8?Q?TEST:_som=c3=a9thing?= <[email protected]>

The ``:'' should be encoded as ``=3a''. Please file a bug with the
Thunderbird maintainers. They violate RFC 5322 syntax rules, and
their bug cannot be fixed by changing Postfix.

In RFC 5322 the ``:'' is a special character, and RFC 5322 allows
only atom or quoted-string as the "phrase" portion of an address.

Relevant rules from RFC 5322:

   name-addr       =   [display-name] angle-addr

   angle-addr      =   [CFWS] "<" addr-spec ">" [CFWS] /
                       obs-angle-addr

   display-name    =   phrase

   phrase          =   1*word / obs-phrase

   word            =   atom / quoted-string

   atom            =   [CFWS] 1*atext [CFWS]

   atext           =   ALPHA / DIGIT /    ; Printable US-ASCII
                       "!" / "#" /        ;  characters not including
                       "$" / "%" /        ;  specials.  Used for atoms.
                       "&" / "'" /
                       "*" / "+" /
                       "-" / "/" /
                       "=" / "?" /
                       "^" / "_" /
                       "`" / "{" /
                       "|" / "}" /
                       "~"

   specials        =   "(" / ")" /        ; Special characters that do
                       "<" / ">" /        ;  not appear in atext
                       "[" / "]" /
                       ":" / ";" /
                       "@" / "\" /
                       "," / "." /
                       DQUOTE

See especially the last rule which says that ":" cannot appear
in atext.

        Wietse



Viktor and Wietse: Thank you.

https://bugzilla.mozilla.org/show_bug.cgi?id=1438590

azur


Reply via email to