• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

API Create Subscription Mail Settings

eworksmedia

New Pleskian
When creating a new subscription via the API (Plesk 12) is there a way to specify the Mail settings? More importantly is there a way to turn off Mail when setting up a new subscription? Each time I create a subscription via the API Plesk spits out the following error:

Code:
New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainWebmail.php, error = Template_Exception: Empty content was provided for config file /etc/httpd/conf/plesk.conf.d/webmails/horde/demon3zxc.e-worksmedia.com_webmail.conf file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 47 code: 0.

Here's an example of the request I'm sending:

Code:
<packet version="1.6.3.0">
<webspace>
    <add>
      <gen_setup>
        <name>{{domain}}</name>
        <ip_address>{{ip_address}}</ip_address> 
      </gen_setup>
      <hosting>
        <vrt_hst>
          <property>
            <name>ftp_login</name>
            <value>{{ftp_user}}</value>
          </property>
          <property>
            <name>ftp_password</name>
            <value>{{ftp_pass}}</value>
          </property>
          <property>
            <name>seo-redirect</name>
            <value>none</value>
          </property>
          <ip_address>{{ip_address}}</ip_address>
        </vrt_hst>
      </hosting>
      <plan-name>Default Domain</plan-name>
    </add>
  </webspace>
</packet>
 
Do you have any errors when you try to reconfigure domain with

# /usr/local/psa/admin/bin/httpdmng --reconfigure-domain demon3zxc.e-worksmedia.com

?
 
Sorry to hi-jack the thread but I also am getting many API errors.
When I create subscriptions I get:
Code:
mailmng-outgoing failed: ERRORoutgoing:column name is not unique

Sometimes I cannot create subscriptions due to this error:
Code:
Failed to perform IDN conversion from UTF-8

I also cannot create subdomains due to
Code:
ProtDir_Apache::update() failed: Unable to create user protection directory:Service node is unknown for sysuser with id=0
)
 
Back
Top