-
Notifications
You must be signed in to change notification settings - Fork 71
/
settings.conf
97 lines (81 loc) · 2.32 KB
/
settings.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#
# This file is managed by iRedMail Team <[email protected]> with Ansible,
# please do __NOT__ modify it manually.
#
# All default settings.
#
# To override any of them, please write same parameter name in
# `iredmail-docker.conf` with the custom value, then load
# `iredmail-docker.conf` as docker env file with the `--env-file` argument.
##############################
# REQUIRED
##############################
# Server hostname and first mail domain
HOSTNAME=
FIRST_MAIL_DOMAIN=
FIRST_MAIL_DOMAIN_ADMIN_PASSWORD=
# The secret string used to encrypt/decrypt Roundcube session data.
# You can generate random string with command `openssl rand -base64 24` as the
# des key.
# Every time this key changed, all Roundcube session data becomes invalid and
# users will be forced to re-login.
ROUNDCUBE_DES_KEY=
##############################
# OPTIONAL
##############################
# Server admin's email address.
# If not set, `postmaster@${FIRST_MAIL_DOMAIN}` will be used.
POSTMASTER_EMAIL=
# Directory used to store all users' mailboxes.
MAILBOXES_DIR=/var/vmail/vmail1
#
# SQL server.
#
SQL_SERVER_ADDRESS=127.0.0.1
SQL_SERVER_PORT=3306
#
# Passwords.
# Set random passwords for ALL MySQL root user each time the container starts.
#
# Available values: YES, NO.
MYSQL_USE_RANDOM_PASSWORDS=YES
# Passwords for SQL users:
# root, vmail, vmailadmin, amavisd, roundcube, iredapd, fail2ban.
#
# If value is not empty, it will be used and not use random password while
# `MYSQL_USE_RANDOM_PASSWORDS=YES`.
MYSQL_ROOT_PASSWORD=
VMAIL_DB_PASSWORD=
VMAIL_DB_ADMIN_PASSWORD=
AMAVISD_DB_PASSWORD=
ROUNDCUBE_DB_PASSWORD=
IREDAPD_DB_PASSWORD=
IREDADMIN_DB_PASSWORD=
FAIL2BAN_DB_PASSWORD=
SA_BAYES_DB_PASSWORD=
# API tokens.
MLMMJADMIN_API_TOKEN=
#
# Enable/disable components
#
USE_IREDAPD=YES
USE_ANTISPAM=YES
USE_FAIL2BAN=YES
USE_ROUNDCUBE=YES
USE_IREDADMIN=YES
#
# Enable/disable features
#
# Send /root/iRedMail.tips to postmaster@ each time launching the container.
MAIL_THE_TIP_FILE=YES
FAIL2BAN_STORE_BANNED_IP_IN_DB=YES
POSTFIX_ENABLE_SRS=YES
IREDAPD_SRS_SECRET=
# Mail message size (in MB).
MESSAGE_SIZE_LIMIT_IN_MB=50
# Upload size limited by Nginx and php-fpm.
# Note: if you use webmail, it should be larger than `MESSAGE_SIZE_LIMIT_IN_MB`.
WEB_UPLOAD_SIZE_LIMIT_IN_MB=30
# Memcached cache size.
MEMCACHED_CACHE_SIZE_IN_MB=64
##############################