-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
43 lines (35 loc) · 1.26 KB
/
config.yaml
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
# The config file for dmarc-report-converter
input:
delete: yes # Not the true input directory anyway
dir: "/home/root/work/"
#imap:
# server: ""
# username: ""
# password: ""
# mailbox: ""
# enable debug messages for imap package?
# debug: no
# delete emails from server after fetch?
# delete: no
# connection security should be: tls (default), starttls, plaintext
# security: "tls"
output:
# output file
# should be: string, golang template string or "stdout"
file: "/home/root/output/{{ .ID }}.html"
# file: "/tmp/html/{{ .ReportMetadata.Email }}/{{ .PolicyPublished.Domain }}!{{.ReportMetadata.DateRange.Begin}}!{{ .ReportMetadata.ReportID }}.html"
# output format
# should be: txt, json, html_static, html, external_template
format: "html_static"
# if you configure format to "html" output, don't forget to configure assets_path and your web server
# assets_path: "./assets"
# if you configure format to "external_output", don't forget to configure external_template
external_template: "/path/to/your/txt.gotmpl"
# perform reverse lookups?
lookup_addr: no
# limit lookup pool size; must be positive; default = 50
#lookup_limit: 50
# merge multiple similar reports to one?
merge_reports: yes
log_debug: no
log_datetime: no