Article ID: 1051, created on Oct 6, 2008, last review on May 6, 2014

  • Applies to:
  • Plesk for Windows

Symptoms

The following error message is displayed on the Spamassassin page in Plesk:

SpamAssassin() constructor failed: Action features failed: Object reference not set to an instance of an object.
---------------------- Debug Info -------------------------------
0: C:\\Program Files\\SWsoft\\Plesk\\admin\\htdocs\\server\\spamassassin.php:12 psaerror(string "SpamAssassin() constructor failed: Action features failed: Object reference not set to an instance of an object.")

Resolution

Such error may occur if the configuration file of %plesk_bin%\spammng.exe tool located in %plesk_bin%spammng.exe.config  is incorrect Content of the configuration file needs to be replaced with the following code (notepad.exe can be used to change the file)

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
 <configSections>
      <section name="components" type="PleskService.ComponentSectionHandler, PleskService" />
 </configSections>
 <components>
   <component name="SpamFilter" type="SpamAssassin.StandaloneSpamAssassinComponent, SpamAssassin" />
      <!--
     
<component name="SpamFilter" type="SpamAssassin.MerakSpamAssassinComponent, SpamAssassinMerak" />
      -->
 </components>
</configuration>

85a92ca67f2200d36506862eaa6ed6b8 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF