diff -ruN --exclude=CVS /usr/ports/mail/mailgraph.orig/Makefile /usr/ports/mail/mailgraph/Makefile --- /usr/ports/mail/mailgraph.orig/Makefile 2010-03-28 08:39:09.000000000 +0200 +++ /usr/ports/mail/mailgraph/Makefile 2011-11-19 18:03:23.000000000 +0100 @@ -7,7 +7,7 @@ PORTNAME= mailgraph PORTVERSION= 1.14 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= mail MASTER_SITES= http://mailgraph.schweikert.ch/pub/ \ http://mailgraph.schweikert.ch/pub/old/ diff -ruN --exclude=CVS /usr/ports/mail/mailgraph.orig/files/patch-mailgraph.pl /usr/ports/mail/mailgraph/files/patch-mailgraph.pl --- /usr/ports/mail/mailgraph.orig/files/patch-mailgraph.pl 1970-01-01 01:00:00.000000000 +0100 +++ /usr/ports/mail/mailgraph/files/patch-mailgraph.pl 2011-11-19 18:01:23.000000000 +0100 @@ -0,0 +1,28 @@ +--- mailgraph.pl.orig 2011-11-19 17:58:21.000000000 +0100 ++++ mailgraph.pl 2011-11-19 18:01:09.000000000 +0100 +@@ -632,6 +632,13 @@ + event($time, 'rejected'); + } + } ++ elsif($prog eq 'postscreen') ++ { ++ if($text =~ /NOQUEUE: reject:/) ++ { ++ event($time, 'rejected'); ++ } ++ } + } + elsif($prog eq 'sendmail' or $prog eq 'sm-mta') { + if($text =~ /\bmailer=local\b/ ) { +@@ -853,6 +860,11 @@ + event($time, 'virus'); + } + } ++ elsif($prog eq 'clapf') { ++ if($text =~ /SPAM/) { ++ event($time, 'spam'); ++ } ++ } + } + + sub event($$)