2 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Performance impro...
FromSent OnAttachments
Brent J. NordquistFeb 5, 2003 3:00 pm 
Gordon MessmerFeb 5, 2003 3:24 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:Re: [courier-users] Performance improvement (stat() replacing open-and-count-bytes)Actions...
From:Gordon Messmer (yiny@eburg.com)
Date:Feb 5, 2003 3:24:42 pm
List:net.sourceforge.lists.courier-users

On Wed, 2003-02-05 at 15:00, Brent J. Nordquist wrote:

My ISP is also using Courier IMAP. One of their techs suddenly announced on a local newsgroup that they had gotten a patch from another ISP that replaces a spot where mail messages are opened to count their length, with a stat() call... and that they were getting radically better performance.

Probably for POP3, in which case they've broken the software. "stat" won't return the correct byte count because newlines have to be converted from \n to \r\n for POP3, increasing the byte count by one per line.

To help the problem, Sam added a size cache to the POP3 server, I believe that it was for the Courier IMAP 1.6.2 / Courier 0.40.2 release.