-
Notifications
You must be signed in to change notification settings - Fork 5
/
.env.dist
115 lines (81 loc) · 3.28 KB
/
.env.dist
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#
# Volumes
#
DATA_PATH=/var/v-mailbroker
#
# Global
#
# Timezone
TZ=Europe/Moscow
# The maximum size of emails to receive in kilobytes. Larger emails will be rejected. Affects: Exim, API, Spamassassin
INCOMING_MAIL_MAX_SIZE_KILOBYTES=5000
#
# API
#
# API domain
API_DOMAIN=your-domain.com
# Admin email for reporting and testing
# Public DNS cache servers comma separated (e.g. 8.8.8.8,1.1.1.1). Used to compare DNS responses from authoritative and cache servers.
API_PUBLIC_DNS=8.8.8.8
# API available tests comma separated (e.g. spamassassin,spf,dkim,dmarc,blacklist,pyzor,razor,checkdelivery)
API_AVAILABLE_TESTS=spamassassin,spf,spfcompare,dkim,dmarc,blacklist,pyzor,razor
# Specify dedicated names for catching, comma separated (left side of email address, e.g. "[email protected]" => "all")
API_CATCH_MTA_TO=all,any,reply,autoreply
# Specify dedicated names for reply with spam report, comma separated (left side of email address, e.g. "[email protected]" => "reply")
API_REPLY_MTA_REPORT_TO=reply,autoreply
# API Worker: prefetch count for RabbitMQ
API_WORKER_CHECK_ALL_CNT=2
# We can not use capped collection because if your will send two different mails at the same address, you will get error
# "MongoError: Cannot change the size of a document in a capped collection".
# This break some tests.
# This is max mail count, and older letters will be deleted.
API_MAX_MAIL_COUNT=2000
# Domains to blacklist check in YAML format
API_BLACKLIST_DOMAINS="---\n- domain: bl.mailspike.net\n ipv:\n - '4'\n- domain: dnsbl.sorbs.net\n ipv:\n - '4'\n- domain: bl.spamcop.net\n ipv:\n - '4'\n- domain: sbl.spamhaus.org\n ipv:\n - '4'\n - '6'\n- domain: multi.surbl.org\n ipv:\n - '4'\n- domain: black.uribl.com\n ipv:\n - '4'"
# API HTTP port (not TLS; use a reverse proxy for TLS)
API_PORT=8080
#
# Exim
#
# Exim domain - send your mails here. Email for a different domain will be rejected.
EXIM_DOMAIN=your-domain.com
# Exim listening port for incoming emails
EXIM_PORT=25
# Exim technical email
# Exim auth credentials for mailing (don't worry it's not an open relay)
EXIM_MAIL_USER=noreply
EXIM_MAIL_PASS=exim_mail_password
# Exim domain selector for DKIM (mailbroker._domainkey.your-domain.com => mailbroker)
EXIM_DKIM_SELECTOR=mailbroker
# The maximum number of simultaneous http requests to send emails from Exim to the API. Don't worry about the small value, Exim has its own queue.
EXIM_MAX_PARALLEL=2
# Enable it to Exim debug (value: on/off)
EXIM_DEBUG=off
#
# DNS
#
# DNS cache: min TTL value, in seconds. "0" disables cache.
DNS_CACHE_MIN_TTL=60
# DNS cache: max TTL value, in seconds
DNS_CACHE_MAX_TTL=900
# DNS cache: negative responses TTL value, in seconds
DNS_CACHE_MAX_NEGATIVE_TTL=900
# Enable it to DNS debug (value: on/off)
DNS_DEBUG=off
# Print DNS statistics to the log (for every thread) every N seconds. Set to 0 to disable
DNS_STATISTICS_INTERVAL=0
# Log DNS queries (value: yes/no)
DNS_LOG_QUERIES=no
# Log DNS replies (value: yes/no)
DNS_LOG_REPLIES=no
# Log DNS servfail (value: yes/no)
DNS_LOG_SERVFAIL=no
#
# RabbitMQ
#
# RabbitMQ credentials. Change this values or remove public port from docker-compose.yml!
RABBITMQ_DEFAULT_USER=default_user
RABBITMQ_DEFAULT_PASS=default_pass
RABBITMQ_DEFAULT_VHOST=default_vhost