diff --git a/nagios-nrpe/files/plugins/check_amavis b/nagios-nrpe/files/plugins/check_amavis index 7b82cd93..d364dba3 100755 --- a/nagios-nrpe/files/plugins/check_amavis +++ b/nagios-nrpe/files/plugins/check_amavis @@ -65,7 +65,7 @@ $smtp->close(); print "$result\n"; -if ($result =~/2.7.0 Ok, discarded/) { +if ($result =~/2.5.0 Ok, id=[^,]+, BOUNCE/) { print "OK - All fine\n"; exit 0; } else {