summaryrefslogtreecommitdiff
path: root/tests/testsuites/fac_mail.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuites/fac_mail.conf')
-rw-r--r--tests/testsuites/fac_mail.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testsuites/fac_mail.conf b/tests/testsuites/fac_mail.conf
new file mode 100644
index 0000000..ffe0dfd
--- /dev/null
+++ b/tests/testsuites/fac_mail.conf
@@ -0,0 +1,7 @@
+$IncludeConfig diag-common.conf
+
+module(load="../plugins/imtcp/.libs/imtcp")
+input(type="imtcp" port="13514")
+
+template(type="string" name="outfmt" string="%msg:F,58:2%,%msg:F,58:3%,%msg:F,58:4%\n")
+mail.* action(type="omfile" file="rsyslog.out.log" template="outfmt")