Gordon Messmer writes:

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.

Correct, and Outlook simply chokes on it.

But that has nothing to do with the byte count, which is still correct.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to