unpackole() is causing mailscanner to hang

ram ram at netcore.co.in
Tue Feb 10 12:11:30 GMT 2009

I have had this issue before too

MailScanner just hangs extracting attachments
Nailed the function that causes this 

inside function UnpackOle()

return 1 unless $tree = $ole->getPpsTree(1); # (1) => Get Data too

For a particular mail (of 1MB ) this function call never returns. Even
on a 3GB Ram server the machine goes out of memory !!!. Just with

I guess I just need to skip the unpackOle call. 

More information about the MailScanner mailing list