· 6 years ago · Jun 19, 2019, 09:56 AM
1# Mailu main configuration file
2#
3# Generated for compose flavor
4#
5# This file is autogenerated by the configuration management wizard.
6# For a detailed list of configuration variables, see the documentation at
7# https://mailu.io
8
9###################################
10# Common configuration variables
11###################################
12
13# Set this to the path where Mailu data and configuration is stored
14# This variable is now set directly in `docker-compose.yml by the setup utility
15# ROOT=/mystorage/docker/storage/mail
16
17# Mailu version to run (1.0, 1.1, etc. or master)
18#VERSION=1.6
19
20# Set to a randomly generated 16 bytes string
21SECRET_KEY=***********
22
23# Address where listening ports should bind
24# This variables are now set directly in `docker-compose.yml by the setup utility
25# PUBLIC_IPV4= (default: 127.0.0.1)
26# PUBLIC_IPV6= (default: ::1)
27
28# Subnet of the docker network. This should not conflict with any networks to which your system is connected. (Internal and external!)
29SUBNET=172.17.0.0/16
30
31# Main mail domain
32DOMAIN=*********.com
33
34# Hostnames for this server, separated with comas
35HOSTNAMES=mail.*********.com
36
37# Postmaster local part (will append the main mail domain)
38POSTMASTER=admin
39
40# Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt)
41TLS_FLAVOR=notls
42
43# Authentication rate limit (per source IP address)
44AUTH_RATELIMIT=10/minute;1000/hour
45
46# Opt-out of statistics, replace with "True" to opt out
47DISABLE_STATISTICS=False
48
49###################################
50# Optional features
51###################################
52
53# Expose the admin interface (value: true, false)
54ADMIN=true
55
56# Choose which webmail to run if any (values: roundcube, rainloop, none)
57WEBMAIL=rainloop
58
59# Dav server implementation (value: radicale, none)
60WEBDAV=radicale
61
62# Antivirus solution (value: clamav, none)
63#ANTIVIRUS=clamav
64
65#Antispam solution
66ANTISPAM=none
67
68###################################
69# Mail settings
70###################################
71
72# Message size limit in bytes
73# Default: accept messages up to 50MB
74# Max attachment size will be 33% smaller
75MESSAGE_SIZE_LIMIT=50000000
76
77# Networks granted relay permissions
78# Use this with care, all hosts in this networks will be able to send mail without authentication!
79RELAYNETS=
80
81# Will relay all outgoing mails if configured
82RELAYHOST=
83
84# Fetchmail delay
85FETCHMAIL_DELAY=600
86
87# Recipient delimiter, character used to delimiter localpart from custom address part
88RECIPIENT_DELIMITER=+
89
90# DMARC rua and ruf email
91DMARC_RUA=admin
92DMARC_RUF=admin
93
94# Welcome email, enable and set a topic and body if you wish to send welcome
95# emails to all users.
96WELCOME=false
97WELCOME_SUBJECT=Welcome to your new email account
98WELCOME_BODY=Welcome to your new email account, if you can read this, then it is configured properly!
99
100# Maildir Compression
101# choose compression-method, default: none (value: bz2, gz)
102COMPRESSION=
103# change compression-level, default: 6 (value: 1-9)
104COMPRESSION_LEVEL=
105
106###################################
107# Web settings
108###################################
109
110# Path to redirect / to
111WEBROOT_REDIRECT=/webmail
112
113# Path to the admin interface if enabled
114WEB_ADMIN=/admin
115
116# Path to the webmail if enabled
117WEB_WEBMAIL=/webmail
118
119# Website name
120SITENAME=Example
121
122# Linked Website URL
123WEBSITE=https://mail.*********.com
124
125
126
127###################################
128# Advanced settings
129###################################
130
131# Log driver for front service. Possible values:
132# json-file (default)
133# journald (On systemd platforms, useful for Fail2Ban integration)
134# syslog (Non systemd platforms, Fail2Ban integration. Disables `docker-compose log` for front!)
135# LOG_DRIVER=json-file
136
137# Docker-compose project name, this will prepended to containers names.
138COMPOSE_PROJECT_NAME=mailu
139
140# Default password scheme used for newly created accounts and changed passwords
141# (value: BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT, MD5-CRYPT, CRYPT)
142PASSWORD_SCHEME=BLF-CRYPT
143
144# Header to take the real ip from
145REAL_IP_HEADER=
146
147# IPs for nginx set_real_ip_from (CIDR list separated by commas)
148REAL_IP_FROM=
149
150# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
151REJECT_UNLISTED_RECIPIENT=
152
153# Log level threshold in start.py (value: CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET)
154LOG_LEVEL=WARNING
155
156###################################
157# Database settings
158###################################
159DB_FLAVOR=sqlite