- added mailgraph-1.14-tracking.patch to stop requesting an image from http://oss.oetiker.ch every time the mailgraph.cgi is opened including new source: rrdtool.gif - added mailgraph-1.14-add_postgrey_and_greylisting_support.patch which adds support (graphs) to postgrey and greylisting - added mailgraph-1.14-add_postscreen_support.patch which handles postscreen in the same way as smtpd - added mailgraph.service file -> use systemd OBS-URL: https://build.opensuse.org/package/show/server:monitoring/mailgraph?expand=0&rev=9
14 lines
448 B
Diff
14 lines
448 B
Diff
Index: mailgraph-1.14/mailgraph.pl
|
|
===================================================================
|
|
--- mailgraph-1.14.orig/mailgraph.pl
|
|
+++ mailgraph-1.14/mailgraph.pl
|
|
@@ -623,7 +623,7 @@ sub process_line($)
|
|
event($time, 'bounced');
|
|
}
|
|
}
|
|
- elsif($prog eq 'smtpd') {
|
|
+ elsif($prog eq 'smtpd' || $prog eq 'postscreen') {
|
|
if($text =~ /^[0-9A-Z]+: client=(\S+)/) {
|
|
my $client = $1;
|
|
return if $opt{'ignore-localhost'} and
|