mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-16 10:59:53 +02:00
63 lines
2.0 KiB
HTML
63 lines
2.0 KiB
HTML
{%- extends "base.html" %}
|
|
|
|
{%- block title %}
|
|
{% trans %}Client setup{% endtrans %}
|
|
{%- endblock %}
|
|
|
|
{%- block subtitle %}
|
|
{% trans %}configure your email client{% endtrans %}
|
|
{%- endblock %}
|
|
|
|
{%- block content %}
|
|
<div>If you use an Apple device, <a href="/apple.mobileconfig">click here to autoconfigure it.</a></div>
|
|
{%- call macros.table(title=_("Incoming mail"), datatable=False) %}
|
|
<tbody>
|
|
<tr>
|
|
<th>{% trans %}Mail protocol{% endtrans %}</th>
|
|
<td>IMAP</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{% trans %}TCP port{% endtrans %}</th>
|
|
<td>{{ "143" if config["TLS_FLAVOR"] == "notls" else "993 (TLS)" }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{% trans %}Server name{% endtrans %}</th>
|
|
<td><pre class="pre-config border bg-light">{{ config["HOSTNAMES"] }}</pre></td>
|
|
</tr>
|
|
<tr>
|
|
<th>{% trans %}Username{% endtrans %}</th>
|
|
<td><pre class="pre-config border bg-light">{{ current_user if current_user.is_authenticated else "******" }}</pre></td>
|
|
</tr>
|
|
<tr>
|
|
<th>{% trans %}Password{% endtrans %}</th>
|
|
<td><pre class="pre-config border bg-light">*******</pre></td>
|
|
</tr>
|
|
</tbody>
|
|
{%- endcall %}
|
|
|
|
{%- call macros.table(title=_("Outgoing mail"), datatable=False) %}
|
|
<tbody>
|
|
<tr>
|
|
<th>{% trans %}Mail protocol{% endtrans %}</th>
|
|
<td>SMTP</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{% trans %}TCP port{% endtrans %}</th>
|
|
<td>{{ "25" if config["TLS_FLAVOR"] == "notls" else "465 (TLS)" }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{% trans %}Server name{% endtrans %}</th>
|
|
<td><pre class="pre-config border bg-light">{{ config["HOSTNAMES"] }}</pre></td>
|
|
</tr>
|
|
<tr>
|
|
<th>{% trans %}Username{% endtrans %}</th>
|
|
<td><pre class="pre-config border bg-light">{{ current_user if current_user.is_authenticated else "******" }}</pre></td>
|
|
</tr>
|
|
<tr>
|
|
<th>{% trans %}Password{% endtrans %}</th>
|
|
<td><pre class="pre-config border bg-light">*******</pre></td>
|
|
</tr>
|
|
</tbody>
|
|
{%- endcall %}
|
|
{%- endblock %}
|