2018-10-18 16:23:25 +02:00
|
|
|
{% call macros.panel("info", "Step 4 - expose Mailu to the world") %}
|
|
|
|
<p>A mail server must be exposed to the world to receive emails, send emails,
|
|
|
|
and let users access their mailboxes. Mailu has some flexibility in the way
|
|
|
|
you expose it to the world.</p>
|
|
|
|
|
2018-10-23 16:46:06 +02:00
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<label class="form-check-label">
|
|
|
|
<input class="form-check-input" type="checkbox" name="resolver_enabled" value="true">
|
|
|
|
Enable unbound resolver
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
2018-10-18 16:23:25 +02:00
|
|
|
<div class="form-group">
|
2018-12-03 03:16:53 +02:00
|
|
|
<label>Subnet of the docker network. This should not conflict with any networks to which your system is connected. (Internal and external!)</label>
|
2018-10-23 14:42:19 +02:00
|
|
|
<input class="form-control" type="text" name="subnet" required pattern="^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))$"
|
2018-12-03 03:16:53 +02:00
|
|
|
value="192.168.203.0/24">
|
2018-10-18 16:23:25 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>You server will be available under a main hostname but may expose multiple public
|
|
|
|
hostnames. Every e-mail domain that points to this server must have one of the
|
|
|
|
hostnames in its <code>MX</code> record. Hostnames must be coma-separated.</p>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Public hostnames</label>
|
|
|
|
<!-- Validates hostname or list of hostnames -->
|
|
|
|
<input class="form-control" type="text" name="hostnames" placeholder="my.host.name,other.host.name" multiple required
|
|
|
|
pattern="^(?:(?:\w+(?:-+\w+)*\.)+[a-z]+)*(?:,(?:(?:\w+(?:-+\w+)*\.)+[a-z]+)\s*)*$">
|
|
|
|
</div>
|
|
|
|
{% endcall %}
|