Date: Wed, 11 May 2005 15:18:13 +0200 (CEST) From: Stefan `Sec` Zehl <sec@42.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: erwin@FreeBSD.org Subject: ports/80894: Pflogsumm doesn't play with postfix-2.3 Message-ID: <20050511131813.2AA9E549B@ice.42.org> Resent-Message-ID: <200505111320.j4BDK21M073637@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 80894 >Category: ports >Synopsis: Pflogsumm doesn't play with postfix-2.3 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 11 13:20:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Stefan `Sec` Zehl >Release: FreeBSD 4.10-STABLE i386 >Organization: >Environment: System: FreeBSD ice 4.10-STABLE FreeBSD 4.10-STABLE #19: Wed Nov 17 18:01:41 CET 2004 root@ice:/export/obj/export/src/sys/ICE i386 >Description: postfix-2.3 has a different logfile format, and thus pflogsumm doesn't work anymore. >How-To-Repeat: install mail/postfix-current and try to use pflogsumm >Fix: --- pflogsumm.original 2005-04-09 12:54:44.000000000 +0200 +++ pflogsumm.pl 2005-04-12 09:30:00.364436187 +0200 @@ -696,7 +696,7 @@ } } elsif((($addr, $relay, $delay, $status, $toRmdr) = $logRmdr =~ - /to=<([^>]*)>, (?:orig_to=<[^>]*>, )?relay=([^,]+), delay=([^,]+), status=(\S+)(.*)$/o) >= 4) + /to=<([^>]*)>, (?:orig_to=<[^>]*>, )?relay=([^,]+), delay=([^,]+), (?:dsn=\d\.\d{1,3}\.\d{1,3}, )?status=(\S+)(.*)$/o) >= 4) { if($opts{'m'} && $addr =~ /^(.*!)*([^!]+)!([^!@]+)@([^\.]+)$/o) { >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050511131813.2AA9E549B>