SpamAssassin install failed on Debian Stretch

Eoin Kim Eoin.Kim at rcst.com.au
Mon Jun 25 21:40:01 UTC 2018


Hi again,

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:
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

So, the patch is already out there:
https://svn.apache.org/viewvc?view=revision&revision=1782717

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.

Eoin

From: Eoin Kim
Sent: Monday, 25 June 2018 4:11 PM
To: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Subject: SpamAssassin install failed on Debian Stretch

Hi all,

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:
./install.sh --MTA=postfix --installClamav=Y --installCPAN=Y --ignoreDeps=N --ramdiskSize=0

Things were going well and I could read the message below during the install:
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.

When I looked at the file, it says like below:
cd spamc
/usr/bin/perl version.h.pl
Makefile:1792: recipe for target 'spamc/Makefile' failed
make: *** [spamc/Makefile] Error 2
-> FAIL Installing Mail::SpamAssassin failed. See /root/.cpanm/work/1529900078.18195/build.log for details. Retry with --force to force install it.

I just waited until the installation finished, and strange enough, I could see the message below:
Mail::SpamAssassin => OK

I am now confused. How should I interpret this? Are there anyone having the same issue? I would appreciate any helps. Thanks a lot.

Eoin Kim
Systems Administrator

RCS Telecommunications
Level 1 - The Annexe, 133 Mary Street
Brisbane, QLD, 4000, Australia
Office: 07 3228 0843
Mobile: 0419 726 231
Email: eoin.kim at rcst.com.au<mailto:eoin.kim at rcst.com.au>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20180625/ceda7b60/attachment.html>


More information about the MailScanner mailing list