MailScanner takes too long extracting attachments due to "sleep 10"

Julian Field MailScanner at ecs.soton.ac.uk
Mon Sep 8 11:34:20 IST 2008



ram wrote:
> I have my MailScanner server taking too long. Eventually looking at the
> source I found that the mails go into the 
> UnpackOle() function in Message.pm
> (/usr/lib/MailScanner/MailScanner/Message.pm)
>
>
> This function has a "sleep 10;" 
> What is this for ??
>   
Oops! Sorry about that. I left in some old debug code. Many thanks for 
spotting that!
It will be fixed in the next release. You can just delete that line.
>
> I realized when my client receives a mail with more than 10 attachments
> all processes take HUGE time to scan every message and mails get delayed
>
> For now I have just 
> put a "return 0" beginning of the function and now it is working fine 
>
> Thanks
> Ram
>
>
>
>
>
>
>
>
>
>   

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list