3 messages in net.sourceforge.lists.courier-usersRe: RE:Re: [courier-users] Performanc...
FromSent OnAttachments
zztop1Apr 7, 2001 9:07 am 
LeventApr 9, 2001 7:45 am 
Sam VarshavchikApr 9, 2001 2:41 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: RE:Re: [courier-users] Performance problem on rfc822.size (it reads whole mail)Actions...
From:Levent (zzt@mynet.com)
Date:Apr 9, 2001 7:45:47 am
List:net.sourceforge.lists.courier-users

When I set parsemime to 0 , rfc822.size cause trouble on webside. If it is set to 1, it starts reading whole mail. How can I avoid this action ? I dont want it to read whole mail while parsing mime.

Hmhmhm..

zztop1 ( REALNAME in header?!?!) wrote:

Uhm, I think it might be faster to use stat() instead of seeking around.

I agree with you. But How can I get filename through a filehandle? this was a quick hack. I also would like to use stat.

man 2 fstat ... int fstat(int fd, struct stat *sb) ...

Whatfor a filename?

Levent

Oliver

-- -- http://www.nextra.de - INTERNET@WORK ----- oliv@nextra.de -- Nextra Deutschland | Oliver Blasnik Senior System Administrator GmbH & Co KG | Lyoner Strasse 26 D-60528 Frankfurt Engineering TA&S | tel +49-69-66441-0 fax +49-69-66441-199

__________________________________________________ ÜCRETSÝZ E-MAIL ALDINIZ MI? Türkçe ilk Portal http://www.mynet.com