vpanel-stack/panel/ui/vmail/mboxes-edit.html
2022-09-27 16:36:27 -07:00

102 lines
3.9 KiB
HTML

<include href="header.html" />
<form action="{{@REALM}}" method="POST">
<fieldset>
<legend>Edit Email Account {{ @PARAMS.mbox }}@{{ @PARAMS.domain }} (All fields are required)</legend>
<label for="password">Password <small>(leave empty to keep same password)</small></label>
<input id="password" name="password" type="password" value="">
<label for="password_confirm">Confirm Password <small>(repeat same password, only if making a change)</small></label>
<input id="password_confirm" name="password_confirm" type="password" value="">
<label for="status">Status</label>
<select id="status" name="status">
<check if="{{ @mbox_array.status=='0' }}">
<true>
<option value="0" selected>Disabled</option>
<option value="1">Enabled</option>
<option value="2" selected>Enabled - Admin</option>
</true>
</check>
<check if="{{ @mbox_array.status=='1' }}">
<true>
<option value="0">Disabled</option>
<option value="1" selected>Enabled</option>
<option value="2">Enabled - Admin</option>
</true>
</check>
<check if="{{ @mbox_array.status=='2' }}">
<true>
<option value="0">Disabled</option>
<option value="1">Enabled</option>
<option value="2" selected>Enabled - Admin</option>
</true>
</check>
</select>
<label for="quota">Quota <small>(storage in GB)</small></label>
<check if="{{ @NAV.mapping=='vpanel' }}">
<true>
<input id="quota" name="quota" type="text" value="{{ @mbox_array.quota }}" required>
</true>
<false>
<input id="quota" name="quota" type="hidden" value="{{ @mbox_array.quota }}" required>
{{ @mbox_array.quota }}
</false>
</check>
<check if="{{ @NAV.mapping=='vpanel' }}">
<label for="ratelimit">Rate Limit <small>(emails per hour)</small></label>
<true>
<input id="ratelimit" name="ratelimit" type="text" value="{{ @mbox_array.ratelimit }}" required>
</true>
<false>
<input id="ratelimit" name="ratelimit" type="hidden" value="{{ @mbox_array.ratelimit }}" required>
</false>
</check>
<label for="filter">Filtering</label>
<select id="filter" name="filter">
<check if="{{ @mbox_array.filter=='2' }}">
<option value="2" selected>Junk & Spam</option>
<option value="1">Junk only</option>
<option value="0">None</option>
</check>
<check if="{{ @mbox_array.filter=='1' }}">
<option value="2">Junk & Spam</option>
<option value="1" selected>Junk only</option>
<option value="0">None</option>
</check>
<check if="{{ @mbox_array.filter=='0' }}">
<option value="2">Junk & Spam</option>
<option value="1">Junk only</option>
<option value="0" selected>None</option>
</check>
</select>
<input type="submit" value="Submit">
<button id="reset" type="reset" disabled>Reset</button>
<check if="{{ @NAV.mapping=='vpanel' }}">
<br>
<small>Enter "Unlimited" for no limit on Quota or Rate Limit.</small>
</check>
</fieldset>
</form>
<p>
<b>Password</b> must be at least 8 characters with 12 or more being highly recommended.<br>
Passwords under 15 characters must contain characters from at least three of the following four groups:<br>
Lower Case Letters, Uppler Case Leters, Numbers, Puncuation/Special Characters.<br>
Passwords 15 or more characters long do not have any complexity requirements.<br>
<b>Status</b> can be used to temporarily disable the email account. If the account is enabled with the Admin option they can managed all email accounts.<br>
<b>Quota</b> is the storage limit in GB for the email account.<br>
<b>Rate Limit</b> is the hourly sending rate limit for the email account, and is multiplied by 10 for the daily sending limit.<br>
<b>Filtering</b> should normally be left at <em>Junk & Spam</em>. <em>Junk only</em> disables Spamassassin, and <em>None</em> disables additional checks like SPF, DKIM & DNS Blacklists.<br>
</p>
<include href="footer.html" />