MailScanner crashing in debug mode

--[ UxBoD ]-- uxbod at splatnix.net
Tue Oct 18 10:23:55 IST 2011


Testing something out and when I ran MailScanner in debug mode I received and error that it tried to print a variable that was not defined on line 756 of PFDiskStore.pm : 

$handle->print($line . "\n"); 

I added my own debug line to print it and it ran through a couple of emails okay then died. I checked the email in question and on the face of things it looked okay. I decided to change the line to as below which allow it to be processed okay: 

if ($handle) { $handle->print($line . "\n"); } 

Any thoughts on why the handle would either not be created or is being destroyed ? 

-- 
Thanks, Phil 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20111018/c3d69cf1/attachment.html


More information about the MailScanner mailing list