1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/setup/flavors/compose/mailu.env

138 lines
3.8 KiB
Bash
Raw Normal View History

2018-04-22 11:53:18 +02:00
# Mailu main configuration file
#
# This file is autogenerated by the configuration management wizard.
# For a detailed list of configuration variables, see the documentation at
# https://mailu.io
###################################
# Common configuration variables
###################################
# Set this to the path where Mailu data and configuration is stored
# This variable is now set directly in `docker-compose.yml by the setup utility
2018-10-16 15:12:42 +02:00
# ROOT={{ root }}
2018-04-22 11:53:18 +02:00
# Set to a randomly generated 16 bytes string
SECRET_KEY={{ secret(16) }}
# Address where listening ports should bind
# This variables are now set directly in `docker-compose.yml by the setup utility
2018-10-16 11:34:55 +02:00
# PUBLIC_IPV4= {{ bind4 }} (default: 127.0.0.1)
# PUBLIC_IPV6= {{ bind6 }} (default: ::1)
2018-04-22 11:53:18 +02:00
2018-10-16 15:12:42 +02:00
# Main mail domain
# DOMAIN={{ domain }}
2018-04-22 11:53:18 +02:00
# Mail address of the postmaster
2018-10-16 15:12:42 +02:00
POSTMASTER={{ postmaster or 'admin'}}
#Chose how secure connections will behave:
#TLS_FLAVOR={{ tls_flavor }}
2018-04-22 11:53:18 +02:00
# Hostnames for this server, separated with comas
HOSTNAMES={{ hostnames }}
# Authentication rate limit (per source IP address)
2018-10-16 17:03:59 +02:00
AUTH_RATELIMIT={% if auth_ratelimit_pm %}{{ auth_ratelimit_pm }}/minute;{% endif %}
{% if auth_ratelimit_ph %}{{ auth_ratelimit_ph }}/hour{% endif %}
2018-04-22 11:53:18 +02:00
# Opt-out of statistics, replace with "True" to opt out
2018-10-16 15:12:42 +02:00
DISABLE_STATISTICS={{ disable_statistics or 'False' }}
###################################
# Optional features
###################################
#Expose the admin interface
2018-10-16 17:03:59 +02:00
#ADMIN={{ admin_enabled or 'false' }}
2018-10-16 15:12:42 +02:00
#Chose which webmail to run if any
#WEBMAIL_ENABLED={{ webmail_enabled or 'false' }}
2018-10-16 17:03:59 +02:00
#WEBMAIL={{ webmail_type or 'none' }}
2018-10-16 15:12:42 +02:00
#Antivirus solution
2018-10-16 17:03:59 +02:00
#ANTIVIRUS={{ antivirus_enabled or 'none' }}
2018-10-16 15:12:42 +02:00
#Antispam solution
#ANTISPAM={{ antispam_enabled or 'none'}}
#Dav server implementation
2018-10-16 17:03:59 +02:00
#WEBDAV={{ webdav_enabled or 'none' }}
2018-04-22 11:53:18 +02:00
###################################
# Server behavior
###################################
# Message size limit in bytes
# Default: accept messages up to 50MB
MESSAGE_SIZE_LIMIT={{ message_size_limit }}
# Networks granted relay permissions, make sure that you include your Docker
# internal network (default to 172.17.0.0/16)
RELAYNETS={{ relaynets }}
# Will relay all outgoing mails if configured
RELAYHOST={{ relayhost }}
# Fetchmail delay
FETCHMAIL_DELAY={{ fetchmail_delay }}
# Recipient delimiter, character used to delimiter localpart from custom address part
RECIPIENT_DELIMITER={{ recipient_delimiter }}
{% if dmarc_rua or dmarc_ruf %}
# DMARC rua and ruf email
{% if dmarc_rua %}DMARC_RUA={{ dmarc_rua }}{% endif %}
{% if dmarc_ruf %}DMARC_RUF={{ dmarc_ruf }}{% endif %}
{% endif %}
{% if welcome_enabled %}
# Welcome email, enable and set a topic and body if you wish to send welcome
# emails to all users.
WELCOME={{ welcome_enable }}
WELCOME_SUBJECT={{ welcome_subject }}
WELCOME_BODY={{ welcome_body }}
{% endif %}
{% if domain_registration %}
# Domain registration (remove to disable)
DOMAIN_REGISTRATION=true
{% endif %}
###################################
# Web settings
###################################
# Path to the admin interface if enabled
WEB_ADMIN={{ admin_path }}
2018-04-22 11:53:18 +02:00
# Path to the webmail if enabled
WEB_WEBMAIL={{ webmail_path }}
2018-04-22 11:53:18 +02:00
# Website name
2018-10-16 11:34:55 +02:00
SITENAME={{ site_name }}
2018-04-22 11:53:18 +02:00
# Linked Website URL
WEBSITE={{ website }}
2018-04-22 11:53:18 +02:00
{% if recaptcha_public_key and recaptcha_private_key %}
# Registration reCaptcha settings (warning, this has some privacy impact)
# RECAPTCHA_PUBLIC_KEY={{ recaptcha_public_key }}
# RECAPTCHA_PRIVATE_KEY={{ recaptcha_private_key }}
{% endif %}
###################################
# Advanced settings
###################################
{% if password_scheme %}
# Specific password storage scheme
PASSWORD_SCHEME={{ password_scheme }}
{% endif %}
# Header to take the real ip from
REAL_IP_HEADER={{ real_ip_header }}
# IPs for nginx set_real_ip_from (CIDR list separated by commas)
REAL_IP_FROM={{ real_ip_from }}