<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>MailScanner works with FreeBSD.</p>
    <p>This message is occurring when MIME::Entity is trying to open the
      message to read it and is encountering something strange.</p>
    <p>I don't think this is a FreeBSD specific problem and worth
      investigating.  Can you get your hands on a message that triggers
      this behavior that is reproducible?</p>
    <p>Also, can you share what version of MIME::Entity you have?</p>
    <p>perl -M'MIME::Entity' -e 'print $MIME::Entity::VERSION . "\n";'<br>
    </p>
    <div class="moz-cite-prefix">On 4/1/22 06:25, Richard Mealing wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:LO0P265MB635869C335C559EC9926F1D1F0E09@LO0P265MB6358.GBRP265.PROD.OUTLOOK.COM">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}@font-face
        {font-family:Lato;
        panose-1:2 15 5 2 2 2 4 3 2 3;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Lato",sans-serif;
        color:#595959;}.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}div.WordSection1
        {page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
            style="font-family:"Lato",sans-serif;color:#595959"
            lang="EN-GB">Hi,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Lato",sans-serif;color:#595959"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Lato",sans-serif;color:#595959"
            lang="EN-GB">I have installed mailscanner onto a freebsd 13
            machine, got a bunch of emails in my queue and seeing this
            in debug –
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.5pt;font-family:"Segoe
            UI",sans-serif;color:#242424;background:#E8EBFA">In
            Debugging mode, not forking...</span><span
            style="font-size:10.5pt;font-family:"Segoe
            UI",sans-serif;color:#242424"><br>
            <span style="background:#E8EBFA">Trying to setlogsock(unix)</span><br>
            <span style="background:#E8EBFA">Building a message batch to
              scan...</span><br>
            <span style="background:#E8EBFA">Have a batch of 1 message.</span><br>
            <span style="background:#E8EBFA">open body: Invalid argument
              at /usr/local/lib/perl5/site_perl/MIME/Entity.pm line
              1892.<o:p></o:p></span></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.5pt;font-family:"Segoe
            UI",sans-serif;color:#242424;background:#E8EBFA"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Lato",sans-serif;color:#595959"
            lang="EN-GB">When I remove this file the email finally
            delivers, but I get an error message - Apr  1 11:09:59
            btn-mailfilter-v2 MailScanner[19983]: Failed to link message
            body between queues (/var/spool/mqueue/df22VE1oKZ001668
            --> /var/spool/mqueue.in/df22VE1oKZ001668)<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Lato",sans-serif;color:#595959"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Lato",sans-serif;color:#595959"
            lang="EN-GB">MailScanner-5.3.4.3<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Lato",sans-serif;color:#595959"
            lang="EN-GB">p5-Mail-Tools-2.21<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Lato",sans-serif;color:#595959"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Lato",sans-serif;color:#595959"
            lang="EN-GB">I don’t know what’s going wrong, can
            mailscanner work on FreeBSD or shall I use something else?
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Lato",sans-serif;color:#595959"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Lato",sans-serif;color:#595959"
            lang="EN-GB">Thanks,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Lato",sans-serif;color:#595959"
            lang="EN-GB">Rich<o:p></o:p></span></p>
      </div>
      <br>
    </blockquote>
  </body>
</html>