summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2025-06-03 07:41:33 +0000
committerMagnus Hagander2025-06-03 07:41:33 +0000
commit439b86db3a87efa06314ea307f15f69eb343e15d (patch)
treee62cf1ca2e3f77379fe0647c50da56e3f5d2b7d7
parent7fe1745a3e92d1976eeba6f92bebe764961e7f80 (diff)
Add server connection information to dashboard page
If the user has a mailbox, we should tell them how to use it. Information is only shown once the user is actually confirmed to have a mailbox.
-rw-r--r--pgmailmgr/mailmgr/templates/home.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/pgmailmgr/mailmgr/templates/home.html b/pgmailmgr/mailmgr/templates/home.html
index 8dff238..0565a30 100644
--- a/pgmailmgr/mailmgr/templates/home.html
+++ b/pgmailmgr/mailmgr/templates/home.html
@@ -4,11 +4,55 @@
<h2>Mailboxes</h2>
{% if mailboxes %}
+<p>
+ You have one or more mailboxes hosted on this system.
+</p>
+<h4>Change password</h4>
<ul>
{% for m in mailboxes %}
<li><a href="{{m.virtual_user_id}}/">{{m.fulladdr}}</a></li>
{% endfor %}
</ul>
+
+<h4>Accessing your mailbox</h4>
+<h5>IMAP4/POP3/SMTP</h5>
+<table class="table text-center" style="width: auto">
+ <tr>
+ <th></th>
+ <th>IMAP4</th>
+ <th>POP3</th>
+ </tr>
+ <tr>
+ <td>Server</td>
+ <td colspan="2">imap.postgresql.org</td>
+ </tr>
+ <tr>
+ <td>Port</td>
+ <td>993 (TLS)</td>
+ <td>995 (TLS)</td>
+ </tr>
+ <tr>
+ <td>Login</td>
+ <td colspan="2">Your full <i>user@domain.com</i> address</td>
+ </tr>
+ <tr>
+ <td>Outgoing SMTP</td>
+ <td colspan="2">smtp.postgresql.org</td>
+ </tr>
+ <tr>
+ <td>SMTP port</td>
+ <td colspan="2">25 or 587 (STARTTLS)</td>
+ </tr>
+ <tr>
+ <td>Login</td>
+ <td colspan="2">Your full <i>user@domain.com</i> address</td>
+ </tr>
+</table>
+
+<h5>Webmail</h5>
+<p>
+ You can access the webmail interface at <a href="https://webmail.postgresql.org/">webmail.postgresql.org</a>.
+</p>
{% else %}
<p>
You have no mailbox here.
@@ -16,6 +60,7 @@
{% endif %}
{%if admperm %}
+<h2>Administration</h2>
<a href="/adm/" class="btn btn-primary">Administer other users and forwarders</a>
{%endif%}