1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/mail/pflogsumm/files/patch-pflogsumm
Erwin Lansing 4adce81009 Add a patch to make pflogsumm work with postfix > 2.3
While I feel this should be added upstream, I've had no response from
the author for two weeks.

PR:		80894
Submitted by:	Stefan `Sec` Zehl <sec@42.org>
2005-05-26 12:42:59 +00:00

13 lines
513 B
Plaintext

--- 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) {