]> git.proxmox.com Git - pmg-api.git/commitdiff
PMG/CLI/pmgreport.pm - remove greylisted mails from daily report
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 14 Dec 2017 05:15:41 +0000 (06:15 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 14 Dec 2017 05:15:41 +0000 (06:15 +0100)
Because the count for 'yesterday' is alway zero.

PMG/CLI/pmgreport.pm

index c57c878de2b3be296b73e6671eac14b2f136aa4d..ce63aa73724958dc98959c3c8839ab2341b112d6 100644 (file)
@@ -135,13 +135,6 @@ my $get_incoming_table_data = sub {
        percentage => $junk_in_per,
     };
 
-    my $glcount_per = $count_in ? sprintf("%0.2f", ($totals->{glcount}*100)/$count_in) : undef;
-    push @$data, {
-       text => 'Greylisted Mails',
-       value => $totals->{glcount},
-       percentage => $glcount_per,
-    };
-
     my $spamcount_in_per = $count_in ? sprintf("%0.2f", ($totals->{spamcount_in}*100)/$count_in) : undef;
 
     push @$data, {