Scott Schwartz writes:
> Notice that when qmail sends a bounce message it presents the non-smtp
> encoded address in a context where the encoded version is expected,
> including the angle brackets:  ``<A B@ARPA>''

That's the QSBMF encoding, which is line-delimited and has no special
quoting characters. Why do you think the QSBMF encoding should be the
same as the SMTP encoding?

Correct address handling is conceptually quite straightforward:

   * SMTP writers encode addresses as specified in RFC 821.
   * SMTP readers decode addresses as specified in RFC 821.
   * Standard header writers encode addresses as specified in RFC 822.
   * Standard header readers decode addresses as specified in RFC 822.
   * QSBMF writers encode addresses as specified in the QSBMF spec.
   * QSBMF readers decode addresses as specified in the QSBMF spec.

And so on. Everything works fine if the encoders and decoders are
properly implemented---as they are in MMDF, for example, and in qmail.

---Dan

Reply via email to