Article ID: 125616, created on May 26, 2015, last review on Jun 17, 2016

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Windows
  • Plesk 11.5 for Windows


How to change all subscriptions mailbox size to unlimited using command line?


  1. Create psa database backup according to article KB881

  2. Execute this query:

    For Windows

    FOR /F "usebackq" %a IN (\`"%plesk_dir%"\mysql\bin\mysql.exe -uadmin -ppassword- P8306 psa -Ne"select name from domains where parentDomainId=0 and webspace_id=0"\`) DO "%plesk_cli%"\subscription_settings.exe -u %a -mbox_quota -1

    For Linux

    #  mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -Ne "select name from domains where parentDomainId=0 and webspace_id=0" | while read a; do /usr/local/psa/bin/subscription_settings -u $a -mbox_quota -1; done

Search Words

change mailbox size in command line

mail not sending

mail quota plesk


mailboxes are zero on all subscriptions


change mailbox in ssh

milabox quota

change mailbox size

46a8e394d6fa13134808921036a34da8 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8 bd7fc88cf1b01f097749ae6f87272128 29d1e90fd304f01e6420fbe60f66f838 ed7be2b984f9c27de1d2dc349dc19c6d a766cea0c28e23e978fa78ef81918ab8 01bc4c8cf5b7f01f815a7ada004154a2 0a53c5a9ca65a74d37ef5c5eaeb55d7f 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7

Email subscription for changes to this article
Save as PDF