You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
2.9 KiB
HTML
40 lines
2.9 KiB
HTML
6 years ago
|
{% call macros.panel("info", "Step 4 - expose Mailu to the world") %}
|
||
7 years ago
|
<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>
|
||
|
|
||
|
<p>Among Mailu services, the <em>front</em> server is the one accepting connections,
|
||
|
be it directly from the outside world, through a reverse proxy or in any
|
||
|
complex configuration that you might want to setup. It needs to listen on some
|
||
|
IP addresses in order to expose its public services. You must at least setup
|
||
|
an IPv4 or an IPv6 address if you wish to access Mailu.</p>
|
||
|
|
||
|
<p><span class="label label-warning">Warning</span> You must use specific addresses, please
|
||
7 years ago
|
avoid generic all-interfaces addresses like <code>0.0.0.0</code> or <code>::</code>.</p>
|
||
7 years ago
|
|
||
|
<div class="form-group">
|
||
|
<label>IPv4 listen address</label>
|
||
6 years ago
|
<!-- Validates IPv4 address -->
|
||
6 years ago
|
<input class="form-control" type="text" name="bind4" value="127.0.0.1"
|
||
6 years ago
|
pattern="^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$">
|
||
7 years ago
|
</div>
|
||
|
|
||
|
<div class="form-group">
|
||
|
<label>IPv6 listen address</label>
|
||
6 years ago
|
<!-- Validates IPv6 address -->
|
||
|
<input class="form-control" type="text" name="bind6" value="::1"
|
||
6 years ago
|
pattern="^s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]d|1dd|[1-9]?d)(.(25[0-5]|2[0-4]d|1dd|[1-9]?d)){3}))|:)))(%.+)?s*(\/([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8]))?$">
|
||
7 years ago
|
</div>
|
||
|
|
||
7 years ago
|
<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>
|
||
6 years ago
|
<!-- 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*)*$">
|
||
7 years ago
|
</div>
|
||
7 years ago
|
{% endcall %}
|