ports/80894: Pflogsumm doesn't play with postfix-2.3
Stefan `Sec` Zehl
sec at 42.org
Wed May 11 13:20:03 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list