|
|
@ -65,26 +65,24 @@ DISABLE_STATISTICS={{ disable_statistics or 'False' }}
|
|
|
|
|
|
|
|
|
|
|
|
# Message size limit in bytes
|
|
|
|
# Message size limit in bytes
|
|
|
|
# Default: accept messages up to 50MB
|
|
|
|
# Default: accept messages up to 50MB
|
|
|
|
MESSAGE_SIZE_LIMIT={{ message_size_limit }}
|
|
|
|
MESSAGE_SIZE_LIMIT={{ message_size_limit or '50000000' }}
|
|
|
|
|
|
|
|
|
|
|
|
# Networks granted relay permissions, make sure that you include your Docker
|
|
|
|
# Networks granted relay permissions, make sure that you include your Docker
|
|
|
|
# internal network (default to 172.17.0.0/16)
|
|
|
|
# internal network (default to 172.17.0.0/16)
|
|
|
|
RELAYNETS={{ relaynets }}
|
|
|
|
RELAYNETS={{ relaynets or '172.17.0.0/16'}}
|
|
|
|
|
|
|
|
|
|
|
|
# Will relay all outgoing mails if configured
|
|
|
|
# Will relay all outgoing mails if configured
|
|
|
|
RELAYHOST={{ relayhost }}
|
|
|
|
RELAYHOST={{ relayhost }}
|
|
|
|
|
|
|
|
|
|
|
|
# Fetchmail delay
|
|
|
|
# Fetchmail delay
|
|
|
|
FETCHMAIL_DELAY={{ fetchmail_delay }}
|
|
|
|
FETCHMAIL_DELAY={{ fetchmail_delay or '600' }}
|
|
|
|
|
|
|
|
|
|
|
|
# Recipient delimiter, character used to delimiter localpart from custom address part
|
|
|
|
# Recipient delimiter, character used to delimiter localpart from custom address part
|
|
|
|
RECIPIENT_DELIMITER={{ recipient_delimiter }}
|
|
|
|
RECIPIENT_DELIMITER={{ recipient_delimiter or '+' }}
|
|
|
|
|
|
|
|
|
|
|
|
{% if dmarc_rua or dmarc_ruf %}
|
|
|
|
|
|
|
|
# DMARC rua and ruf email
|
|
|
|
# DMARC rua and ruf email
|
|
|
|
{% if dmarc_rua %}DMARC_RUA={{ dmarc_rua }}{% endif %}
|
|
|
|
DMARC_RUA={{ dmarc_rua or 'admin' }}
|
|
|
|
{% if dmarc_ruf %}DMARC_RUF={{ dmarc_ruf }}{% endif %}
|
|
|
|
DMARC_RUF={{ dmarc_ruf or 'admin' }}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if welcome_enabled %}
|
|
|
|
{% if welcome_enabled %}
|
|
|
|
# Welcome email, enable and set a topic and body if you wish to send welcome
|
|
|
|
# Welcome email, enable and set a topic and body if you wish to send welcome
|
|
|
@ -94,6 +92,12 @@ WELCOME_SUBJECT={{ welcome_subject }}
|
|
|
|
WELCOME_BODY={{ welcome_body }}
|
|
|
|
WELCOME_BODY={{ welcome_body }}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Maildir Compression
|
|
|
|
|
|
|
|
# choose compression-method, default: none (value: bz2, gz)
|
|
|
|
|
|
|
|
COMPRESSION={{ compression }}
|
|
|
|
|
|
|
|
# change compression-level, default: 6 (value: 1-9)
|
|
|
|
|
|
|
|
COMPRESSION_LEVEL={{ compression_level }}
|
|
|
|
|
|
|
|
|
|
|
|
{% if domain_registration %}
|
|
|
|
{% if domain_registration %}
|
|
|
|
# Domain registration (remove to disable)
|
|
|
|
# Domain registration (remove to disable)
|
|
|
|
DOMAIN_REGISTRATION=true
|
|
|
|
DOMAIN_REGISTRATION=true
|
|
|
@ -125,13 +129,14 @@ WEBSITE={{ website }}
|
|
|
|
# Advanced settings
|
|
|
|
# Advanced settings
|
|
|
|
###################################
|
|
|
|
###################################
|
|
|
|
|
|
|
|
|
|
|
|
{% if password_scheme %}
|
|
|
|
|
|
|
|
# Specific password storage scheme
|
|
|
|
# Specific password storage scheme
|
|
|
|
PASSWORD_SCHEME={{ password_scheme }}
|
|
|
|
PASSWORD_SCHEME={{ password_scheme or 'SHA512-CRYPT'}}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Header to take the real ip from
|
|
|
|
# Header to take the real ip from
|
|
|
|
REAL_IP_HEADER={{ real_ip_header }}
|
|
|
|
REAL_IP_HEADER={{ real_ip_header }}
|
|
|
|
|
|
|
|
|
|
|
|
# IPs for nginx set_real_ip_from (CIDR list separated by commas)
|
|
|
|
# IPs for nginx set_real_ip_from (CIDR list separated by commas)
|
|
|
|
REAL_IP_FROM={{ real_ip_from }}
|
|
|
|
REAL_IP_FROM={{ real_ip_from }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
|
|
|
|
|
|
|
|
REJECT_UNLISTED_RECIPIENT={{ reject_unlisted_recipient }}
|
|
|
|