dying children?

Drew Marshall drew.marshall at technologytiger.net
Fri Aug 1 14:30:11 IST 2008

On 1 Aug 2008, at 10:09, Julian Field wrote:
> Richard Siddall wrote:
>> Julian Field wrote:
>>> Someone else showed me a message that suffered the same problem a  
>>> few weeks ago. Unfortunately I don't think there's anything I can  
>>> do about it, sorry. It's to do with nesting in the HTML analysis  
>>> code. Once it gets too nested up, Perl segfaults.
>>> Jules
>> Jules,
>> Does that mean it's something like an out-of-memory error in one of  
>> the CPAN modules?  Can we fix it by getting the module author to  
>> handle excessive nesting?
> The most likely culprit is HTML::Parser, but I have direct evidence  
> to back that. I just know that it's in the HTML parsing where it  
> falls over. Does HTML::Parser contain any non-Perl code?


I seem to get a number of, what I think are, these types of mail that  
choke MS and hold the child process up until it times out. Is there  
any way that a mail that causes this sort of time out to be  
automatically quarantined? Perhaps by changing the scan time out from  
a batch time out to a message time out?

The problem that I see is that if a batch has 10 messages in it (Often  
mainly Spam) 1 of the messages chokes spam scanning, the whole batch  
times out and lets the all the other spam messages through for delivery.

The benefit of quarantining is that:
1. I can find the dodgy message and perhaps we can find a solution to  
a common problem
2. If it's spam the user won't care
3. Users will be notified as normal (E.g. through Mail Watch  
notification or warning message etc depending on set up)
4. All other users still get their mail scanned

While I can't code, I'm happy to test!

Kind regards


In line with our policy, this message has been scanned for viruses and dangerous
 content by Technology Tiger's Mail Launder system <www.mail-launder.com>
Our email policy can be found at www.technologytiger.net/policy

Technology Tiger Limited is registered in Scotland with registration number: 310997
Registered Office 55-57 West High Street Inverurie AB51 3QQ

More information about the MailScanner mailing list