atom feed35 messages in net.sourceforge.lists.courier-users[courier-users] Re: Weird problem(?)
FromSent OnAttachments
Morten WartouJan 3, 2002 5:59 am 
Toni MattilaJan 3, 2002 6:21 am 
Morten WartouJan 3, 2002 6:32 am 
Toni MattilaJan 3, 2002 6:34 am 
Sam VarshavchikJan 3, 2002 2:39 pm 
Sam VarshavchikJan 3, 2002 2:39 pm 
Morten WartouJan 3, 2002 3:22 pm 
Morten WartouJan 3, 2002 3:23 pm 
Sam VarshavchikJan 3, 2002 3:30 pm 
Sam VarshavchikJan 3, 2002 3:31 pm 
DavidJan 3, 2002 3:32 pm 
Juha SaarinenJan 3, 2002 3:37 pm 
Morten WartouJan 3, 2002 4:11 pm 
Juha SaarinenJan 3, 2002 4:15 pm 
Joe CroftJan 3, 2002 5:20 pm 
Michael CarmackJan 3, 2002 5:44 pm 
Greg OwenJan 3, 2002 6:29 pm 
Peter C. NortonJan 3, 2002 7:13 pm 
Michael CarmackJan 3, 2002 7:48 pm 
Sam VarshavchikJan 3, 2002 8:48 pm 
Morten WartouJan 4, 2002 12:32 am 
Zon Hisham Z.AbidinJan 4, 2002 12:57 am 
Francois PHILIPPOJan 4, 2002 1:27 am 
MH - EntwicklungJan 4, 2002 3:05 am 
Sam VarshavchikJan 4, 2002 5:09 am 
Sam VarshavchikJan 4, 2002 5:10 am 
Roger ThomasJan 4, 2002 5:58 am 
Morten WartouJan 4, 2002 6:13 am 
MH - EntwicklungJan 4, 2002 9:26 am 
Tony KuehJan 4, 2002 11:05 am 
Robert L MathewsJan 4, 2002 11:09 am 
Peter C. NortonJan 4, 2002 11:51 am 
Sam VarshavchikJan 4, 2002 6:20 pm 
Sam VarshavchikJan 4, 2002 6:21 pm 
MH - EntwicklungJan 7, 2002 1:13 am 
Subject:[courier-users] Re: Weird problem(?)
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Jan 4, 2002 6:20:42 pm
List:net.sourceforge.lists.courier-users

Robert L Mathews writes:

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.

Once this information is calculated, is it cached anywhere so that the next mailbox access can use it without re-reading the file?

It's not and this is certainly a valid suggestion.

If it's re-reading each message, it would seem a dramatic speed improvement could be obtained by caching the size for later use, perhaps by renaming the file, while still remaining RFC 1939-compliant. I know that Maildir++ stores the size of the message in the name as "xxxx,S=nnnnn", but it unfortunately stores the size as reported by stat(), and not the CRLF octet size.

I still believe people should simply not create 100MB POP3 mailboxes. POP3 is simply the wrong tool for handling so much mail.