• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue API to update mail quota not working

MicheleP

Basic Pleskian
Version 18.0.38 - The API to change mailbox quota does not work. The response is "ok" but the size doesn't change. Tested on three different servers
 
This is the code. I've multiple servers, with Obsidian it not work anymore, does not change the quota, while with a server running Onyx 17.8.11 it works fine, so the problem is with Obsidian 18.0.38

$request = <<<EOF
<packet>
<mail>
<update>
<set>
<filter>
<site-id>$id_server_site</site-id>
<mailname>
<name>$account_name</name>
<mailbox>
<enabled>true</enabled>
<quota>$new_quota</quota>
</mailbox>
</mailname>
</filter>
</set>
</update>
</mail>
</packet>
EOF;

$response = $client->request($request);
 
Back
Top