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

203 lines
9.6 KiB
HTML
Raw Normal View History

2022-07-01 15:24:26 -07:00
<include href="header.html" />
<table>
<tr>
<th>Domain</th>
<th>Status</th>
<th>Mailbox Limit</th>
<th>Default Quota</th>
<th>Default Rate Limit</th>
<check if="{{ @NAV.mapping=='vpanel' }}">
<th>Action</th>
</check>
</tr>
<tr>
2023-06-19 11:53:16 -07:00
<td>{{ @domain_array.domain }}</td>
<td>{{ @domain_array.status }}</td>
<td>{{ @domain_array.mbox_limit }}</td>
<td>{{ @domain_array.mbox_quota_default }}</td>
<td>{{ @domain_array.mbox_ratelimit_default }}</td>
2022-07-01 15:24:26 -07:00
<check if="{{ @NAV.mapping=='vpanel' }}">
<td><a href="{{@NAV.vmailbase}}/Edit">Edit</a> <a href="{{@NAV.vmailbase}}/Delete">Delete</a></td>
</check>
</tr>
</table>
<nav>
<ul>
<li><a href="{{@NAV.vmailbase}}/Accounts">Accounts</a></li>
<li><a href="{{@NAV.vmailbase}}/Aliases">Aliases</a></li>
<li><a href="{{@NAV.vmailbase}}/Autoresponders">Autoresponders</a></li>
<li><a href="{{@NAV.vmailbase}}/Forwards">Forwards</a></li>
</ul>
</nav>
2023-06-19 11:53:16 -07:00
<hr>
<check if="isset(@cert_array)">
<true>
<table>
<tr>
<th style="white-space: nowrap;">Certificate</th>
<th style="white-space: nowrap;">Expiration</th>
<th style="white-space: nowrap;">Secured Hostnames</th>
<th>Action</th>
</tr>
<tr>
<td style="white-space: nowrap;">{{ @cert_array.common }}</td>
<td style="white-space: nowrap;">{{ @cert_array.end }}</td>
<td style="white-space: nowrap; text-align: right;">{{ @cert_array.alternative | raw }}</td>
<td style="white-space: nowrap;"><a href="{{@BASE}}/Certs/mail.{{@domain_array.domain}}/Delete?r={{@PATH}}">Delete</a></td>
</tr>
</table>
</true>
<false>
<check if="{{ @dnsinfo.a.status=='Verified' }}">
<true>
You need a Security Certificate. <a href="{{@BASE}}/Certs/mail.{{@domain_array.domain}}/Add?r={{@PATH}}">Click Here</a> to add one now.
</true>
<false>
<span style="color:red">You need a Security Certificate for {{ @domain_array.domain }}.</span> Before you can add one you must create the DNS "A" record below. Once that's completed come back here and this message will change to an option to create a Security Certificate.
</false>
</check>
</false>
</check>
<br><br>
<check if="{{ @dnsinfo.status=='Verified' }}">
<true>
&check; All email related DNS settings for {{ @domain_array.domain }} have been verified.
<br><br>
Webmail is available at: <a href="https://mail.{{ @domain_array.domain }}">https://mail.{{ @domain_array.domain }}</a>
</true>
<false>
<h3 style="color:red">NOTICE: You need to update the DNS settings for {{ @domain_array.domain }}:</h3>
<small>Note that after you add DNS records it can take some time for the changes to propagate and show up here.</small>
<br><br>
<table>
<tr><th style="color:{{ @dnsinfo.a.color }}" colspan="2">{{ @dnsinfo.a.status }} A Record for mail.{{ @domain_array.domain }}</th></tr>
<check if="{{ @dnsinfo.a.status=='Verified' }}">
<true>
<tr><td colspan="2">This DNS record is all set, nothing to do.</td></tr>
</true>
<false>
<tr><td style="text-align: right;">Type:</td><td>A</td></tr>
<tr><td style="text-align: right;">Host:</td><td>mail.{{ @domain_array.domain }}</td></tr>
<tr><td style="text-align: right;">Value:</td><td>{{ @dnsinfo.server_addr }}</td></tr>
<tr><td style="text-align: right;">TTL:</td><td>3600 (or default)</td></tr>
<tr><td></td><td><small>This should be the only A record for mail.{{ @domain_array.domain }}.</small></td></tr>
</false>
</check>
</table>
<br><br>
<table>
<tr><th style="color:{{ @dnsinfo.mx.color }}" colspan="2">{{ @dnsinfo.mx.status }} MX Record for {{ @domain_array.domain }}</th></tr>
<check if="{{ @dnsinfo.mx.status=='Verified' }}">
<true>
<tr><td colspan="2">This DNS record is all set, nothing to do.</td></tr>
</true>
<false>
<tr><td style="text-align: right;">Type:</td><td>MX</td></tr>
<tr><td style="text-align: right;">Host:</td><td>{{ @domain_array.domain }}</td></tr>
<tr><td style="text-align: right;">Value:</td><td>mail.{{ @domain_array.domain }}</td></tr>
<tr><td style="text-align: right;">TTL:</td><td>3600 (or default)</td></tr>
<tr><td style="text-align: right;">Priority:</td><td>10 (or default)</td></tr>
<tr><td></td><td><small>This should be the only MX record for {{ @domain_array.domain }}<br>unless you have a backup MX system.</small></td></tr>
</false>
</check>
</table>
<br><br>
<table>
<tr><th style="color:{{ @dnsinfo.spf.color }}" colspan="2">{{ @dnsinfo.spf.status }} SPF (TXT) Record for {{ @domain_array.domain }}</th></tr>
<check if="{{ @dnsinfo.spf.status=='Verified' }}">
<true>
<tr><td colspan="2">This DNS record is all set, nothing to do.</td></tr>
</true>
<false>
<tr><td style="text-align: right;">Type:</td><td>TXT</td></tr>
<tr><td style="text-align: right;">Host:</td><td>{{ @domain_array.domain }}</td></tr>
<tr><td style="text-align: right;">Value:</td><td>"v=spf1 a mx -all"</td></tr>
<tr><td style="text-align: right;">TTL:</td><td>3600 (or default)</td></tr>
<tr><td></td><td><small>There may be other TXT records for {{ @domain_array.domain }}.</small></td></tr>
</check>
</table>
<br><br>
<table>
<tr><th style="color:{{ @dnsinfo.dkim.color }}" colspan="2">{{ @dnsinfo.dkim.status }} DKIM (TXT) Record for {{ @domain_array.domain }}</th></tr>
<check if="{{ @dnsinfo.dkim.status=='Verified' }}">
<true>
<tr><td colspan="2">DKIM is all set, nothing to do.</td></tr>
</true>
</check>
<check if="{{ @dnsinfo.dkim.status=='Update' }}">
<true>
<tr><td style="text-align: right;">Type:</td><td>TXT</td></tr>
<tr><td style="text-align: right;">Host:</td><td>{{ @dnsinfo.dkim.selector }}._domainkey.{{ @domain_array.domain }}</td></tr>
<tr><td style="text-align: right;">Value:</td><td style="width: 650px; overflow-wrap: anywhere;">"k=rsa; p={{ @dnsinfo.dkim.dkim }}"</td></tr>
<tr><td style="text-align: right;">TTL:</td><td>3600 (or default)</td></tr>
<tr><td></td><td><small>This should be the only TXT record for this specific Host name.</small></td></tr>
</true>
</check>
<check if="{{ @dnsinfo.dkim.status=='Create' }}">
<true>
<tr><td colspan="2"><a href="{{@NAV.vmailbase}}/Dkim/Add?r={{@PATH}}">Add DKIM Key</a><br>Use the link above to create a DKIM configuration. Once that's completed come back here and this message will change to instructions on adding an associated DNS record.</td></tr>
</true>
</check>
</table>
</false>
</check>
<!-- https://www.w3docs.com/snippets/css/how-to-wrap-a-long-string-without-any-whitespace-character.html -->
<hr>
<h3>Email Client Configuration Options</h3>
<small>Use the settings below to configure email clients like<br>Mozilla Thunderbird, Apple Mail, Microsoft Outlook, et cetera.</small>
<br><br>
<table>
<tr><th colspan="2">Incoming Server Settings</th></tr>
<tr><td style="text-align: right;">Protocol:</td><td>IMAP</td></tr>
<tr><td style="text-align: right;">Hostname:</td><td>mail.{{ @domain_array.domain }}</td></tr>
2023-08-21 16:15:32 -07:00
<tr><td style="text-align: right;">Port:</td><td>143</td></tr>
2023-06-19 11:53:16 -07:00
<tr><td style="text-align: right;">Connection Security:</td><td>STARTTLS</td></tr>
<tr><td style="text-align: right;">Authentication Method:</td><td>Normal password</td></tr>
<tr><td style="text-align: right;">Username:</td><td>(full email address)</td></tr>
<tr><td style="text-align: right;"><small>Notes:</small></td><td><small>Alternative options that work:<br>Connection Security: SSL/TLS<br>Port: 993</small></td></tr>
</table>
2022-07-01 15:24:26 -07:00
<br><br>
2023-06-19 11:53:16 -07:00
<table>
<tr><th colspan="2">Outgoing Server Settings</th></tr>
<tr><td style="text-align: right;">Protocol:</td><td>SMTP</td></tr>
<tr><td style="text-align: right;">Hostname:</td><td>mail.{{ @domain_array.domain }}</td></tr>
2023-08-21 16:15:32 -07:00
<tr><td style="text-align: right;">Port:</td><td>587</td></tr>
2023-06-19 11:53:16 -07:00
<tr><td style="text-align: right;">Connection Security:</td><td>STARTTLS</td></tr>
<tr><td style="text-align: right;">Authentication Method:</td><td>Normal password</td></tr>
<tr><td style="text-align: right;">Username:</td><td>(full email address)</td></tr>
<tr><td style="text-align: right;"><small>Notes:</small></td><td><small>Alternative options that work:<br>Connection Security: SSL/TLS<br>Port: 465</small></td></tr>
</table>
<br><br>
<table>
<tr><th colspan="2">Alternative Incoming Server Settings</th></tr>
<tr><td style="text-align: right;">Protocol:</td><td>POP3</td></tr>
<tr><td style="text-align: right;">Hostname:</td><td>mail.{{ @domain_array.domain }}</td></tr>
2023-08-21 16:15:32 -07:00
<tr><td style="text-align: right;">Port:</td><td>110</td></tr>
2023-06-19 11:53:16 -07:00
<tr><td style="text-align: right;">Connection Security:</td><td>STARTTLS</td></tr>
<tr><td style="text-align: right;">Authentication Method:</td><td>Normal password</td></tr>
<tr><td style="text-align: right;">Username:</td><td>(full email address)</td></tr>
<tr><td style="text-align: right;"><small>Notes:</small></td><td><small>Alternative options that work:<br>Connection Security: SSL/TLS<br>Port: 995</small></td></tr>
<tr><td colspan="2" style="text-align: left;"><small>IMAP (listed above) keeps your folders and emails synced on your<br>server and is the recommended default.<br>POP3 listed here keeps your folders and emails on your local<br>computer and can sometimes be a prefered configuration.</small></td></tr>
</table>
2022-07-01 15:24:26 -07:00
<include href="footer.html" />