Add journalmatch entries for sendmail (bug #1329919)
parent
64d45110bb
commit
7dfd4e4924
@ -0,0 +1,34 @@
|
|||||||
|
commit 6a5f8ddf63658f3645a88988641c06d5a9625c00
|
||||||
|
Author: Orion Poplawski <orion@cora.nwra.com>
|
||||||
|
Date: Mon Oct 3 16:26:11 2016 -0600
|
||||||
|
|
||||||
|
Add sendmail journalmatch options
|
||||||
|
|
||||||
|
diff --git a/config/filter.d/sendmail-auth.conf b/config/filter.d/sendmail-auth.conf
|
||||||
|
index 138fbb8..7886e60 100644
|
||||||
|
--- a/config/filter.d/sendmail-auth.conf
|
||||||
|
+++ b/config/filter.d/sendmail-auth.conf
|
||||||
|
@@ -13,6 +13,10 @@ failregex = ^%(__prefix_line)s\w{14}: (\S+ )?\[<HOST>\]( \(may be forged\))?: po
|
||||||
|
|
||||||
|
ignoreregex =
|
||||||
|
|
||||||
|
+[Init]
|
||||||
|
+
|
||||||
|
+journalmatch = _SYSTEMD_UNIT=sendmail.service
|
||||||
|
+
|
||||||
|
# DEV Notes:
|
||||||
|
#
|
||||||
|
# Author: Daniel Black
|
||||||
|
diff --git a/config/filter.d/sendmail-reject.conf b/config/filter.d/sendmail-reject.conf
|
||||||
|
index 93b8343..219d910 100644
|
||||||
|
--- a/config/filter.d/sendmail-reject.conf
|
||||||
|
+++ b/config/filter.d/sendmail-reject.conf
|
||||||
|
@@ -33,6 +33,8 @@ ignoreregex =
|
||||||
|
|
||||||
|
[Init]
|
||||||
|
|
||||||
|
+journalmatch = _SYSTEMD_UNIT=sendmail.service
|
||||||
|
+
|
||||||
|
# "maxlines" is number of log lines to buffer for multi-line regex searches
|
||||||
|
maxlines = 10
|
||||||
|
|
Loading…
Reference in new issue