|
|
@ -29,9 +29,14 @@ POSTMASTER={{ postmaster }}
|
|
|
|
# Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt)
|
|
|
|
# Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt)
|
|
|
|
TLS_FLAVOR={{ tls_flavor }}
|
|
|
|
TLS_FLAVOR={{ tls_flavor }}
|
|
|
|
|
|
|
|
|
|
|
|
# Authentication rate limit (per /24 on ipv4 and /56 on ipv6)
|
|
|
|
# Authentication rate limit per IP (per /24 on ipv4 and /56 on ipv6)
|
|
|
|
{% if auth_ratelimit_pm > '0' %}
|
|
|
|
{% if auth_ratelimit_ip > '0' %}
|
|
|
|
AUTH_RATELIMIT={{ auth_ratelimit_pm }}/minute
|
|
|
|
AUTH_RATELIMIT_IP={{ auth_ratelimit_ip }}/hour
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Authentication rate limit per user (per /24 on ipv4 and /56 on ipv6)
|
|
|
|
|
|
|
|
{% if auth_ratelimit_user > '0' %}
|
|
|
|
|
|
|
|
AUTH_RATELIMIT_USER={{ auth_ratelimit_user }}/day
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
# Opt-out of statistics, replace with "True" to opt out
|
|
|
|
# Opt-out of statistics, replace with "True" to opt out
|
|
|
|