summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2011-03-17 16:05:27 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2011-03-17 16:05:27 +0100
commit9e5aa0f02f90865c8e264c7a8922fa071f0f694c (patch)
tree27db0f286d4041052b3406341707df275b11418e /src
parent1eb94f00ea61c9087b917e1e9d77d5cf9f6fa077 (diff)
downloadabrt-9e5aa0f02f90865c8e264c7a8922fa071f0f694c.tar.gz
abrt-9e5aa0f02f90865c8e264c7a8922fa071f0f694c.tar.xz
abrt-9e5aa0f02f90865c8e264c7a8922fa071f0f694c.zip
-added event config files for Mailx trac#163
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Makefile.am7
-rw-r--r--src/plugins/mailx_events.conf1
-rw-r--r--src/plugins/report_Mailx.xml28
3 files changed, 33 insertions, 3 deletions
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index 95d9d41d..76cbe04c 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -21,7 +21,6 @@ bin_PROGRAMS = \
dist_pluginslib_DATA = \
Logger.glade \
- Mailx.glade \
Bugzilla.glade \
RHTSupport.glade \
Upload.glade \
@@ -46,12 +45,14 @@ dist_events_DATA = \
report_Bugzilla.conf \
report_Logger.conf \
analyze_LocalGDB.xml \
- analyze_RetraceServer.xml
+ analyze_RetraceServer.xml \
+ report_Mailx.xml
eventsconfdir = $(EVENTS_CONF_DIR)
dist_eventsconf_DATA = \
- ccpp_events.conf
+ ccpp_events.conf \
+ mailx_events.conf
man_MANS = \
abrt-Bugzilla.7 \
diff --git a/src/plugins/mailx_events.conf b/src/plugins/mailx_events.conf
new file mode 100644
index 00000000..41b976da
--- /dev/null
+++ b/src/plugins/mailx_events.conf
@@ -0,0 +1 @@
+EVENT=report_Mailx abrt-action-mailx
diff --git a/src/plugins/report_Mailx.xml b/src/plugins/report_Mailx.xml
new file mode 100644
index 00000000..5ff7ee34
--- /dev/null
+++ b/src/plugins/report_Mailx.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<event>
+ <name>Mailx</name>
+ <description>Send the problem report over email</description>
+ <options>
+ <option type="text" name="Mailx_Subject">
+ <label>Subject</label>
+ <allow-empty>no</allow-empty>
+ <description>Message subject</description>
+ <default-value>[abrt] detected a crash</default-value>
+ </option>
+ <option type="text" name="Mailx_EmailFrom">
+ <label>Sender</label>
+ <allow-empty>no</allow-empty>
+ <description>Sender's email</description>
+ </option>
+ <option type="text" name="Mailx_EmailTo">
+ <label>Recipient</label>
+ <allow-empty>no</allow-empty>
+ <description>Recipient's email</description>
+ </option>
+ <option type="bool" name="Mailx_SendBinaryData">
+ <label>Send Binary Data</label>
+ <description>Send binary files like coredump</description>
+ <default-value>no</default-value>
+ </option>
+ </options>
+</event>