REPORTER-MAILX(1)
๐ REPORTER-MAILX(1) ๐
okay so welcome to the LIBREPORT MANUAL page for reporter-mailx, bestie. this one is a little email-sending icon: it grabs a problem directory, builds an email from whatโs inside, and hands it to mailx so it can go to the recipient you picked. โจ
you can set email message properties in a config file, and through environment variables too. and thereโs a whole formatting-file situation for making the email look how you want. ๐
๐ธ NAME ๐ธ
reporter-mailx โ sends the contents of a problem directory via email. ๐
๐ฆ SYNOPSIS ๐ฆ
reporter-mailx [-v] -d DIR [-c CONFFILE] [-F FMTFILE]
โจ DESCRIPTION โจ
hereโs the vibe: the tool reads a problem directory, puts together an email message from the directory contents, and uses mailx to send that message to specified recipient. ๐ฌ
you can specify the email messageโs properties in a configuration file, and via environment variables. ๐
๐ Configuration file ๐
the configuration file is full of entries shaped like Option = Value.
the options are:
Subjectโ the subject of the email message. โ๏ธEmailFromโ the sender of the email message. ๐ซถEmailToโ the recipient of the email message. ๐ฎSendBinaryDataโ useyes/true/on/1to attach all binary files from the problem directory to the email. heads up: this can cause the emails to be very large. ๐ญ
๐ง Formatting configuration files ๐ง
lines starting with # are ignored.
lines can be continued on the next line using trailing backslash.
format:
%summary:: subject format
section:: element1[,element2]...
thereโs also the literal text line to be added to email. it can be empty. (empty lines are NOT ignored! ๐)
subject format is a line of text, where %element% is replaced by text elementโs content, and [[...%element%...]] block is used only if %element% exists. [[...]] blocks can nest.
sections can be:
%summary: email subject format string.%attach: a list of elements to attach.- text, double colon (
::) and the list of comma-separated elements.
elements can be:
- problem directory element names, which get formatted as:
<element_name>: <contents>
or:
<element_name>:
:<contents>
:<contents>
:<contents>
- problem directory element names prefixed by
%bare_, which is formatted as-is, without<element_name>:and colons. %oneline,%multiline,%textwildcards, which select all corresponding elements for output or attachment.%binarywildcard, valid only for%attachsection, instructs to attach binary elements.- problem directory element names prefixed by
-, which excludes given element from all wildcards.
nonexistent elements are silently ignored. if none of elements exists, the section will not be created. no drama, it just doesnโt show up. ๐
๐ 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โ path to problem directory. ๐-c CONFFILEโ path to configuration file. when used in ABRT event system, the file contains site-wide configuration. users can change the values via environment variables. ๐ง-F CONF_FORMAT_FILEโ formatting file for an email. ๐จ
๐ ENVIRONMENT VARIABLES ๐
environment variables take precedence over values provided in the configuration file. main character energy, honestly. ๐
Mailx_Subjectโ subject of the email message. โ๏ธMailx_EmailFromโ sender of the email message. ๐ซถMailx_EmailToโ recipient of the email message. if nor the environment variable nor the corresponding option is defined, the message is send to"root@localhost". ๐ฌMailx_SendBinaryDataโ useyes/true/on/1to attach all binary files from the problem directory to the email. ๐
๐ FILES ๐
/usr/share/libreport/conf.d/plugins/mailx.confโ readonly default configuration files. ๐/etc/libreport/plugins/mailx.confโ configuration files. ๐
๐ฅ SEE ALSO ๐ฅ
mailx_event.conf(5), mailx.conf(5), report_mailx.conf(5)
๐ AUTHORS ๐
- ABRT team ๐
mwah ๐ โ this iconic little page is from LIBREPORT 2.17.15, dated 07/15/2024. stay legendary, bestie. ๐ซถ
๐ฆ where this page comes from
- opensuse-leap 16.0: libreport-plugin-mailx 2.17.15-bp160.1.14 ยท GPL-2.0-or-later
- opensuse-leap 16.0: libreport-plugin-mailx 2.17.15-bp160.1.14 ยท GPL-2.0-or-later
- opensuse-leap 16.0: libreport-plugin-mailx 2.17.15-bp160.1.14 ยท GPL-2.0-or-later
- opensuse-leap 16.0: libreport-plugin-mailx 2.17.15-bp160.1.14 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms