diff options
author | Erich Eckner <git@eckner.net> | 2021-09-27 12:38:40 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-09-27 12:38:40 +0200 |
commit | 586d255223c9dd547c216f0fabd0572f5de6e6fd (patch) | |
tree | 1d5474d4ee5a98aa5114071199c0a984d593bf0f | |
parent | f418bf650c401e8c0cde0bd1c7e81e7eb1dbfe3b (diff) | |
download | journal-watcher-master.tar.xz |
-rwxr-xr-x | journal-watcher.py | 2 |
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.*') } |