On Wed, 22 Aug 2001 11:40:28 -0400, "David M. Rosner" <[EMAIL PROTECTED]> said:

David> According to the spec, each package consists of 3 parts,
David> message, from, and recipients. The recipients section can
David> consist of multiple netstrings concatenated and encoded a
David> single netstring. 

David> But, on closer inspection of the qmail-qmqpd.c source it
David> appears that the recipients are not encoded within this
David> netstring. The following QMQP package works and illustrates
David> this point:

David> 143:74:\nFrom: [EMAIL PROTECTED]\nTo: [EMAIL PROTECTED] (dave)\n\nThis is a 
test.,
David> 16:[EMAIL PROTECTED],21:[EMAIL PROTECTED],16:[EMAIL PROTECTED],,

David> So, my question is the documentation out of date, or do I have
David> an old version of qmail-qmqpd.c?

If I'm understanding what you've posted, I think there's confusion
with regards to the recipients.  The envelop recipients should be at
the end, netstring encoded.  What you've posted looks like the
contents of the message, specifically the From: and To: stuff which
would be near the Subject: and other header lines.  This is just
cosmetic, part of the actual message data, not the envelop recipients
which determine where the MTA should actually attempt to deliver.

Does this help?

Reply via email to