Hi All,

I have been working a writing a QMQP client in Java and have found that the 
qmail-qmqpd.c program works differently than the protocol as specified by 
the author - http://cr.yp.to/proto/qmqp.html.

According to the spec, each package consists of 3 parts, message, from, and 
recipients. The recipients section can consist of multiple netstrings 
concatenated and encoded a single netstring. Here is a recipient section 
from an example at  http://cr.yp.to/proto/qmtp.txt :

30:26:[EMAIL PROTECTED],,


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

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



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


Thanks

-dave


Reply via email to