TLSRPT-COLLECTD(1)
π
TLSRPT-COLLECTD(1) β the tlsrpt-collectd era
okay bestie, welcome to tlsrpt-collectd(1) β yes that's the manual name, it's giving section 1, daemon energy, periodt. this is the little icon that hoovers up TLSRPT report data from MTA instances over a unix domain socket. she's a collector. she's a listener. she's lowkey the backbone of your whole report pipeline π
β¨ NAME β¨
tlsrpt-collectd β a daemon collecting TLSRPT report data from MTA instances via a unix domain socket. that's it, that's the girl. π«Ά
πΈ SYNOPSIS πΈ
tlsrpt-collectd [OPTION]
literally just run her with options. simple. iconic.
π¦ DESCRIPTION π¦
so tlsrpt-collectd collects data from MTAs about two things: successful encrypted delivery of emails, and failures that occured during delivery attempts. the data comes in pre-aggregated, and later it gets retrieved by matching tlsrpt-fetchers. iykyk.
the tea on storage: tlsrpt-collectds can use different storage back-ends, and for each such implementation a matching fetcher implementation must be provided if the data is going to be used by a tlsrpt-reportd. no matching fetcher = no data retrieval, no cap.
and here's the fun plot twist π β you can also implement storage backends that are not queried by a tlsrpt-reportd at all. such "storage" back-ends would just collect the data for analyzing purposes, but would not provide measn to retrieve the data again. so it's like a journal you never re-read. valid. main character energy.
π OPTIONS π
--storage=URLβ Use data storage described by URL. this can be a comma-separated list of multiple storage backends, slay. the URL schema identifies the storage backend.--socketname=pathβ Listen on unix domain socket path for report data.--socketuser=nameβ Set the user ownership of the socket to name.--socketgroup=nameβ Set the group ownership of the socket to name.--socketmode=octalβ Set the file mode bits of the socket to numeric mode octal. e.g.0200to allow only write access for the owner. π--sockettimeout=nβ Commit accumulated data to the data storage if n seconds have passed since the last commit.--max_uncommited_datagrams=nβ Commit accumulated data to the data storage after n datagrams have been received.--retry_commit_datagram_count=nβ After a commit of the accumulated data has failed, retry after n more datagrams have been received instead of directly after the next datagram. why? because if a commit fails due to a timeout, retrying after every datagram might risk running into the same timeout again and again π. retrying only every n datagrams reduces the time waiting for such timeouts. big brain.--daily_rollover_script=scriptβ If this option is set, script will be run after midnight UTC has passed and maintenance steps were performed. super useful to push the collectd database to some other place in setups where a remote TLSRPT-collectd cannot be easily queried from the TLSRPT-reportd but the TLSRPT-collectd can push data to the TLSRPT-reportd. she pushes, she doesn't wait to be asked β¨--dump_path_for_invalid_datagram=pathβ If an invalid datagram is received and this options is set, the invalid datagram will be saved in the file named path. little evidence bag for the messy ones π
π General options π
--config_file=filenameβ Read options from the sectiontlsrpt_collectdof the INI-style configuration file filename. priority check bestie: environment variables override setings from the configurstion file, and command line options override both. it's a whole hierarchy π--helpβ Print a help message describing all options.--pidfilename=pathβ Specifies the file that contains the process ID of thetlsrpt-collectddaemon. an empty string will cause no PID file to be created.
π Logging options π
--logfilename=filenameβ Use filename as log file.--log_level=levelβ Set log level to level, allowed values:debug,info,warn,error.
π ENVIRONMENT π
all config options except --help and --config_file can also be set via environment variables. the env var for a configuration option is the prefix TLSRPT_COLLECTD_ followed by the configuration setting name in all caps. for example the --log_level option can instead by configured using the TLSRPT_COLLECTD_LOG_LEVEL environment variable. obsessed with the consistency fr fr π
β EXIT STATUS β
0β Success. we ate. π₯1β Failure. Data could not be delivered.2β Failure. Data could not be delivered.3β Usage error. bestie you typed something wrong π
yes1and2both mean "Failure. Data could not be delivered." β that's the manpage's story and we're sticking to it, no cap.
π EXAMPLES π
run tlsrpt-collectd with a special config file and ovverride the setting of log-level:
tlsrpt-collectd --config-file /path/to/config.cfg --log_level info
that's the whole vibe. config file for the base fit, command line for the last-minute accessory β¨
π§ SEE ALSO π§
man:tlsrpt-fetcher[1], man:tlsrpt-reportd[1] β go read your siblings, they're family π
π AUTHOR π
Boris Lohner. legend. respect on the name. π«‘
and that's the whole page, bestie!! πβ¨ππ¦πΈ this gem istlsrpt-collectd, dated2026-09-01, and it lives happily in your man pages. go collect some datagrams and slay π βπ
π¦ where this page comes from
- arch rolling: tlsrpt-reporter 0.6.0-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms