forked from gutmensch/docker-dmarc-report
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
94 lines (70 loc) · 3.1 KB
/
env.example
File metadata and controls
94 lines (70 loc) · 3.1 KB
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
# database host address, leave empty for default host "db"
DB_HOST=
# the database type mysql or pgsql, leave empty for default (depending on your docker-compose.yml)
DB_TYPE=
# the database port (mysql 3306) (pqsql 5432), leave empty for default (depending on your docker-compose.yml)
DB_PORT=
# the database name, leave empty for default "dmarc_report"
DB_NAME=
# the database name, leave empty for default "dmarc_report"
DB_USER=
# mysql root password. Irrelevant if you are using postgres
ROOT_DB_PASSWORD=
# database password for the database user
DB_PASSWORD=
# the email address receiving the DMARC reports
IMAP_USER=
# the password for the email address receiving the DMARC reports
IMAP_PASSWORD=
# the server the email address is hosted on
IMAP_SERVER=
# optional: default is 993 (or 143)
IMAP_PORT=
# optional: default is "Inbox"
IMAP_READ_FOLDER=
# optional: default is "processed"
IMAP_MOVE_FOLDER=
# optional: default is "error"
IMAP_MOVE_FOLDER_ERR=
# Enable SSL and/or (START-)TLS. Set both to 0 to disable encryption (not recommended)
PARSER_IMAP_SSL=0
PARSER_IMAP_TLS=1
# Ignore ERROR: message_string() issue experienced with Exchange Online. Set to 1 to enable
PARSER_IMAP_IGNORE_ERROR=0
# Increase the maximum size of the XML file. (default is 50000 bytes)
# When the size exceeds the maximum, one could experience an error Uncaught ValueError: DOMDocument::loadXML():
# Argument #1 ($source) must not be empty.
PARSER_XML_MAXSIZE=50000
# these two select the hour and minute on which the parser is run (crontab fields syntax)
# defaults: "15 *", which means to run the parser at any hour and 15 minutes (e.g. 0:15, 1:15, 2:15, etc)
PARSER_EXECUTION_HOUR=
PARSER_EXECUTION_MIN=
# if this is set, the imap client will be run once on container startup.
# This is useful so that DB schema is created if it does not exist. Default
# is 1
PARSER_RUN_ON_STARTUP=1
# same as the previous one, but for the aggregator
# defaults: "10 10", which means to run the aggregator every day at 10:10am
AGGREGATOR_EXECUTION_HOUR=
AGGREGATOR_EXECUTION_MIN=
# The number of days back in time for which the aggregator is run. I.e. if
# it is 1, when it runs it aggregates data for yesterday. If DMARC reports
# arrive more than 1 day late, this can be adjusted, but metrics will also
# be delayed by the same amount, and the exporter delay (see below) must be
# set to the same value.
# It is _very_ common that reports come a given day and provide data for the
# day before, so this would need to be set to 2
AGGREGATOR_DELAY_DAYS=
# same as the previous one, but for the data purger
# defaults: "0 10", which means to run the data purger every day at 0:10am
PURGER_EXECUTION_HOUR=
PURGER_EXECUTION_MIN=
# The purger deletes report data older than this number of days. Aggregated
# data is _NOT_ deleted, just report data.
# Default is to keep data for 2 years
PURGER_DATA_RETENTION_DAYS=
# The port on which the Prometheus metrics exporter runs. Default is tcp port 9100
EXPORTER_PORT=
# The exporter reports from a given number of days before today. E.g. 1 = yesterday, etc.
# This should normally match AGGREGATOR_DELAY_DAYS
EXPORTER_DELAY_DAYS=