You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
980 B
35 lines
980 B
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
|
|
|