summaryrefslogtreecommitdiff
path: root/journal-watcher.py
diff options
context:
space:
mode:
Diffstat (limited to 'journal-watcher.py')
-rwxr-xr-xjournal-watcher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/journal-watcher.py b/journal-watcher.py
index df1227e..e17c3bb 100755
--- a/journal-watcher.py
+++ b/journal-watcher.py
@@ -11,7 +11,7 @@ j.this_boot()
j.add_match(_SYSTEMD_UNIT='courier-esmtpd.service')
regexes = {
- re.compile('.*msg="534 SIZE=Message too big\.",cmd: MAIL FROM:[^<]*<([^>]+)> SIZE=([0-9]+)'),
+ re.compile('.*msg="534 SIZE=Message too big\.",cmd: MAIL FROM:[^<]*<([^>]+)> SIZE=([0-9]+).*'),
re.compile('.*,from=[^<]*<([^>]+)>: 523 Message length \(([0-9]+) bytes\) exceeds administrative limit.*')
}