Solved Getting error while installing spamassassin on AlmaLinux 8.7 (fresh DA installation)

sufiyanshaikh

Verified User
Joined
Aug 14, 2019
Messages
183
OS : AlmaLinux release 8.7 (Stone Smilodon)
Arch : x86_64 (64 Bit)
Kernel : 4.18.0-425.10.1.el8_7.x86_64

Getting error while installing spamassassin


make[1]: Leaving directory '/usr/local/directadmin/custombuild/Mail-SpamAssassin-3.4.6'
cp spamc/spamc blib/script/spamc
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/spamc
"/usr/bin/perl" build/preprocessor -Mvars -DVERSION="3.004006" -DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin" -DLOCAL_RULES_DIR="/etc/mail/spamassassin" -DLOCAL_STATE_DIR="/var/lib/spamassassin" -DINSTALLSITELIB="/usr/share/perl5" -DCONTACT_ADDRESS="the administrator of that system" -DRE2C_BIN="re2c" -Msharpbang -Mconditional -DPERL_BIN=""/usr/bin/perl"" -DPERL_WARN="" -DPERL_TAINT="" -m755 -ispamd/spamd.raw -ospamd/spamd
cp spamd/spamd blib/script/spamd
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/spamd
Manifying 9 pod documents
Manifying 28 pod documents
Manifying 25 pod documents
Manifying 26 pod documents
Installing ...
"/usr/bin/perl" build/mkrules --exit_on_no_src --src rulesrc --out rules --manifest MANIFEST --manifestskip MANIFEST.SKIP
no source directory found: exiting
"/usr/bin/perl" build/preprocessor -Mvars -DVERSION="3.004006" -DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin" -DLOCAL_RULES_DIR="/etc/mail/spamassassin" -DLOCAL_STATE_DIR="/var/lib/spamassassin" -DINSTALLSITELIB="/usr/share/perl5" -DCONTACT_ADDRESS="the administrator of that system" -DRE2C_BIN="re2c" -Msharpbang -Mconditional -DPERL_BIN=""/usr/bin/perl"" -DPERL_WARN="" -DPERL_TAINT="" -m755 -isa-update.raw -osa-update
cp sa-update blib/script/sa-update
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/sa-update
Manifying 9 pod documents
Manifying 28 pod documents
Manifying 25 pod documents
Manifying 26 pod documents
Appending installation info to /usr/lib64/perl5/perllocal.pod
"/usr/bin/perl" -MExtUtils::Command -e 'mkpath' -- /etc/mail/spamassassin
"/usr/bin/perl" -MFile::Copy -e "copy(q[rules/local.cf], q[/etc/mail/spamassassin/local.cf]) unless -f q[/etc/mail/spamassassin/local.cf]"
"/usr/bin/perl" -MFile::Copy -e "copy(q[rules/init.pre], q[/etc/mail/spamassassin/init.pre]) unless -f q[/etc/mail/spamassassin/init.pre]"
"/usr/bin/perl" -MFile::Copy -e "copy(q[rules/v310.pre], q[/etc/mail/spamassassin/v310.pre]) unless -f q[/etc/mail/spamassassin/v310.pre]"
"/usr/bin/perl" -MFile::Copy -e "copy(q[rules/v312.pre], q[/etc/mail/spamassassin/v312.pre]) unless -f q[/etc/mail/spamassassin/v312.pre]"
"/usr/bin/perl" -MFile::Copy -e "copy(q[rules/v320.pre], q[/etc/mail/spamassassin/v320.pre]) unless -f q[/etc/mail/spamassassin/v320.pre]"
"/usr/bin/perl" -MFile::Copy -e "copy(q[rules/v330.pre], q[/etc/mail/spamassassin/v330.pre]) unless -f q[/etc/mail/spamassassin/v330.pre]"
"/usr/bin/perl" -MFile::Copy -e "copy(q[rules/v340.pre], q[/etc/mail/spamassassin/v340.pre]) unless -f q[/etc/mail/spamassassin/v340.pre]"
"/usr/bin/perl" -MFile::Copy -e "copy(q[rules/v341.pre], q[/etc/mail/spamassassin/v341.pre]) unless -f q[/etc/mail/spamassassin/v341.pre]"
"/usr/bin/perl" -MFile::Copy -e "copy(q[rules/v342.pre], q[/etc/mail/spamassassin/v342.pre]) unless -f q[/etc/mail/spamassassin/v342.pre]"
"/usr/bin/perl" -MFile::Copy -e "copy(q[rules/v343.pre], q[/etc/mail/spamassassin/v343.pre]) unless -f q[/etc/mail/spamassassin/v343.pre]"
"/usr/bin/perl" -MExtUtils::Command -e 'mkpath' -- /usr/share/spamassassin
"/usr/bin/perl" -e "map unlink, </usr/share/spamassassin/*>"
"/usr/bin/perl" build/preprocessor -Mvars -DVERSION="3.004006" -DPREFIX="/usr" -DDEF_RULES_DIR="/usr/share/spamassassin" -DLOCAL_RULES_DIR="/etc/mail/spamassassin" -DLOCAL_STATE_DIR="/var/lib/spamassassin" -DINSTALLSITELIB="/usr/share/perl5" -DCONTACT_ADDRESS="the administrator of that system" -DRE2C_BIN="re2c" -m644 -Irules -O/usr/share/spamassassin user_prefs.template languages sa-update-pubkey.txt
chmod 755 /usr/share/spamassassin
Enabling spamassassin in systemd...
Installing sa-update cronjob...
Enabling new SA plugins
Running sa-update.
config: failed to parse line, skipping, in "/etc/mail/spamassassin/init.pre": enable_compat welcomelist_blocklist
Starting SpamAssassin.
Job for spamassassin.service failed because the control process exited with error code.
See "systemctl status spamassassin.service" and "journalctl -xe" for details.
#=O#- # #
Restarting exim.
 
Issue in stable version : 1.645 (e20a65fa9b8c6a70c07a3b0a8962320dbb4bde6b)
Upgraded to current version: 1.646 (d3158e3390559e3a6b3087859445166421a902fd)

Issue got fixed after upgrading.
 
Back
Top