Overview
This article describes the process to follow when the Spam Assassin plugin is failing to initialize and the error log displays the below error:
IMPORTANT: SpamClient.cpp: Unable to initialize plugin
Process
In order to resolve this issue, you will need to reset the Spam Assassin plugin, however, this should only be done if you are getting error messages in the error log that indicate that the plugin is having trouble to start or initialize.
- Stop Kerio Connect.
- Go to the Installation folder:
- On Windows:
C:\Program Files\Kerio\MailServer
- On Linux:
/opt/kerio/mailserver
- On Mac:
/usr/local/kerio/mailserver
- On Windows:
- Once in the Installation folder, go to the
/plugins/spamserver
folder.
- Remove the folder spamassassin and the file spamserver.exe.
- Run a Repair install of Kerio Connect. For this, you will need a copy of the Kerio Connect Installer, refer to the Kerio Connect Website for additional download details.
- Start Kerio Connect.
Note: By following the process described above, you are removing the old Spam Assassin plugin and installing a fresh copy of the plugin. Once you restart Kerio Connect the plugin will then update to the newest virus definitions from the server.
Confirmation
Kerio Connect resets the Spam Assassin plugin and when checking the error log, the error message no longer appears.