• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question REST API Cli spamassassin

ChrisH

Basic Pleskian
Hello,
I can't find any documentation, so maybe you can help. I want to add an email to the whitelist of an existing email account with REST API. What I tried was:

curl -X POST "https://SERVER:8443/api/v2/cli/spamassassin/call" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"params\": [\"--update\", \"info@account.de\", \"-whitelist\", \"add\", \"info@test.de\"]}"

This one is wrong. So how do you write commands and options in JSON?

{
"params": ["--update", "info@account.de" ],
"options": ["-whitelist add", "info@test.de"]
}
 
Back
Top