small fix

This commit is contained in:
Jordi Sanfeliu 2017-09-01 12:13:03 +02:00
parent 39a76966a2
commit 946e871bbf
1 changed files with 1 additions and 1 deletions

View File

@ -625,7 +625,7 @@ sub mail_update {
# MAIL alert
if(lc($mail->{alerts}->{delvd_enabled}) eq "y") {
my $val = int($mta[3]);
$val *= 60 + 0.5 if lc($mail->{stats_rate}) eq "per_second"
$val *= 60 + 0.5 if lc($mail->{stats_rate}) eq "per_second";
if(!$mail->{alerts}->{delvd_threshold} || $val < $mail->{alerts}->{delvd_threshold}) {
$config->{mail_hist_alert1} = 0;
} else {