forked from data.coop/ansible
Opt out of Mailu statistics, and don't hardcode domains
This commit is contained in:
parent
f3fd5c7c74
commit
ab1f170790
|
@ -17,4 +17,4 @@
|
|||
env:
|
||||
# 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(' ') }}"
|
||||
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
|
||||
|
|
|
@ -29,10 +29,10 @@ SECRET_KEY={{ mailu_secret_key }}
|
|||
SUBNET={{ services.mailu.subnet }}
|
||||
|
||||
# Main mail domain
|
||||
DOMAIN=data.coop
|
||||
DOMAIN={{ base_domain }}
|
||||
|
||||
# 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=admin
|
||||
|
@ -44,7 +44,7 @@ TLS_FLAVOR=mail
|
|||
AUTH_RATELIMIT=120/minute;1200/hour
|
||||
|
||||
# Opt-out of statistics, replace with "True" to opt out
|
||||
DISABLE_STATISTICS=False
|
||||
DISABLE_STATISTICS=True
|
||||
|
||||
###################################
|
||||
# Optional features
|
||||
|
@ -117,10 +117,10 @@ WEB_ADMIN=/admin
|
|||
WEB_WEBMAIL=/webmail
|
||||
|
||||
# Website name
|
||||
SITENAME=data.coop
|
||||
SITENAME={{ base_domain }}
|
||||
|
||||
# Linked Website URL
|
||||
WEBSITE=https://mail.data.coop
|
||||
WEBSITE=https://mail.{{ base_domain }}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue