How can I fix the error: Unit is masked. when trying to start SpamAssassin?

You should not try to start the SpamAssassin service. Warden disables (masks) the SpamAssassin service as Amavis does not use the SpamAssassin daemon directly so starting the service would be a waste of memory and server resources.

If you accidentally enabled the old legacy spam filter settings you can disable them again using the commands below:

systemctl unmask spamassassin
/usr/local/psa/bin/spamassassin --update-server -status false
/usr/local/psa/bin/spamassassin --update-server -status false -personal-conf false
/usr/local/psa/admin/sbin/spammng --disable
systemctl mask spamassassin
  • spamassassin
  • 0 Usuários acharam útil
Esta resposta lhe foi útil?

Artigos Relacionados

How can I fix any statistics generation problems?

Missing the Warden Crontab Entry There is a crontab entry that will update Warden statistics...

How can I fix the error: "milter-reject: END-OF-MESSAGE from..." in the log and found the AV in error (cannot read /etc/clam.d/scan.conf).

Cloudlinux / Imunify360 added their own version of ClamAV to their repo which accidentally...

How can I fix the error: Can't connect to TCP port 10024 on 127.0.0.0 [Address already in use] when trying to start Amavis?

When trying to start Amavis you see this in the mail log: Oct 02 03:20:15 condor3648 systemd[1]:...

How can I fix the error: Can't connect to TCP port 10024 on ::1 [Cannot assign requested address] when trying to start Amavis?

When trying to start Amavis you see this in the mail log: Oct 02 03:20:15 condor3648 systemd[1]:...

How can I fix the error: Error [Contentfilter_Settings_Contentfilter]. Message [[QUARANTINEDIR] must be a valid directory?

This error means that Amavis was not installed correctly. Try running the Warden from the command...