{% extends "base.html" %} {% import "_macros.html" as m with context %} {% block title %}Mail for {{ md.domain.domain }}{% endblock %} {% block content %} {% set dom = md.domain.domain %} {% set host = md.host or ("mail." ~ dom) %}
{{ m.icon("up") }}Mail

{{ dom }}

Mail clients connect to {{ host }}: IMAP 993, POP3 995, SMTP 465 or 587. The login is the full address.

Mailboxes

{% if md.mailboxes %}
{% for b in md.mailboxes %} {% endfor %}
AddressUsedCreated
{{ b.address }} {% if b.quota_mb %}{{ m.meter(b.used, b.quota_mb * 1048576) }}{{ b.used|size }} of {{ (b.quota_mb * 1048576)|size }}{% else %}{{ b.used|size }} no limit{% endif %} {{ b.created|time }}
{{ m.csrf_field() }}
{% else %} {% call m.empty("No mailboxes yet", "Create an address like info@" ~ dom ~ ". Each mailbox has its own password and size limit.") %} {% endcall %} {% endif %}

Forwarding

Mail sent to these addresses goes on to others. Use * to catch every unknown address.

{% if md.aliases %}
{% for a in md.aliases %} {% endfor %}
FromTo
{{ "any address @" ~ dom if a.source.startswith("@") else a.source }}{{ a.destination }}
{{ m.csrf_field() }}
{% else %}

No forwarding yet.

{% endif %}

DNS records for mail

Add these at your DNS provider so other servers accept your mail. Zones hosted here get them automatically.

{% for r in md.dns %} {% endfor %}
NameTypeValue
{{ r.name }}{{ r.type }} {{ r.value }}{{ m.copy(r.value) }}

Delete mail domain

Deletes every mailbox, message and forwarding rule of {{ dom }}.

{{ m.csrf_field() }}
{% endblock %}