ports/mail/py-tlsrpt-reporter/files/tlsrpt-reporter.cfg.in
Matthew Seaman 08bdfa4c86
mail/py-tlsrpt-reporter: new port
tlsrpt-reporter is a TLSRPT reporting service for SMTP TLS Reporting
as defined in RFC 8460. It receives TLSRPT datagrams from a MTA,
collects them, creates a report in conformance with the TLSRPT
Reporting Schema and finally delivers the report either via SMTP,
indirectly by submitting it to a local MTA which ultimately will be
responsible for delivering the report, or directly via HTTP POST.

PR:     285012
Reported by:	Yusuf Yaman
2025-06-04 18:48:20 +01:00

33 lines
1.1 KiB
INI

[tlsrpt_collectd]
pidfilename = %%RUNDIR%%/tlsrpt-collectd.pid
storage = sqlite://%%DBDIR%%/tlsrpt-collectd.sqlite
socketname = %%RUNDIR%%/tlsrpt-collectd.socket
logfilename = %%LOGDIR%%/tlsrpt-collectd.log
#daily_rollover_script = /usr/local/bin/example-script.sh
dump_path_for_invalid_datagram = /tmp/debug-payload
log_level = debug
[tlsrpt_fetcher]
storage = sqlite://%%DBDIR%%/tlsrpt-collectd.sqlite
logfilename = %%LOGDIR%%/tlsrpt-fetcher.log
log_level = debug
[tlsrpt_reportd]
organization_name = EXAMPLE.inc
contact_info = smtp-tls-reporting@example.com
sender_address = noreply@example.com
pidfilename = %%RUNDIR%%/tlsrpt-reportd.pid
dbname = %%DBDIR%%/tlsrpt-reportd.sqlite
logfilename = %%LOGDIR%%/tlsrpt-reportd.log
log_level = debug
http_script = curl --silent --header 'Content-Type: application/tlsrpt+gzip' --data-binary @-
fetchers = tlsrpt_fetcher.py --config_file %%CFGFILE%%
interval_main_loop = 10
max_retries_domainlist = 2
min_wait_domainlist = 0
max_wait_domainlist = 1
max_retries_domaindetails = 2
min_wait_domaindetails = 0
max_wait_domaindetails = 1
spread_out_delivery = 14400