Identify implicit-TLS ports for IMAPS and POP3S.
Which pairing is appropriate?
IMAPS uses TCP 993 and POP3S uses TCP 995 for TLS from connection start.
Detailed explanation
IMAPS TCP 995 / POP3S TCP 993Incorrect. It reverses the two TLS ports.
Incorrect. It reverses the two TLS ports.
IMAPS TCP 143 / POP3S TCP 110Incorrect. These are the plain IMAP and POP3 ports.
Incorrect. These are the plain IMAP and POP3 ports.
IMAPS TCP 993 / POP3S TCP 995Correct. The pair matches IMAPS and POP3S.
Correct. The pair matches IMAPS and POP3S.
IMAPS UDP 993 / POP3S UDP 995Incorrect. Mail retrieval sessions normally use TCP.
Incorrect. Mail retrieval sessions normally use TCP.
Try it yourself
An example you can run in a temporary verification environment.
python3 -c "import socket; print(socket.getservbyname('imaps','tcp'), socket.getservbyname('pop3s','tcp'))"Expected result
993 995Key points
- IMAPS 993
- POP3S 995
- Implicit TLS
Notes
- Environment: Python 3 socket service database
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.