Random Project

Timeout

Plugin works fine, but can´t detect if clamav (or any other is down)

I have added timeout to the smtp connection, if clamav is down, amavis holds for 15 seconds, using timout can detect it:

my $smtp = new Net::SMTP(
$server,
Port => $port,
Debug => $debug,
Timeout => $timeout
);