table of contents
REPORTER-MAILX(1) | LIBREPORT MANUAL | REPORTER-MAILX(1) |
NAME¶
reporter-mailx - Sends contents of a problem directory via email.
SYNOPSIS¶
reporter-mailx [-v] -d DIR [-c CONFFILE]
DESCRIPTION¶
The tool reads a problem directory, composes an email message from the directory contents, and uses mailx to send the message to specified recipient.
Properties of email messages can be specified in a configuration file, and via environment variables.
Configuration file¶
Configuration file contains entries in a format "Option = Value".
The options are:
Subject
EmailFrom
EmailTo
SendBinaryData
Integration with ABRT events¶
reporter-mailx can be used as a reporter, to allow users report problems via email when they decide to do it. This usage is pre-configured in /etc/libreport/events.d/mailx_event.conf:
EVENT=report_Mailx reporter-mailx
It can also be used to notify administrator automatically when a problem happens. When this is desired, modify the event configuration file to run the tool on the post-create event:
EVENT=post-create reporter-mailx
OPTIONS¶
-d DIR
-c CONFFILE
ENVIRONMENT VARIABLES¶
Environment variables take precedence over values provided in the configuration file.
Mailx_Subject
Mailx_EmailFrom
Mailx_EmailTo
Mailx_SendBinaryData
AUTHORS¶
06/22/2018 | LIBREPORT 2.0.9.1 |