· 6 years ago · May 16, 2019, 01:04 PM
1# ------------------------------
2# docker-compose settings
3# ------------------------------
4
5# Fixed project name
6COMPOSE_PROJECT_NAME=mailsuite
7
8
9# ------------------------------
10# mailcow global settings
11# ------------------------------
12
13# Use this to set the path to mailman3 data directory on your docker host
14# Defaults to "./data-mailcow"
15MAILCOW_DATA_DIR=./data-mailcow
16
17# ------------------------------
18# mailcow web ui configuration
19# ------------------------------
20# example.org is _not_ a valid hostname, use a fqdn here.
21# Default admin user is "admin"
22# Default password is "moohoo"
23
24MAILCOW_HOSTNAME=mail.solawi-mk.de
25
26# ------------------------------
27# SQL database configuration
28# ------------------------------
29
30DBNAME=mailcow
31DBUSER=mailcow
32
33# Please use long, random alphanumeric strings (A-Za-z0-9)
34
35DBPASS=XrqZ9kkWe2sEe8CDXkkjYWXUCBUv
36DBROOT=n4ETaz8Em17h58ETQtF2CEc80kND
37
38# ------------------------------
39# HTTP/S Bindings
40# ------------------------------
41
42# You should use HTTPS, but in case of SSL offloaded reverse proxies:
43
44HTTP_PORT=8080
45HTTP_BIND=127.0.0.1
46
47HTTPS_PORT=8443
48HTTPS_BIND=127.0.0.1
49
50# ------------------------------
51# Other bindings
52# ------------------------------
53# You should leave that alone
54# Format: 11.22.33.44:25 or 0.0.0.0:465 etc.
55# Do _not_ use IP:PORT in HTTP(S)_BIND or HTTP(S)_PORT
56
57SMTP_PORT=25
58SMTPS_PORT=465
59SUBMISSION_PORT=587
60IMAP_PORT=143
61IMAPS_PORT=993
62POP_PORT=110
63POPS_PORT=995
64SIEVE_PORT=4190
65DOVEADM_PORT=127.0.0.1:19991
66SQL_PORT=127.0.0.1:13306
67
68# Your timezone
69
70TZ=Europe/Berlin
71
72# Set this to "allow" to enable the anyone pseudo user. Disabled by default.
73# When enabled, ACL can be created, that apply to "All authenticated users"
74# This should probably only be activated on mail hosts, that are used exclusivly by one organisation.
75# Otherwise a user might share data with too many other users.
76ACL_ANYONE=disallow
77
78# Garbage collector cleanup
79# Deleted domains and mailboxes are moved to /var/vmail/_garbage/timestamp_sanitizedstring
80# How long should objects remain in the garbage until they are being deleted? (value in minutes)
81# Check interval is hourly
82
83MAILDIR_GC_TIME=1440
84
85# Additional SAN for the certificate
86#
87# You can use wildcard records to create specific names for every domain you add to mailcow.
88# Example: Add domains "example.com" and "example.net" to mailcow, change ADDITIONAL_SAN to a value like:
89#ADDITIONAL_SAN=imap.*,smtp.*
90# This will expand the certificate to "imap.example.com", "smtp.example.com", "imap.example.net", "imap.example.net"
91# plus every domain you add in the future.
92#
93# You can also just add static names...
94#ADDITIONAL_SAN=srv1.example.net
95# ...or combine wildcard and static names:
96#ADDITIONAL_SAN=imap.*,srv1.example.com
97#
98
99ADDITIONAL_SAN=lists.solawi-mk.de
100
101# Skip running ACME (acme-mailcow, Let's Encrypt certs) - y/n
102
103SKIP_LETS_ENCRYPT=n
104
105# Skip IPv4 check in ACME container - y/n
106
107SKIP_IP_CHECK=n
108
109# Skip HTTP verification in ACME container - y/n
110
111SKIP_HTTP_VERIFICATION=n
112
113# Skip ClamAV (clamd-mailcow) anti-virus (Rspamd will auto-detect a missing ClamAV container) - y/n
114
115SKIP_CLAMD=n
116
117# Skip Solr on low-memory systems or if you do not want to store a readable index of your mails in solr-vol-1.
118SKIP_SOLR=n
119
120# Solr heap size in MB, there is no recommendation, please see Solr docs.
121# Solr is a prone to run OOM and should be monitored. Unmonitored Solr setups are not recommended.
122SOLR_HEAP=1024
123
124# Enable watchdog (watchdog-mailcow) to restart unhealthy containers (experimental)
125
126USE_WATCHDOG=n
127
128# Allow admins to log into SOGo as email user (without any password)
129
130ALLOW_ADMIN_EMAIL_LOGIN=n
131
132# Send notifications by mail (no DKIM signature, sent from watchdog@MAILCOW_HOSTNAME)
133# Can by multiple rcpts, NO quotation marks
134
135#WATCHDOG_NOTIFY_EMAIL=a@example.com,b@example.com,c@example.com
136#WATCHDOG_NOTIFY_EMAIL=
137
138# Max log lines per service to keep in Redis logs
139
140LOG_LINES=9999
141
142# Internal IPv4 /24 subnet, format n.n.n (expands to n.n.n.0/24)
143
144IPV4_NETWORK=172.22.1
145
146# Internal IPv6 subnet in fc00::/7
147
148IPV6_NETWORK=fd4d:6169:6c63:6f77::/64
149
150# Use this IPv4 for outgoing connections (SNAT)
151
152#SNAT_TO_SOURCE=
153
154# Use this IPv6 for outgoing connections (SNAT)
155
156#SNAT6_TO_SOURCE=
157
158# Create or override API key for web ui
159# You _must_ define API_ALLOW_FROM, which is a comma separated list of IPs
160# API_KEY allowed chars: a-z, A-Z, 0-9, -
161
162API_KEY=YEd5gpsPgb0ZHtK5BncLCgLj7rgf
163API_ALLOW_FROM=172.22.1.1,127.0.0.1
164
165# mail_home is ~/Maildir
166MAILDIR_SUB=Maildir
167
168
169# ------------------------------
170# Mailman3 settings
171# ------------------------------
172
173# Use this to set the path to mailman3 data directory on your docker host
174# Defaults to "./data-mailman3"
175MAILMAN3_DATA_DIR=./data-mailman3
176POSTORIUS_TEMPLATE_BASE_URL=mailman-web:8000
177
178# Basic mailman3 settings
179SERVE_FROM_DOMAIN=lists.XXXXXX.de
180MAILMAN_ADMIN_USER=webmaster
181MAILMAN_ADMIN_EMAIL=
182HYPERKITTY_API_KEY=
183SECRET_KEY=
184SMTP_HOST=postfix
185
186# Mailman3 postgresql server settings
187DATABASE_TYPE=postgres
188POSTGRES_DB=mailmandb
189POSTGRES_USER=mailman
190POSTGRES_PASSWORD=
191
192# Mailman3 core settings
193DATABASE_CLASS=mailman.database.postgresql.PostgreSQLDatabase