<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Jerry,<br><br>Found the issue, mostly its between the chair and the keyboard. Turns out the specific emails I was using as a test are not only base64 but they contain something MailScanner was disarming. Disarming anything breaks DKIM anyway since it changes the content, therefore the base64 issue becomes irrelevant. And it looks like base64 line length is changed only when the body is modified (e.g. disarmed) by mailscanner. Probably should add a note in the configuration about DKIM and disarming similar to the one that already exists for DKIM and headers. An option to not disarm only when the email is DKIM signed would be great but that's a feature request and not a bug like I thought. <br><br>Thank you,<br><br>   Lev<br><br><div><hr id="stopSpelling">Subject: Re: Mailscanner and Base64<br>From: jerry.benton@mailborder.com<br>Date: Sat, 11 Jul 2015 00:29:44 -0400<br>To: mailscanner@lists.mailscanner.info<br><br>Andrew is the Exim expert. Let’s see if he has an opinion. Thanks for testing this by the way.<br><div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><br class="ecxApple-interchange-newline">-</div><div style="color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">Jerry Benton</div><div style="color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><a href="http://www.mailborder.com" target="_blank">www.mailborder.com</a></div><div style="color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><br></div><br class="ecxApple-interchange-newline">
</div>
<br><div><blockquote><div>On Jul 10, 2015, at 11:08 PM, Lev Nagdimunov <<a href="mailto:levnagdimunov0@hotmail.com">levnagdimunov0@hotmail.com</a>> wrote:</div><br class="ecxApple-interchange-newline"><div><div dir="ltr" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">Hello Jerry,<br><br>I downloaded the v4.85.2-3 RPM for Redhat/CentOS and used its included installer. However, I still get the same issue. Its very clear: in the spool prior to MailScanner scanning the file, the exim -D file will have the original length of each base64 encoded line. Once MailScanner scans the file, the version of the exim -D file copied to the outgoing spool changes each line to be 60 characters long (all the data is preserved so the file has more lines).<span class="ecxApple-converted-space"> </span><br><br>Thank you,<br><br>   Lev<br><br><div><hr id="ecxstopSpelling">From: <a href="mailto:jerry.benton@mailborder.com">jerry.benton@mailborder.com</a><br>Subject: Re: Mailscanner and Base64<br>Date: Fri, 10 Jul 2015 11:57:37 -0400<br>To: <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br><br><div>I would suggest doing a fresh install using the included installer for your test.<br><br><div>-</div><div>Jerry Benton</div><div><a href="http://www.mailborder.com/" target="_blank">www.mailborder.com</a></div>Sent from my iPhone</div></div></div><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><span style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline !important;">--<span class="ecxApple-converted-space"> </span></span><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><span style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline !important;">MailScanner mailing list</span><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><span style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline !important;"><a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a></span><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><span style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline !important;"><a href="http://lists.mailscanner.info/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/listinfo/mailscanner</a></span></div></blockquote></div><br><br>-- 
MailScanner mailing list
mailscanner@lists.mailscanner.info
http://lists.mailscanner.info/listinfo/mailscanner</div>                                    </div></body>
</html>