my $err=$?;
$pidcheck && $pidcheck==$pid
or do { cluck "waitpid for $cmd returned $pidcheck!=$pid"; return 0; };
- $status=~s/^stdin: //;
+ $status=~s/^stdin: //mg;
+ # Prevent: LibClamAV Warning: PGP encoded attachment not scanned
+ $status=~s/^.*\bwarning:.*\n//img;
$status=~s/\n$//;
return $status if $status ne "OK" && $status;
return _spamchildcode $err,$status;