IMAP (143-993)
Internet Message Access Protocol.
Port
143 TCP
IMAP (unencrypted)
993 TCP
IMAP (encrypted TLS/SSL)
Interact
nc <IP> 143
openssl s_client -connect <IP>:imaps
openssl s_client -connect <IP>:993 -crlf -quiet
Commands:
1 LOGIN <USER> <PASS> Login. User access
1 LIST "" * Lists all directories
1 CREATE "INBOX" Creates a mailbox with a specified name
1 DELETE "INBOX" Delete a mailbox
1 RENAME "X" "Y" Rename a mailbox.
1 SEARCH ALL To obtain a list of the message IDs in the folder
1 LSUB "" * Undo any changes
1 SELECT INBOX Select a mailbox so that you can access the messages in it
1 UNSELECT INBOX Exits the selected mailbox
1 FETCH <ID/*> all Retrieves data associated with a message in the mailbox
1 FETCH <ID/*> BODY[] //
1 CLOSE Removes all messages with the Deleted flag set
1 LOGOUT Closes the connection with the IMAP server
If an error indicating “bwrap: Can't create file at ...” is displayed when starting Evolution, use this command to start Evolution: export WEBKIT_FORCE_SANDBOX=0 && evolution
Last updated
Was this helpful?