Werk #13254: check_mail: enable connect timeout for IMAP mode

Component Checks & agents
Title check_mail: enable connect timeout for IMAP mode
Date Nov 17, 2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Connection timeout specified on command line would be ignored for IMAP mode. Using the socket module for setting timeouts it works for both POP3 and IMAP now.

To the list of all Werks