Sam Varshavchik wrote:
Gordon Messmer writes:

The byte count is calculated by Courier's POP3 server by counting each byte in the file, and counting unix linefeeds twice. When the client retrieves the message, many expect exactly the number of bytes reported by LIST. However, if the file itself has DOS linefeeds already, the size reported by POP3D will not be the actual size of the file sent, because POP3D only adds a carriage return to the linefeed if it isn't there.

Are you absolutely sure of that?

Nope. That was recollection of debugging I did years ago when I still had a site running Qmail as the MTA. Rather, it looks like those files do get the extra \r, so every line ends in \r\r\n.


Either way, I /am/ pretty sure that after seeing this many times it was always caused by files with CRLF line ends.



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to