1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-03-03 14:52:36 +02:00

143 lines
4.1 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 16:12:42 +03: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 12:34:55 +03: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 16:12:42 +03:00
# Main mail domain
# DOMAIN={{ domain }}
2018-04-22 11:53:18 +02:00
# Mail address of the postmaster
2018-10-16 16:12:42 +03: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-17 15:11:55 +03:00
{% if auth_ratelimit_pm > '0' and auth_ratelimit_ph > '0' %}
AUTH_RATELIMIT={{ auth_ratelimit_pm }}/minute;{{ 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 16:12:42 +03:00
DISABLE_STATISTICS={{ disable_statistics or 'False' }}
###################################
# Optional features
###################################
#Expose the admin interface
2018-10-16 18:03:59 +03:00
#ADMIN={{ admin_enabled or 'false' }}
2018-10-16 16:12:42 +03:00
#Chose which webmail to run if any
2018-10-16 18:03:59 +03:00
#WEBMAIL={{ webmail_type or 'none' }}
2018-10-16 16:12:42 +03:00
#Antivirus solution
2018-10-16 18:03:59 +03:00
#ANTIVIRUS={{ antivirus_enabled or 'none' }}
2018-10-16 16:12:42 +03:00
#Antispam solution
#ANTISPAM={{ antispam_enabled or 'none'}}
#Dav server implementation
2018-10-16 18:03:59 +03: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
2018-10-17 15:38:51 +03:00
MESSAGE_SIZE_LIMIT={{ message_size_limit or '50000000' }}
2018-04-22 11:53:18 +02:00
# Networks granted relay permissions, make sure that you include your Docker
# internal network (default to 172.17.0.0/16)
2018-10-17 15:38:51 +03:00
RELAYNETS={{ relaynets or '172.17.0.0/16'}}
2018-04-22 11:53:18 +02:00
# Will relay all outgoing mails if configured
RELAYHOST={{ relayhost }}
# Fetchmail delay
2018-10-17 15:38:51 +03:00
FETCHMAIL_DELAY={{ fetchmail_delay or '600' }}
2018-04-22 11:53:18 +02:00
# Recipient delimiter, character used to delimiter localpart from custom address part
2018-10-17 15:38:51 +03:00
RECIPIENT_DELIMITER={{ recipient_delimiter or '+' }}
2018-04-22 11:53:18 +02:00
# DMARC rua and ruf email
2018-10-17 15:38:51 +03:00
DMARC_RUA={{ dmarc_rua or 'admin' }}
DMARC_RUF={{ dmarc_ruf or 'admin' }}
2018-04-22 11:53:18 +02:00
{% 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 %}
2018-10-17 15:38:51 +03:00
# Maildir Compression
# choose compression-method, default: none (value: bz2, gz)
COMPRESSION={{ compression }}
# change compression-level, default: 6 (value: 1-9)
COMPRESSION_LEVEL={{ compression_level }}
2018-04-22 11:53:18 +02:00
{% 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 12:34:55 +03: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
###################################
# Specific password storage scheme
2018-10-17 15:38:51 +03:00
PASSWORD_SCHEME={{ password_scheme or 'SHA512-CRYPT'}}
2018-04-22 11:53:18 +02:00
# 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 }}
2018-10-17 15:38:51 +03:00
# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
REJECT_UNLISTED_RECIPIENT={{ reject_unlisted_recipient }}