• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.

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