Opt out of Mailu statistics, and don't hardcode domains

This commit is contained in:
Sam A. 2022-11-26 23:01:12 +01:00
parent f3fd5c7c74
commit ab1f170790
Signed by untrusted user: samsapti
GPG key ID: CBBBE7371E81C4EA
2 changed files with 6 additions and 6 deletions

View file

@ -17,4 +17,4 @@
env: env:
# Get all services which have allowed_sender_domain defined # Get all services which have allowed_sender_domain defined
ALLOWED_SENDER_DOMAINS: "{{ services | dict2items | selectattr('value.allowed_sender_domain', 'true') | map(attribute='value.domain') | join(' ') }}" ALLOWED_SENDER_DOMAINS: "{{ services | dict2items | selectattr('value.allowed_sender_domain', 'true') | map(attribute='value.domain') | join(' ') }}"
HOSTNAME: "smtp.data.coop" # the name the smtp server will identify itself as HOSTNAME: "smtp.{{ base_domain }}" # the name the smtp server will identify itself as

View file

@ -29,10 +29,10 @@ SECRET_KEY={{ mailu_secret_key }}
SUBNET={{ services.mailu.subnet }} SUBNET={{ services.mailu.subnet }}
# Main mail domain # Main mail domain
DOMAIN=data.coop DOMAIN={{ base_domain }}
# Hostnames for this server, separated with comas # Hostnames for this server, separated with comas
HOSTNAMES=mail.data.coop HOSTNAMES=mail.{{ base_domain }}
# Postmaster local part (will append the main mail domain) # Postmaster local part (will append the main mail domain)
POSTMASTER=admin POSTMASTER=admin
@ -44,7 +44,7 @@ TLS_FLAVOR=mail
AUTH_RATELIMIT=120/minute;1200/hour AUTH_RATELIMIT=120/minute;1200/hour
# Opt-out of statistics, replace with "True" to opt out # Opt-out of statistics, replace with "True" to opt out
DISABLE_STATISTICS=False DISABLE_STATISTICS=True
################################### ###################################
# Optional features # Optional features
@ -117,10 +117,10 @@ WEB_ADMIN=/admin
WEB_WEBMAIL=/webmail WEB_WEBMAIL=/webmail
# Website name # Website name
SITENAME=data.coop SITENAME={{ base_domain }}
# Linked Website URL # Linked Website URL
WEBSITE=https://mail.data.coop WEBSITE=https://mail.{{ base_domain }}