• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Forwarded to devs XML-RPC API does not set or update mailbox quota

Kaspar

API expert
Plesk Guru
Username: Rasp

TITLE

XML-RPC API does not set or update mailbox quota

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk 18.0.38 Update #2

PROBLEM DESCRIPTION

[Issue based on forum topic opent by @MicheleP. I am able to reproduce issue on my servers.]

Issue: mailbox size does not change when using the Plesk XML-RPC to update the mailbox diskspace quota, while the API responded with a status OK, indicating a successful update of the mailbox diskspace quota. Nor can the mailbox size when creating a new mailbox using the API.

XML package
XML:
<?xml version="1.0" encoding="UTF-8" ?>
<packet>
    <mail>
        <update>
            <set>
                <filter>
                    <site-id>33</site-id>
                    <mailname>
                        <name>info</name>
                        <mailbox>
                            <enabled>true</enabled>
                            <quota>-1</quota>
                        </mailbox>
                    </mailname>
                </filter>
            </set>
        </update>
    </mail>
</packet>

XML response
XML:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.9.1">
    <mail>
        <update>
            <set>
                <result>
                    <status>ok</status>
                    <mailname>
                        <name>info</name>
                    </mailname>
                </result>
            </set>
        </update>
    </mail>
</packet>

Observe the mailbox size/quota unchanged in GUI (of CLI)

STEPS TO REPRODUCE

1. Create mailbox
2. Set a size for mailbox or leave default
3. Connect to XML-RCP API and send XML packacke bellow:

XML:
<?xml version="1.0" encoding="UTF-8" ?>
<packet>
    <mail>
        <update>
            <set>
                <filter>
                    <site-id>33</site-id>
                    <mailname>
                        <name>info</name>
                        <mailbox>
                            <enabled>true</enabled>
                            <quota>-1</quota>
                        </mailbox>
                    </mailname>
                </filter>
            </set>
        </update>
    </mail>
</packet>

ACTUAL RESULT

API will respond with status OK but mailbox diskspace quota did not update.

EXPECTED RESULT

Mailbox diskspace quota does update accordingly.

ANY ADDITIONAL INFORMATION



YOUR EXPECTATIONS FROM PLESK SERVICE TEAM


Confirm bug
 
Last edited:
This is already considered a bug: PPPM-13197

It is possible to adjust quota via CLI as an alternative:

# plesk bin mail --update [email protected] -mbox_quota 50M
 
Back
Top