vpanel-stack/panel/ui/vmail/domains-edit.html

48 lines
1.9 KiB
HTML
Raw Normal View History

2022-07-01 15:24:26 -07:00
<include href="header.html" />
<form action="{{@REALM}}" method="POST">
<fieldset>
<legend>Edit Email Domain {{ @PARAMS.domain }} (All fields are required)</legend>
<label for="status">Status</label>
<select id="status" name="status">
<check if="{{ @domain_array.status=='0' }}">
<true>
<option value="1">Enabled</option>
<option value="0" selected>Disabled</option>
</true>
<false>
<option value="1" selected>Enabled</option>
<option value="0">Disabled</option>
</false>
</check>
</select>
<label for="mbox_limit">Mailbox Limit <small>(maximum number of email accounts)</small></label>
<input id="mbox_limit" name="mbox_limit" type="text" value="{{ @domain_array.mbox_limit }}" required>
<label for="mbox_quota_default">Default Quota <small>(storage in GB)</small></label>
<input id="mbox_quota_default" name="mbox_quota_default" type="text" value="{{ @domain_array.mbox_quota_default }}" required>
<label for="mbox_ratelimit_default">Default Rate Limit <small>(emails per hour)</small></label>
<input id="mbox_ratelimit_default" name="mbox_ratelimit_default" type="text" value="{{ @domain_array.mbox_ratelimit_default }}" required>
<input type="submit" value="Submit">
<button id="reset" type="reset" disabled>Reset</button>
<br>
<small>Enter "Unlimited" for no limit on Mailbox Limit, Default Quota or Default Rate Limit.</small>
</fieldset>
</form>
<p>
<b>Status</b> can be used to temporarily disable the email domain without deleting any settings.<br>
<b>Mailbox Limit</b> is the maximum number of email accounts for this domain.<br>
<b>Default Quota</b> is the default storage limit in GB for newly created email accounts.<br>
<b>Default Rate Limit</b> is the default hourly sending rate limit for new email accounts, and is multiplied by 10 for the daily sending limit.<br>
</p>
<include href="footer.html" />