• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Resolved 100MB mail Limit when creating hosting account via API

jakubeq420

New Pleskian
Server operating system version
Ubuntu 22.04.5 LTS
Plesk version and microupdate number
Obsidian 18.0.71
Hello,
When i create hosting via API (FOSSBilling and my custom WP plugin) - there is one problem. The limit on the mail accounts is only 100MB per account. I was searching the option to incerase this, but i cant find any setting. How can i change this?

Plesk Web pro edition

Thank you for all help,

Jakub
 
If no custom mailbox size limit has been set on the API call a mailbox gets created with limit defined in the service plan. Is the mailbox size limit for the service plan something different?
 
Im retarded af, i looked about 2 hours and this was simple solution. Thank you very very much man u saved me :)
 
If someone have problem with this in future:|

login to SSH
sudo nano /root/update_mail_quota.sh
paste:
#!/bin/bash

# Plesk przekazuje nazwę nowej domeny w zmiennej NEW_DOMAIN_NAME
DOMAIN="$NEW_DOMAIN_NAME"

# Jeśli zmienna jest pusta (np. event inny niż oczekiwany) — wyjdź
[ -z "$DOMAIN" ] && exit 0

# Ustaw quota skrzynek pocztowych na "bez limitu"
plesk bin subscription_settings --update "$DOMAIN" -mbox_quota -1

save
sudo chmod +x /root/update_mail_quota.sh

now go to plesk
tools and settings
event manager
add event handler
choose:
Default domain (the first domain added to a subscription) created
command:
/bin/bash /root/update_mail_quota.sh

U welcome
4wB
 
Back
Top