Added minor changes
This commit is contained in:
@@ -19,8 +19,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
env_file: {{ env }}
|
env_file: {{ env }}
|
||||||
env:
|
env:
|
||||||
- TLS_FLAVOR={{ tls_flavor or 'letsencrypt' }}
|
- TLS_FLAVOR={{ tls_flavor }}
|
||||||
- ADMIN={{ expose_admin or 'no' }}
|
- ADMIN={{ admin_enabled or 'no' }}
|
||||||
ports:
|
ports:
|
||||||
{% for port in (80, 443, 25, 465, 587, 110, 995, 143, 993) %}
|
{% for port in (80, 443, 25, 465, 587, 110, 995, 143, 993) %}
|
||||||
{% if bind4 %}
|
{% if bind4 %}
|
||||||
@@ -39,7 +39,7 @@ services:
|
|||||||
image: mailu/admin:{{ version }}
|
image: mailu/admin:{{ version }}
|
||||||
restart: always
|
restart: always
|
||||||
env_file: {{ env }}
|
env_file: {{ env }}
|
||||||
{% if not expose_admin %}
|
{% if not admin_enabled %}
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8080:80
|
- 127.0.0.1:8080:80
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -102,7 +102,7 @@ services:
|
|||||||
- "{{ root }}/dav:/data"
|
- "{{ root }}/dav:/data"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if enable_fetchmail %}
|
{% if fetchmail_enabled %}
|
||||||
fetchmail:
|
fetchmail:
|
||||||
image: mailu/fetchmail:{{ version }}
|
image: mailu/fetchmail:{{ version }}
|
||||||
restart: always
|
restart: always
|
||||||
@@ -114,7 +114,7 @@ services:
|
|||||||
# Webmail
|
# Webmail
|
||||||
{% if webmail_enabled %}
|
{% if webmail_enabled %}
|
||||||
webmail:
|
webmail:
|
||||||
image: mailu/{{ webmail }}:{{ version }}
|
image: mailu/{{ webmail_type }}:{{ version }}
|
||||||
restart: always
|
restart: always
|
||||||
env_file: {{ env }}
|
env_file: {{ env }}
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -33,7 +33,8 @@ POSTMASTER={{ postmaster or 'admin'}}
|
|||||||
HOSTNAMES={{ hostnames }}
|
HOSTNAMES={{ hostnames }}
|
||||||
|
|
||||||
# Authentication rate limit (per source IP address)
|
# Authentication rate limit (per source IP address)
|
||||||
AUTH_RATELIMIT={{ auth_ratelimit }}
|
AUTH_RATELIMIT={% if auth_ratelimit_pm %}{{ auth_ratelimit_pm }}/minute;{% endif %}
|
||||||
|
{% if auth_ratelimit_ph %}{{ auth_ratelimit_ph }}/hour{% endif %}
|
||||||
|
|
||||||
# Opt-out of statistics, replace with "True" to opt out
|
# Opt-out of statistics, replace with "True" to opt out
|
||||||
DISABLE_STATISTICS={{ disable_statistics or 'False' }}
|
DISABLE_STATISTICS={{ disable_statistics or 'False' }}
|
||||||
@@ -43,20 +44,20 @@ DISABLE_STATISTICS={{ disable_statistics or 'False' }}
|
|||||||
###################################
|
###################################
|
||||||
|
|
||||||
#Expose the admin interface
|
#Expose the admin interface
|
||||||
ADMIN={{ admin_enabled or 'false' }}
|
#ADMIN={{ admin_enabled or 'false' }}
|
||||||
|
|
||||||
#Chose which webmail to run if any
|
#Chose which webmail to run if any
|
||||||
#WEBMAIL_ENABLED={{ webmail_enabled or 'false' }}
|
#WEBMAIL_ENABLED={{ webmail_enabled or 'false' }}
|
||||||
WEBMAIL={{ webmail_type or 'none' }}
|
#WEBMAIL={{ webmail_type or 'none' }}
|
||||||
|
|
||||||
#Antivirus solution
|
#Antivirus solution
|
||||||
ANTIVIRUS={{ antivirus_enabled or 'none' }}
|
#ANTIVIRUS={{ antivirus_enabled or 'none' }}
|
||||||
|
|
||||||
#Antispam solution
|
#Antispam solution
|
||||||
#ANTISPAM={{ antispam_enabled or 'none'}}
|
#ANTISPAM={{ antispam_enabled or 'none'}}
|
||||||
|
|
||||||
#Dav server implementation
|
#Dav server implementation
|
||||||
WEBDAV={{ webdav_enabled or 'none' }}
|
#WEBDAV={{ webdav_enabled or 'none' }}
|
||||||
|
|
||||||
###################################
|
###################################
|
||||||
# Server behavior
|
# Server behavior
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Root path: </label>
|
<label>Root path: </label>
|
||||||
<input class="form-control" type="text" name="root" placeholder="/mailu">
|
<input class="form-control" type="text" name="root" value="/mailu">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@@ -11,9 +11,16 @@
|
|||||||
<input class="form-control" type="text" name="domain" placeholder="e.g. mailu.io">
|
<input class="form-control" type="text" name="domain" placeholder="e.g. mailu.io">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check form-check-inline">
|
||||||
|
<label class="form-check-label">
|
||||||
|
<input class="form-check-input" type="checkbox" name="domain_registration" value="true">
|
||||||
|
Domain registration
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Postmaster local part (will append the main mail domain)</label>
|
<label>Postmaster local part (will append the main mail domain)</label>
|
||||||
<input class="form-control" type="text" name="postmaster" placeholder="default: admin">
|
<input class="form-control" type="text" name="postmaster" value="admin">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
@@ -28,7 +35,8 @@
|
|||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Authentication rate limit (per source IP address)</label>
|
<label>Authentication rate limit (per source IP address)</label>
|
||||||
<input class="form-control" type="text" name="auth_ratelimit" placeholder="eg 10/minute;1000/hour">
|
<p><input class="form-control" style="width: 7%; display: inline;" type="text" name="auth_ratelimit_pm">/minute;
|
||||||
|
<input class="form-control" style="width: 7%; display: inline;;" type="text" name="auth_ratelimit_ph">/hour</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-check form-check-inline">
|
<div class="form-check form-check-inline">
|
||||||
@@ -40,19 +48,12 @@
|
|||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Website name</label>
|
<label>Website name</label>
|
||||||
<input class="form-control" type="text" name="site_name" placeholder="Mailu">
|
<input class="form-control" type="text" name="site_name" value="Mailu">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Linked Website URL</label>
|
<label>Linked Website URL</label>
|
||||||
<input class="form-control" type="text" name="website" placeholder="https://mailu.io">
|
<input class="form-control" type="text" name="website" value="https://mailu.io">
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-check form-check-inline">
|
|
||||||
<label class="form-check-label">
|
|
||||||
<input class="form-check-input" type="checkbox" name="domain_registration" value="true">
|
|
||||||
Domain registration
|
|
||||||
</label>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
|
|||||||
@@ -38,8 +38,8 @@ also disable the antivirus if required (it does use aroung 1GB of ram).</p>
|
|||||||
|
|
||||||
<div class="form-check form-check-inline">
|
<div class="form-check form-check-inline">
|
||||||
<label class="form-check-label">
|
<label class="form-check-label">
|
||||||
<input class="form-check-input" type="checkbox" name="antispam_enabled" value="rspamd">
|
<input class="form-check-input" type="checkbox" name="antispam_enabled" value="rspamd" checked>
|
||||||
Enable the filtering service
|
Enable the spam filtering service
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check form-check-inline">
|
<div class="form-check form-check-inline">
|
||||||
@@ -56,4 +56,11 @@ also disable the antivirus if required (it does use aroung 1GB of ram).</p>
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check form-check-inline">
|
||||||
|
<label class="form-check-label">
|
||||||
|
<input class="form-check-input" type="checkbox" name="fetchmail_enabled" value="true">
|
||||||
|
Enable fetchmail
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
|
|||||||
Reference in New Issue
Block a user