9 messages in net.sourceforge.lists.courier-users[courier-users] Re: help : pop3 conne...
FromSent OnAttachments
Bhavin ModiDec 17, 2003 2:25 pm 
Gordon MessmerDec 17, 2003 3:21 pm 
Sam VarshavchikDec 17, 2003 4:51 pm 
Sam VarshavchikDec 17, 2003 4:52 pm 
Gordon MessmerDec 17, 2003 11:30 pm 
Sam VarshavchikDec 18, 2003 4:14 am 
Gordon MessmerDec 18, 2003 10:31 am 
Sam VarshavchikDec 18, 2003 4:19 pm 
Gordon MessmerDec 21, 2003 1:03 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: help : pop3 connection terminatesActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Dec 18, 2003 4:14:38 am
List:net.sourceforge.lists.courier-users

Gordon Messmer writes:

Sam Varshavchik wrote:

Gordon Messmer writes:

Bhavin Modi wrote:

I am facing problems with pop3 connections. I am using postfix, courier-imap with mysql. We ae facing problem with one of the accounts. The pop3 connection terminates abnormally while downloading a specific mail. I saw the contents of the mail and it said

Run the message file through 'od -c'. See if the message contains DOS style line feeds. If so, courier will report the wrong message size to the client, and the client will hang waiting for more data (and eventually time out).

Nonsense. The POP3 protocol does not “report” a message size, unlike IMAP.

The POP3 server replies to the LIST command with a list of messages and their byte count.

Irrelevant. when the message is retrieved, it gets terminated by a single line that contains a period. The octet count shown by LIST is for informational purposes only, and is completely irrelevant otherwise.

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?