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

ram ram at netcore.co.in
Sat Sep 6 16:12:36 IST 2008


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 ??


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











More information about the MailScanner mailing list