Plesk Spam Assassin does not work with all correct settings

Created:

2016-11-16 13:00:30 UTC

Modified:

2017-04-24 12:00:33 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk Spam Assassin does not work with all correct settings

Applicable to:

  • Plesk 12.0 for Windows

Symptoms

Plesk Spam Assassin has been installed, configured and activated. All settings are correct. The service is running and listens on proper port. But no messages are marked as spam.

The following error is found in event viewer:

The system cannot find the file specified. (Error code 2) at CreateProcess '"d:\\PROGRA~1\\Plesk\\ADDITI~1\\Perl\\bin\\perl" "D:\\Program Files\\Plesk\\Additional\\SpamAssassin\\bin\\psa-spam-filter" "--virtual-config-dir=D:\\Program Files\\Plesk\\Additional\\SpamAssassin\\SpamFilterUserConfigsPath\\%user%@%domain%" "--config-file=D:\\Program Files\\Plesk\\Additional\\SpamAssassin\\etc\\mail\\spamassassin" "--port=8783"'
at (vexecutil::start line 188)
at Start spamd service(SpamdQueue::startSpamd line 350)
Execute file name: D:\\Program Files\\Plesk\\admin\\bin\\plesksrv.exe

Cause

  1. Required binaries are not present in d:\PROGRA~1\Plesk\ADDITI~1\Perl\bin directory:

    "%plesk_dir%"\\Additional\\Perl\\bin>dir
    07/31/2015 01:06 AM <DIR> .
    07/31/2015 01:06 AM <DIR> ..
    05/04/2010 02:14 PM 684,032 libdb43.dll
  2. Short names are not enabled on disk:

    >fsutil 8dot3name query D:
    Based on the above two settings, 8dot3 name creation is disabled on D:.

Resolution

  1. To resolve the issue follow the steps bellow:

  2. Download Perl engine from Plesk autoinstaller.com according to your system:

        >explorer http://autoinstall-win.pp.parallels.com/PANEL-WIN_12.0.18/thirdparty-msi-Windows-any-x86_64/perl.msi
  3. Unpack .msi package:

        >msiexec /a c:\\perl.msi /qb TARGETDIR=c:\  emp\\perl
  4. Place Perl files to d:\PROGRA~1\Plesk\ADDITI~1\Perl\bin\ directory:

        >xcopy c:\  emp\\perl\\bin "%plesk_dir%"\\Additional\\Perl\\bin /s /e /h
  5. Restart Plesk Run-Time and Mail server services via Plesk Servive Monitor.

  6. Follow the instructions from KB article #123727 .

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