1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-08-10 22:31:47 +02:00

Ensure that dovecot doesn't bind v6 if not required

This commit is contained in:
Florent Daigniere
2023-08-28 11:56:25 +02:00
parent 562cd8c135
commit b2a5a80e12
3 changed files with 12 additions and 0 deletions

View File

@@ -6,6 +6,11 @@ protocols = imap pop3 lmtp sieve
postmaster_address = {{ POSTMASTER }}@{{ DOMAIN }}
hostname = {{ HOSTNAMES.split(",")[0] }}
submission_host = {{ FRONT_ADDRESS }}
{%- if SUBNET6 -%}
listen = *,::
{%- else -%}
listen = *
{%- endif %}
default_internal_user = dovecot
default_login_user = mail

View File

@@ -21,6 +21,12 @@ imap_urlauth_host=
lmtp_proxy = yes
lmtp_client_workarounds = whitespace-before-path mailbox-for-path
{%- if SUBNET6 -%}
listen = *,::
{%- else -%}
listen = *
{%- endif %}
default_internal_user = dovecot
default_login_user = mail
default_internal_group = dovecot