FreeBSD Bugzilla – Attachment 119962 Details for
Bug 162679
[PATCH] mail/mailgraph: add support for postscreen and clapf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mailgraph-1.14_4.patch
mailgraph-1.14_4.patch (text/plain), 1.34 KB, created by
geoffroy desvernay
on 2011-11-19 17:10:09 UTC
(
hide
)
Description:
mailgraph-1.14_4.patch
Filename:
MIME Type:
Creator:
geoffroy desvernay
Created:
2011-11-19 17:10:09 UTC
Size:
1.34 KB
patch
obsolete
>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($$)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 162679
: 119962