<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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]-->
</head>
<body lang="EN-AU" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi again,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Okay, I think I found the reason for this but I need help regarding this issue. It looks like the current source code is not working with Debian due to security reasons like below:<o:p></o:p></p>
<p class="MsoNormal"><a href="http://spamassassin.1065346.n5.nabble.com/Bug-7367-New-spamc-configure-pl-Can-t-exec-version-h-pl-No-such-file-or-directory-at-spamc-configure-td123231.html">http://spamassassin.1065346.n5.nabble.com/Bug-7367-New-spamc-configure-pl-Can-t-exec-version-h-pl-No-such-file-or-directory-at-spamc-configure-td123231.html</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So, the patch is already out there:<o:p></o:p></p>
<p class="MsoNormal"><a href="https://svn.apache.org/viewvc?view=revision&revision=1782717">https://svn.apache.org/viewvc?view=revision&revision=1782717</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I believe the patch should be applied and compiled manually. If so, I guess install.sh command that I used below is not going to work, isn’t it? It should somehow skip the automatic installation of SpamAssassin, which means I should modify
 install.sh script. Are there any ways to run the installation of patched SpamAssassin without altering the install.sh script (I believe not)? Thanks again.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Eoin<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:EN-AU">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-AU"> Eoin Kim
<br>
<b>Sent:</b> Monday, 25 June 2018 4:11 PM<br>
<b>To:</b> MailScanner Discussion <mailscanner@lists.mailscanner.info><br>
<b>Subject:</b> SpamAssassin install failed on Debian Stretch<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am not sure if this is the correct behaviour or not but it looks like SpamAssassin installation fails on Debian Stretch during MailScanner installation. I ran the following command to install MailScanner:<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:36.0pt">./install.sh --MTA=postfix --installClamav=Y --installCPAN=Y --ignoreDeps=N --ramdiskSize=0<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Things were going well and I could read the message below during the install:<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:36.0pt">Building and testing Mail-SpamAssassin-3.004001 ... ! Installing Mail::SpamAssassin failed. See /root/.cpanm/work/1529900078.18195/build.log for details. Retry with --force to force install it.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When I looked at the file, it says like below:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">cd spamc<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">/usr/bin/perl version.h.pl<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Makefile:1792: recipe for target 'spamc/Makefile' failed<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">make: *** [spamc/Makefile] Error 2<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">-> FAIL Installing Mail::SpamAssassin failed. See /root/.cpanm/work/1529900078.18195/build.log for details. Retry with --force to force install it.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I just waited until the installation finished, and strange enough, I could see the message below:<o:p></o:p></p>
<p class="MsoNormal">Mail::SpamAssassin => OK<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am now confused. How should I interpret this? Are there anyone having the same issue? I would appreciate any helps. Thanks a lot.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span lang="EN-GB" style="color:#0070C0;mso-fareast-language:EN-GB">Eoin Kim<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB">Systems Administrator</span><span lang="EN-GB" style="color:#1F497D;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="color:black;mso-fareast-language:EN-GB">RCS Telecommunications
<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-fareast-language:EN-GB">Level 1 – The Annexe, 133 Mary Street<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-fareast-language:EN-GB">Brisbane, QLD, 4000, Australia<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;mso-fareast-language:EN-GB">Office: 07 3228 0843<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:10.0pt;color:black;mso-fareast-language:EN-GB">Mobile: 0419 726 231</span><span style="font-size:10.0pt;mso-fareast-language:EN-AU"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;mso-fareast-language:EN-AU">Email:
<a href="mailto:eoin.kim@rcst.com.au">eoin.kim@rcst.com.au</a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>