On Mon, 2003-02-24 at 19:30, Chris Berry wrote:
> Well, in that case the fix would have to be in the module that reads the 
> files right?  How are you currently detecting EOF, could this just be a 
> fencepost problem?

I think the question is "can well-formed RFC822 be without a newline at
end of file?"  The maildir spec allows for the contents of files to be
arbitrary, but, for the purposes of IMAP, it makes sense to consider
only RFC822 valid mails.

If the answer to the above question is "no" then this becomes an issue
of robustness.  "Be strict with what you send, and liberal with what you
receive" comes to mind.  I think Courier IMAP should handle the case
where the last line has no newline if it doesn't complicate the code,
but then I'm not Courier's maintainer either.

Jason.

-- 
Jason Tackaberry  ::  [EMAIL PROTECTED]  :: 705-949-2301 x330 
Academic Computing Support Specialist
Information Technology Services
Algoma University College  ::  www.auc.ca




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to