How do 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 Users Found This Useful
Was this answer helpful?

Related Articles

How do I fix the error: Mysql Server has gone away?

When looking at the mail log of the server you see this log entry from Amavis: Aug 3 01:00:20...

What changes does Warden make to the postfix configuration files to enable Amavis?

Important Warden will configure postfix differently depending if you selected to install the...

How hard is it to uninstall if I do not require Warden Anti-spam and Virus Protection any more?

Uninstalling Warden is as easy as going to Extensions -> My Extensions -> Warden Anti-spam...

How can I fix the error: host 127.0.0.1[127.0.0.1] said: 552 5.3.4 Declared message size (1208029 B) exceeds size limit for recipient?

You can set the message size limit for Amavis under Settings -> Policy Settings -> Misc...

What network ports are used by Warden and need to be opened on the firewall?

All of the network based tests (Razor, Pyzor, DCC) that Warden uses must be opened on the...