Got the following error after run the installation script for monitoring matric agent

# curl -sSL https://repos.insights.digitalocean.com/install.sh | sudo bash
Cleaning up old sources...OK
Verifying machine compatibility...OK
Verifying compatibility with script...OK
Installing apt repository...
Setting up sa-compile (3.4.2-0ubuntu0.18.04.2) ...
Running sa-compile (may take a long time)
Jan 19 10:52:00.814 [31705] info: config: failed to parse line, skipping, in "/etc/spamassassin/local.cf": use_dcc 0
sa-compile: not compiling; 'spamassassin --lint' check failed!
dpkg: error processing package sa-compile (--configure):
 installed sa-compile package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 sa-compile
E: Sub-process /usr/bin/dpkg returned an error code (1)
edited by bobbyiliev

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi @attawit,

This seems to be related to SpamAssasin.

Please try out the following:

Uncomment

loadplugin Mail::SpamAssassin::Plugin::DCC

in /etc/spamassassin/v310.pre

If there is no such file, you can edit the configuration file /etc/spamassassin/local.cf, adding the following line before “use_dcc 0”:

loadplugin Mail::SpamAssassin::Plugin::DCC

Once you have added the above to the file,test again if the error will be experienced.

Regards,
KDSys

Submit an Answer