On Sat, 16 Aug 2003, Bruce A. Burdick, Jr. wrote:
>Didn't Jobs say OS X would bring surprises?  ;-)
>The interesting thing to me is that the headers are mangled during the
>directory listing, but not when an individual message is retrieved. What is
>different about the two routines that accomplish these tasks?

Right now I'm having problems of getting a clue of what's going on, but 
here are some more things:

1) What is the format of the source message in Maildir/cur/? Find one
   message and check if it's stored in DOS or Unix style (\r\n or just
   \n), or which other format (mac format?).

2) Do a fetch BODY.PEEK[] on that message, then a BODY[HEADER] and finally
   RFC822.HEADER.

I'm suspecting that the problem is in fgetcCRLF (which is a function I 
detest). :-) The point of the function is to convert any source input to 
IMAP's required CRLF format.

Andy :-)

-- 
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP    | "It is better not to do something
                       |  than to do it poorly."

Reply via email to