Cannot create or edit email account settings: Internal error: Execution failed. SpamAssassin spammng Empty error message from utility

Created:

2017-05-04 07:26:24 UTC

Modified:

2017-08-16 16:36:14 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot create or edit email account settings: Internal error: Execution failed. SpamAssassin spammng Empty error message from utility

Applicable to:

  • Plesk for Windows

Symptoms

Cannot create or edit email account with following error:

Internal error: Execution failed. Command: spammng Arguments: Array ( [0] => --list-languages ) Details: Empty error message from utility.
Message
Execution failed. Command: spammng Arguments: Array ( [0] => --list-languages ) Details: Empty error message from utility.
File Os.php
Line 106
Type PleskFatalException

In Plesk log file, the following error appears:

[2017-05-03 14:51:53] ERR [1] "C:\Program Files (x86)\Parallels\Plesk\/admin/bin/spammng" --list-languages failed with message: Empty error message from utility.
[2017-05-03 14:51:54] ERR [1] Execution failed.
Command: spammng
Arguments: Array
(
    [0] => --list-languages
)
Details: Empty error message from utility.
[2017-05-03 14:51:56] ERR [panel] PleskFatalException: Execution failed.
Command: spammng
Arguments: Array
(
    [0] => --list-languages
)
Details: Empty error message from utility.
file: C:\Program Files (x86)\Parallels\Plesk\admin\plib\Os.php
line: 106
code: 0

After disabling SpamAssassin in Tools & Settings > Server Components, the issue gets fixed. But once  SpamAssassin is enabled back again, the following error appears:

Could not load file or assembly 'spammng.exe' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

Cause

SpamAssassin configuration file located in %plesk_dir%\admin\bin\spammng.exe.config is with a wrong configuration. .NET frameworks of different versions interfere with each other. This is Plesk bug with ID #PPPM-6024 that will be fixed in future updates.

Resolution

As a workaround:

1. Go to Tools & Settings >Server Components and disable SpamAssassin.

2. Modify %plesk_dir%\admin\bin\spammng.exe.config configuration file and delete the following lines:

<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
<supportedRuntime version="v4.0"/>
</startup>
 

3. Go to Tools & Settings > Server Components and enable SpamAssassin.

Have more questions? Submit a request
Please sign in to leave a comment.