Added input form constraints

This commit is contained in:
Ionut Filip
2018-10-17 15:11:55 +03:00
parent b9ecc0ccc6
commit b3c7c45140
8 changed files with 48 additions and 27 deletions

View File

@@ -33,8 +33,9 @@ POSTMASTER={{ postmaster or 'admin'}}
HOSTNAMES={{ hostnames }}
# Authentication rate limit (per source IP address)
AUTH_RATELIMIT={% if auth_ratelimit_pm %}{{ auth_ratelimit_pm }}/minute;{% endif %}
{% if auth_ratelimit_ph %}{{ auth_ratelimit_ph }}/hour{% endif %}
{% if auth_ratelimit_pm > '0' and auth_ratelimit_ph > '0' %}
AUTH_RATELIMIT={{ auth_ratelimit_pm }}/minute;{{ auth_ratelimit_ph }}/hour
{% endif %}
# Opt-out of statistics, replace with "True" to opt out
DISABLE_STATISTICS={{ disable_statistics or 'False' }}
@@ -47,7 +48,6 @@ DISABLE_STATISTICS={{ disable_statistics or 'False' }}
#ADMIN={{ admin_enabled or 'false' }}
#Chose which webmail to run if any
#WEBMAIL_ENABLED={{ webmail_enabled or 'false' }}
#WEBMAIL={{ webmail_type or 'none' }}
#Antivirus solution