.MOV files
Phil Daws
uxbod at splatnix.net
Fri Mar 2 09:26:06 GMT 2012
Here is a bit more information of one .MOV being extracted and the other not:
Works
-----
Content-Type: video/quicktime; name=031.MOV
Content-Disposition: attachment; filename=031.MOV
Content-Transfer-Encoding: base64
Mar 1 10:41:49 passit01 MailScanner[25799]:Debug: From:root at passit01 Unsafename: Safename:nmsg-25799-3.txt Message Size: 8667799 Attachment Size:53
Mar 1 10:41:49 passit01 MailScanner[25799]:Debug: From:root at passit01 Unsafename:031.MOV Safename:n031.MOV Message Size: 8667799 Attachment Size:6332356
Mar 1 10:41:49 passit01 MailScanner[25799]:Debug: From:root at passit01 Unsafename:msg-25799-1.txt Safename:nmsg-25799-1.txt Message Size: 8667799 Attachment Size:209
Mar 1 10:41:49 passit01 MailScanner[25799]:Debug: From:root at passit01 Unsafename:msg-25799-2.html Safename:nmsg-25799-2.html Message Size: 8667799 Attachment Size:719
Not Works
---------
Content-Type: video/quicktime; name=065.MOV
Content-Disposition: attachment; filename=065.MOV
Content-Transfer-Encoding: base64
Mar 1 10:41:54 passit01 MailScanner[25886]:Debug: From:root at passit01 Unsafename: Safename:nmsg-25886-3.txt Message Size: 70605239 Attachment Size:190
Mar 1 10:41:54 passit01 MailScanner[25886]:Debug: From:root at passit01 Unsafename: Safename:nmsg-25886-1.txt Message Size: 70605239 Attachment Size:387
Mar 1 10:41:54 passit01 MailScanner[25886]:Debug: From:root at passit01 Unsafename: Safename:nmsg-25886-2.html Message Size: 70605239 Attachment Size:955
The only difference between the content was the attachment and inspecting the MIME entities they both appear correct. I even tried commenting out each ScanBatch section of MessageBatch.pm to see if the content checks or something were altering the batch in any way which they are not.
This is leading me to think it is something to do with size in the extract attachment code. Wish Jules was around!
--
Thanks, Phil
----- Original Message -----
> Hello all,
> I have ran across in interesting problem where .MOV file types do not
> appear to adhere to the normal scanning process like .EXEs. When
> adding some debugging to the code I believe the problem is due to
> the unsafename/safename/TNEF variables not being set correctly.
> Building a message batch to scan...
> Have a batch of 1 message.
> Message Size:70604918
> Processing attachments
> Unsafename: Safename: nmsg-7930-1.txt TNEF:
> Stopping now as you are debugging me.
> Any thoughts on this ? Have I missed something in the MailScanner
> configuration ?
> --
> Thanks, Phil
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> Before posting, read http://wiki.mailscanner.info/posting
> Support MailScanner development - buy the book off the website!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20120302/faaf4968/attachment.html
More information about the MailScanner
mailing list