Morten Wartou writes: 

> ----- Original Message ----- 
> From: "Sam Varshavchik" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, January 04, 2002 12:31 AM
> Subject: [courier-users] Re: Weird problem(?) 
> 
> 
>> >> Morten Wartou writes:
>> >> > We have just discovered that the Courier POP3 daemon reads through each
>> > emailfile even though we use the Maildir-format. Is this the intention? Is
>> > there any way we can get around it?
>> >> This is required in order to fully comply with the POP3 protocol, which
>> >> calculates message sizes using CRLF newline terminators.
>> > Oh... Heck. :) Do you know how is this messagesize returned to the client?
>> In STAT/RETR commands, I believe. 
> Stat and retr, and list by the way, returns the size in bytes.

... With CRLF being the line terminator. 

> I cannot find any POP3 command that needs the number of lines in the mail. It seems 
>as a complete waste of time and I/O-capacity.

Here's a file.  Go ahead, use stat(), and try to calculate the size of the 
message with an extra CR tacked on at the end of each line. 

Good luck. 

-- 
Sam 


_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to