• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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