Prerequisites
Before setting email quota, make sure you have:
- Access to HestiaCP control panel
- Admin privileges
What is Email Quota?
Email quota limits the maximum storage an email account can use. Once reached, new emails may be rejected until space is freed.
Method 1: Set Quota via HestiaCP Web Interface
Step 1: Log in to HestiaCP
https://YOUR_SERVER_IP:8083
Step 2: Navigate to MAIL Section
Click on MAIL in the top menu bar.
Step 3: Select Your Domain
Click on the domain containing the email account.
Step 4: Edit Email Account
Click the gear icon (⚙️) next to the email account.
Step 5: Set Quota
Enter the quota in MB (megabytes):
- 1024 MB = 1 GB
- 5120 MB = 5 GB
- 10240 MB = 10 GB
- Leave blank for unlimited
Step 6: Save
Click Save to apply the quota.
Method 2: Set Quota via SSH
ssh hxroot@YOUR_SERVER_IP -p 22
/usr/local/hestia/bin/v-add-mail-account admin example.com info P@ssw0rd 2048
The last number (2048) is the quota in MB.
Change existing quota:
/usr/local/hestia/bin/v-change-mail-account-quota admin example.com info 4096
Check Current Quota Usage
/usr/local/hestia/bin/v-list-mail-accounts admin example.com
Output shows quota and current usage.
Recommended Quota Sizes
| Usage Type | Recommended Quota |
|---|---|
| Basic personal email | 512 MB - 1 GB |
| Business professional | 2 GB - 5 GB |
| Heavy user (attachments) | 5 GB - 10 GB |
| Unlimited | Leave blank |
Monitor Quota Alerts
Users receive email warnings when approaching quota limit (usually at 80%, 90%, 95%).
✅ Email quota has been set successfully!