The IMAP module tests accounts against the IMAP service. This module supports both imap (143) and imaps (993). Medusa Documentation