Empty flags problem
Patrick Welche
prlw1 at newn.cam.ac.uk
Wed May 12 10:44:15 EDT 2004
On Tue, May 11, 2004 at 12:32:02PM -0400, Rob Siemborski wrote:
> I'm not convinced. It also works with 2.2.3 and I *know* that code hasn't
> changed substantially.
>
> Are you sure there aren't mysterious characters (e.g. the wrong line
> terminator) getting added/dropped to the line?
more -U of the log says:
<1084268603<216 APPEND INBOX () " 4-Jun-1999 23:14:31 +0100" {1819}^M
>1084268603>216 BAD Missing required argument to Append command^M
or
<1084275552<216 APPEND INBOX " 4-Jun-1999 23:14:31 +0100" {1819}^M
>1084275552>216 BAD Missing required argument to Append command^M
and they are sent with
imclient_send(toimp, end_command, (void*) &nc,
"APPEND %s %a %a %a",mboxname,msg.flags,msg.internaldate,msg.body);
or
imclient_send(toimp, end_command, (void*) &nc,
"APPEND %s %a %a",mboxname,msg.internaldate,msg.body);
from libcyrus. msg.internaldate, msg.flags="()" and msg.body are all
filled in from the results of a FETCH (from an IMAP2bis server).
If msg.flags="(\Seen)" all is well..
Cheers,
Patrick
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list