diff --git a/core/dovecot/conf/dovecot.conf b/core/dovecot/conf/dovecot.conf index 7b00bee1..e35ab4a1 100644 --- a/core/dovecot/conf/dovecot.conf +++ b/core/dovecot/conf/dovecot.conf @@ -6,11 +6,11 @@ protocols = imap pop3 lmtp sieve postmaster_address = {{ POSTMASTER }}@{{ DOMAIN }} hostname = {{ HOSTNAMES.split(",")[0] }} submission_host = {{ FRONT_ADDRESS }} -{%- if SUBNET6 -%} +{%- if SUBNET6 %} listen = *,:: -{%- else -%} +{% else %} listen = * -{%- endif %} +{% endif %} default_internal_user = dovecot default_login_user = mail diff --git a/core/nginx/dovecot/proxy.conf b/core/nginx/dovecot/proxy.conf index e9e605d7..099026b3 100644 --- a/core/nginx/dovecot/proxy.conf +++ b/core/nginx/dovecot/proxy.conf @@ -21,11 +21,11 @@ imap_urlauth_host= lmtp_proxy = yes lmtp_client_workarounds = whitespace-before-path mailbox-for-path -{%- if SUBNET6 -%} +{%- if SUBNET6 %} listen = *,:: -{%- else -%} +{% else %} listen = * -{%- endif %} +{% endif %} default_internal_user = dovecot default_login_user = mail