Skip to main content
IMAP (Internet Message Access Protocol) runs on ports 143 and 993. POP3 (Post Office Protocol) runs on ports 110 and 995.

Check open ports

Nmap default NSE scripts

With this scan we are able to grab information about the domain, organization name, state, and version.

List all inboxes

Connect to mail

In IMAPS you have to give it a numeric index before typing any command, for example: 1 login test test 2 list "" *

Commands

IMAP

Example command sequence:

POP3

Dangerous settings

The following settings are potentially dangerous because they may expose sensitive authentication information. When auth_verbose is enabled, an attacker who gains access to the logs may be able to view previous authentication attempts and, depending on the system’s logging behavior, potentially obtain passwords or other credentials. Enabling auth_debug may also reveal details about previous logins, helping an attacker identify users and gather information about the system.