Added handling of multiple domains and used get_url function in mailu

This commit is contained in:
Kevin Veen-Birkenbach 2025-08-08 08:39:09 +02:00
parent da58691d25
commit 59bd4ca8eb
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E

View File

@ -20,7 +20,7 @@ SUBNET={{networks.local['web-app-mailu'].subnet}}
DOMAIN={{ applications | get_app_conf(application_id,'domain') }} DOMAIN={{ applications | get_app_conf(application_id,'domain') }}
# Hostnames for this server, separated with comas # Hostnames for this server, separated with comas
HOSTNAMES={{domains | get_domain(application_id)}} HOSTNAMES={{ domains[application_id] | join(',') }}
# Postmaster local part (will append the main mail domain) # Postmaster local part (will append the main mail domain)
POSTMASTER=admin POSTMASTER=admin
@ -105,7 +105,7 @@ WEB_WEBMAIL=/webmail
SITENAME=Mailservices SITENAME=Mailservices
# Linked Website URL # Linked Website URL
WEBSITE=https://{{domains | get_domain(application_id)}} WEBSITE={{ domains | get_url(application_id, WEB_PROTOCOL) }}