View | Details | Raw Unified | Return to bug 162679
Collapse All | Expand All

(-)/usr/ports/mail/mailgraph/Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	mailgraph
8
PORTNAME=	mailgraph
9
PORTVERSION=	1.14
9
PORTVERSION=	1.14
10
PORTREVISION=	3
10
PORTREVISION=	4
11
CATEGORIES=	mail
11
CATEGORIES=	mail
12
MASTER_SITES=	http://mailgraph.schweikert.ch/pub/ \
12
MASTER_SITES=	http://mailgraph.schweikert.ch/pub/ \
13
		http://mailgraph.schweikert.ch/pub/old/
13
		http://mailgraph.schweikert.ch/pub/old/
(-)/usr/ports/mail/mailgraph/files/patch-mailgraph.pl (+28 lines)
Line 0 Link Here
1
--- mailgraph.pl.orig	2011-11-19 17:58:21.000000000 +0100
2
+++ mailgraph.pl	2011-11-19 18:01:09.000000000 +0100
3
@@ -632,6 +632,13 @@
4
 				event($time, 'rejected');
5
 			}
6
 		}
7
+		elsif($prog eq 'postscreen')
8
+		{
9
+			if($text =~ /NOQUEUE: reject:/)
10
+			{
11
+				event($time, 'rejected');
12
+			}
13
+		}
14
 	}
15
 	elsif($prog eq 'sendmail' or $prog eq 'sm-mta') {
16
 		if($text =~ /\bmailer=local\b/ ) {
17
@@ -853,6 +860,11 @@
18
 			event($time, 'virus');
19
 		}
20
 	}
21
+	elsif($prog eq 'clapf') {
22
+		if($text =~ /SPAM/) {
23
+			event($time, 'spam');
24
+		}
25
+	}
26
 }
27
 
28
 sub event($$)

Return to bug 162679