X-Git-Url: http://gitweb.michael.orlitzky.com/?p=postfix-logwatch.git;a=blobdiff_plain;f=postfix-logwatch;fp=postfix-logwatch;h=827dfe0d968806e7a7b4d322b86cdfa0b5271e93;hp=92ed62138fe0d37ab30268f40c8e5ccbc3ee67d3;hb=ced6e6fcbf1a025419e8ee9f940e5022ed440532;hpb=6afb8e258a5a2a0e7c72c4c25927dde9d1e2ad89 diff --git a/postfix-logwatch b/postfix-logwatch index 92ed621..827dfe0 100644 --- a/postfix-logwatch +++ b/postfix-logwatch @@ -66,7 +66,9 @@ my $re_QID_s = qr/[A-Z\d]+/; my $re_QID_l = qr/(?:NOQUEUE|[bcdfghjklmnpqrstvwxyzBCDFGHJKLMNPQRSTVWXYZ\d]+)/; our $re_QID; -our $re_DSN = qr/(?:(?:\d{3})?(?: ?\d\.\d\.\d)?)/; +# The enhanced status codes can contain two-digit (or more) numbers; +# for example, "550 5.7.23". +our $re_DSN = qr/(?:(?:\d{3})?(?: ?\d+\.\d+\.\d+)?)/; our $re_DDD = qr/(?:(?:conn_use=\d+ )?delay=-?[\d.]+(?:, delays=[\d\/.]+)?(?:, dsn=[\d.]+)?)/; #MODULE: ../Logreporters/Utils.pm