• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Failure with Spam Assassin

F

fercez

Guest
Looks like there is an issue on Plesk install for my server, or at the configuration, I really dont know. It runs on Red Hat Fedora Core 4.

While trying to activate or enable Spam Filter Plesk responds with an ERROR: PleskFatalException:

Cannot exec 'spammng start -c --max-children 5':
Command line usage invalid.
--------------------------------------------------------------------------------
0: /usr/local/psa/admin/plib/class.SpamAssassinMailname.php3:80
SpamAssassinMailname->restart_service(boolean true, boolean false, string '5')
1: /usr/local/psa/admin/plib/spamfilter/SpamFilter.php:203
SpamFilter::setUseMailUserPrefs(boolean false)
2: /usr/local/psa/admin/plib/ui_common/SpamFilterPropertiesUIPointer.php:37
SpamFilterPropertiesUIPointer->accessItem(string 'POST', NULL null)
3: /usr/local/psa/admin/plib/UIPointer.php:519
UIPointer->access(string 'POST')
4: /usr/local/psa/admin/htdocs/plesk.php:19

Additional: Spam Assassin remains as stopped, if I try to start it (on Services management section) a similar error that above mentioned ERROR: PleskFatalException:

Unable to make action: Unable to manage service by spamd: Command line usage invalid.
--------------------------------------------------------------------------------
0: /usr/local/psa/admin/plib/common_func.php3:153
psaerror(string 'Unable to make action: Unable to manage service by spamd: Command line usage invalid.')
1: /usr/local/psa/admin/htdocs/server/restart_services.php:28

Any advice that someone can give me?
 
Most probably you have old psa-spamassassin version installed. As you have Plesk 8.1 make sure that psa-spamassassin-8.1 package is installed. You can installed appropriate version of packages with help of Plesk Updater through GUI or directly in console by running:

/usr/local/psa/admin/sbin/autoinstaller
 
Originally posted by fercez


While trying to activate or enable Spam Filter Plesk responds with an ERROR: PleskFatalException:

Cannot exec 'spammng start -c --max-children 5':
Command line usage invalid.
--------------------------------------------------------------------------------

Try --max-children=5
 
I have the exact same problem, amoung many, mine was a fresh install, maybee it just doesn't work?

Any more ideas on this forum?

the search yields only this

also the above suggestion, as it's launched from the plesk gui interface how would you do that?
 
Back
Top