Hi all,

I'm having some issues with one specific mailsource, that seems to be 
delivering some invalid content. I unfortunately cannot understand de reason 
why this is wrong. Could somebody explain this to me?

Below is the logging:


 Fri, 09 Sep 2011 14:27:44 CEST:26123: w_c: primary Content-Type of 
Multipart/Mixed found
Fri, 09 Sep 2011 14:27:44 CEST:26123: w_c: found a top-level boundary 
definition of Boundary\-00\=_T7P340MWKGMMYJ0CCJD0
Fri, 09 Sep 2011 14:27:44 CEST:26123: w_c: broken attachment MIME details 
(still_attachment=--Boundary-00=_T7P340MWKGMMYJ0CCJD0, but 
BOUNDARY_REGEX="Boundary\-00\=_T7P340MWKGMMYJ0CCJD0")- block it!
Fri, 09 Sep 2011 14:27:44 CEST:26123: Disallowed content found in MIME 
attachment - not valid email
Fri, 09 Sep 2011 14:27:44 CEST:26123: w_c: attachment  1: Content-Type of 
Multipart/Alternative found
Fri, 09 Sep 2011 14:27:44 CEST:26123: w_c: attachment  2: Content-Type of 
text/plain found
Fri, 09 Sep 2011 14:27:44 CEST:26123: w_c: attachment  3: Content-Type of 
text/html found
Fri, 09 Sep 2011 14:27:44 CEST:26123: found C-T attachment filename 
"69483928.gsm"

The source code where this mail gets trapped:

        if (!$quarantine_event && $BAD_MIME_CHECKS > 1 && ($BOUNDARY_REGEX ne 
"" && $still_attachment !~ /^\-\-($BOUNDARY_REGEX)\-\-$/) ) {
          &debug("w_c: broken attachment MIME details 
(still_attachment=$still_attachment, but BOUNDARY_REGEX=\"$BOUNDARY_REGEX\")- 
block it!");
          $illegal_mime=1;
          $destring="problem";
          $quarantine_description='Disallowed content found in MIME attachment 
- not valid email';
          &debug($quarantine_description);
          $quarantine_event="Policy:Bad_MIME_Header";
          $description .= "\n---perlscanner results ---\n$destring 
'$quarantine_description' found in message";
        }


Best regards,

Almar van Pel

------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to