TLSRPT-REPORTD(1) | tlsrpt-reportd | TLSRPT-REPORTD(1) |
NAME
tlsrpt-reportd - A daemon to create and deliver TLSRPT reports according to RFC 8460.
SYNOPSIS
tlsrpt-reportd [OPTION]
DESCRIPTION
The tlsrpt-reportd is the final component in the TLSRPT framework. A MTA (Mail Transfer Agent) reports successful delivery or encountered errors via libtlsrpt to a tlsrpt-collectd which collects and pre-aggregates the data. The tlsrpt-fetcher associated with a tlsrpt-collectd transfers the pre-aggregated data to the tlsrpt-reportd. The tlsrpt-reportd can retrieve data from multiple tlsrpt-fetchers and aggregates the pre-aggregated data into the final reports. Those reports are gzip-compressed and sent out to the destinations as specified in the TLSRPT DNS records of the domains that have received emails from the MTA.
A simple data flow diagram visualizing the interaction of the components looks like this: (MTA) v libtlsrt v tlsrpt-collectd v (storage) v tlsrpt-fetcher v tlsrpt-reportd v (report destination)
OPTIONS
Report creation and configuration options
--contact_info=addr
--organization_name=descr
--sender_address=email
--fetchers=list
--dbname=path
--compression_level=n
--keep_days=n
Report delivery options
--spread_out_delivery=sec
--sendmail_script=path
--sendmail_timeout=sec
--http_script=path
--http_timeout=sec
--max_retries_delivery=n
--min_wait_delivery=sec
--max_wait_delivery=sec
Options controlling the interaction with one or more tlsrpt-collectd
--max_collectd_timediff=sec
--max_collectd_timeout=sec
--max_retries_domaindetails=n
--min_wait_domaindetails=sec
--max_wait_domaindetails=sec
--max_retries_domainlist=n
--min_wait_domainlist=sec
--max_wait_domainlist=sec
--interval_main_loop=sec
Debug and development options
--debug_db=n
--debug_send_file_dest=dir
--debug_send_mail_dest=path
--debug_send_http_dest=path
General options
--config_file=filename
--help
--pidfilename=path
Logging options
--logfilename=filename
--log_level=level
ENVIRONMENT
All config options except --help and --config_file can also be set via environment variables. The environment variable for a configuration option is the prefix TLSRPT_REPORTD_ followed by the configuration setting name in all caps. For example the --log_level option can instead by configured using the TLSRPT_REPORTD_LOG_LEVEL environment variable.
EXAMPLES
Retrieve data from a local fetcher with standard configuration and from another local fetcher with a different storage:
tlsrpt-reportd --fetchers "tlsrpt-fetcher, tlsrpt-fetcher --storage sqlite:///tmp/test.sqlite"
Retrieve data from a local fetcher and a remote fetcher:
tlsrpt-reportd --fetchers "tlsrpt-fetcher, ssh user@remote tlsrpt-fetcher"
EXIT STATUS
0
1
SEE ALSO
man:tlsrpt-collectd[1], man:tlsrpt-fetcher[1]
AUTHOR
Boris Lohner
2025-02-22 | tlsrpt-reportd |