Error on installation the monitoring matric agent

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

# curl -sSL | 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/": 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:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hi @attawit,

This seems to be related to SpamAssasin.

Please try out the following:


loadplugin Mail::SpamAssassin::Plugin::DCC

in /etc/spamassassin/v310.pre

If there is no such file, you can edit the configuration file /etc/spamassassin/, 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