diff --git a/examples/postfix.mtail b/examples/postfix.mtail index 23944f83f..3fc265816 100644 --- a/examples/postfix.mtail +++ b/examples/postfix.mtail @@ -15,7 +15,7 @@ const QMGR_INSERT_LINE /:.*, size=(?P\d+), nrcpt=(?P\d+)/ const QMGR_REMOVE_LINE /: removed$/ /^(?P(?P\w+\s+\d+\s+\d+:\d+:\d+)|(?P\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d+[+-]\d{2}:\d{2}))/ + -/\s+(?:\w+@)?(?P[\w\.-]+)\s+postfix\/(?P[\w\.-\/]+)(?:\[(?P\d+)\])?:\s+(?P.*)/ { +/\s+(?:\w+@)?(?P[\w\.-]+)\s+postfix\/(?P[\w\.\/-]+)(?:\[(?P\d+)\])?:\s+(?P.*)/ { len($legacy_date) > 0 { strptime($2, "Jan _2 15:04:05") }