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

42 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>Add New Email Domain (All fields are required)</legend>
<label for="domain">Domain Name <small>(email hostname will be 'mail' subdomain of what's entered here)</small></label>
<input id="domain" name="domain" type="text" placeholder="example.com" value="" required>
<label for="status">Status</label>
<select id="status" name="status">
<option value="1">Enabled</option>
<option value="0">Disabled</option>
</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="{{ @vm_domains_defaults.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="{{ @vm_domains_defaults.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="{{ @vm_domains_defaults.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,<br>and is multiplied by 10 for the daily sending limit.
</p>
<include href="footer.html" />