SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
27
net/munin/patches/patch-plugins_node_d_mailscanner_in
Normal file
27
net/munin/patches/patch-plugins_node_d_mailscanner_in
Normal file
|
@ -0,0 +1,27 @@
|
|||
--- plugins/node.d/mailscanner.in.orig Fri Aug 31 19:22:50 2012
|
||||
+++ plugins/node.d/mailscanner.in Sun Sep 30 23:20:20 2012
|
||||
@@ -15,11 +15,11 @@ The following environment variables are used by this p
|
||||
=item logfile
|
||||
|
||||
The file where MailScanner logs its action (Default:
|
||||
-/var/log/mail.log)
|
||||
+/var/log/maillog)
|
||||
|
||||
=item logtail
|
||||
|
||||
-The location of the logtail command (Default: /usr/sbin/logtail)
|
||||
+The location of the logtail command (Default: /usr/local/bin/logtail)
|
||||
|
||||
=item offsetfile
|
||||
|
||||
@@ -41,8 +41,8 @@ Requires the logtail command somewhere in path
|
||||
|
||||
use strict;
|
||||
|
||||
-my $logfile = '/var/log/mail.log';
|
||||
-my $logtail = '/usr/sbin/logtail';
|
||||
+my $logfile = '/var/log/maillog';
|
||||
+my $logtail = '/usr/local/bin/logtail';
|
||||
my $offsetfile = "$ENV{MUNIN_PLUGSTATE}/munin-mailscanner.offset";
|
||||
my ($clean, $viruses, $spams, $others, $total) = (0, 0, 0, 0, 0);
|
||||
my $cmd = (defined($ARGV[0])) ? $ARGV[0] : '';
|
Loading…
Add table
Add a link
Reference in a new issue