• 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.

Plesk API Issue

M

MitchelC

Guest
Hello, I'm sending this XML:

<packet version="1.6.3.0">
<webspace>
<add>
<gen_setup>
<name>Basic.com</name>
<owner-login>stevelow</owner-login>
<htype>vrt_hst</htype>
<ip_address>20.14.25.2</ip_address>
<status>0</status>
</gen_setup>
<hosting>
<vrt_hst>
<property>
<name>ftp_login</name>
<value>ftp16se4fdf0</value>
</property>
<property>
<name>ftp_password</name>
<value>qweqwe</value>
</property>
<ip_address>20.14.25.2</ip_address>
</vrt_hst>
</hosting>
<plan-name>Basic</plan-name>
</add>
</webspace>
</packet>


And getting this back:

<?xml version="1.0" encoding="UTF-8"?><packet version="1.6.3.0"><webspace><add><result><status>error</status><errcode>1023</errcode><errtext>Unable to accept the template: the following limitations are exceeded.
Description Requested Allowed
Webmail Horde IMP None
Retain web and traffic statistics 3 6</errtext></result></add></webspace></packet>


How should I write my XML to set webmail to "horde" and web stats to "6"?
 
Igor,

I've read the documentation and I'm able to create a customer via the API but not the plan subscription.

I could not find the specific mail settings in the documentation. Also, I fear that if I found them I still would not understand how to put that XML into the webspace-add packet that I need to send to Plesk.

Could you provide an example?

Thank you,
Mitchel
 
U use plan (Basic) with webmail = Horde, but seems like horde is not installed. There are next ways for issue fix:
1. edit plan Basic, set webmail = none.
2. install webmail horde.
 
Fogelf, I think you are right. I will take this course to fix the problem.

I wonder if there is a way to spy on the api calls by Plesk when I manipulate accounts through the web interface?

Thank you,
Mitchel C.
 
Plesk itself won't use the XML API, but you can turn on mysql logging and see what's done in the database though...
 
PPadron, I was thinking I could do that, but of course using the XML API seems like the right way.
 
Back
Top