# Register function with the plugin registry
$PLUGINS{'smtp'} = \&check_smtp;

# Check the smtp service with the built-in check_simple routine
sub check_smtp {
    my ($host) = @_;
    return &check_simple( $host, 25, "quit\n", "^\s*220", "smtp" );
}

1;
