2021-09-02 22:49:36 +02:00
|
|
|
{%- extends "base.html" %}
|
2021-04-01 18:30:13 +02:00
|
|
|
|
2021-09-02 22:49:36 +02:00
|
|
|
{%- block title %}
|
2018-04-11 21:45:17 +02:00
|
|
|
{% trans %}Client setup{% endtrans %}
|
2021-09-02 22:49:36 +02:00
|
|
|
{%- endblock %}
|
2018-04-11 21:45:17 +02:00
|
|
|
|
2021-09-02 22:49:36 +02:00
|
|
|
{%- block subtitle %}
|
|
|
|
{% trans %}configure your email client{% endtrans %}
|
|
|
|
{%- endblock %}
|
2018-04-11 21:45:17 +02:00
|
|
|
|
2021-09-02 22:49:36 +02:00
|
|
|
{%- block content %}
|
|
|
|
{%- call macros.table(title=_("Incoming mail"), datatable=False) %}
|
2018-04-11 21:45:17 +02:00
|
|
|
<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) or 143 (STARTTLS)" }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>{% trans %}Server name{% endtrans %}</th>
|
2021-09-02 22:49:36 +02:00
|
|
|
<td><pre class="pre-config border bg-light">{{ config["HOSTNAMES"] }}</pre></td>
|
2018-04-11 21:45:17 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>{% trans %}Username{% endtrans %}</th>
|
2021-09-02 22:49:36 +02:00
|
|
|
<td><pre class="pre-config border bg-light">{{ current_user if current_user.is_authenticated else "******" }}</pre></td>
|
2018-04-11 21:45:17 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>{% trans %}Password{% endtrans %}</th>
|
2021-09-02 22:49:36 +02:00
|
|
|
<td><pre class="pre-config border bg-light">*******</pre></td>
|
2018-04-11 21:45:17 +02:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
2021-09-02 22:49:36 +02:00
|
|
|
{%- endcall %}
|
2018-04-11 21:45:17 +02:00
|
|
|
|
2021-09-02 22:49:36 +02:00
|
|
|
{%- call macros.table(title=_("Outgoing mail"), datatable=False) %}
|
2018-04-11 21:45:17 +02:00
|
|
|
<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) or 587 (STARTTLS)" }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>{% trans %}Server name{% endtrans %}</th>
|
2021-09-02 22:49:36 +02:00
|
|
|
<td><pre class="pre-config border bg-light">{{ config["HOSTNAMES"] }}</pre></td>
|
2018-04-11 21:45:17 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>{% trans %}Username{% endtrans %}</th>
|
2021-09-02 22:49:36 +02:00
|
|
|
<td><pre class="pre-config border bg-light">{{ current_user if current_user.is_authenticated else "******" }}</pre></td>
|
2018-04-11 21:45:17 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>{% trans %}Password{% endtrans %}</th>
|
2021-09-02 22:49:36 +02:00
|
|
|
<td><pre class="pre-config border bg-light">*******</pre></td>
|
2018-04-11 21:45:17 +02:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
2021-09-02 22:49:36 +02:00
|
|
|
{%- endcall %}
|
|
|
|
{%- endblock %}
|