> For the complete documentation index, see [llms.txt](https://the-pentesting-guide.marmeus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://the-pentesting-guide.marmeus.com/active/services/110-pop3.md).

# 110 - POP3

## Introduction

**Port**: 110 (TCP)

The **Post Office Protocol** (POP) is an Internet standard protocol for transferring messages from an e-mail server to an e-mail client.

## Enumeration

With the Nmap scripts, you can retrieve information about the server.

* To include information about: NetBios, DNS and OS build version.

```bash
nmap -n -p 110,995 --script=pop3-ntlm-info <TARGET>
```

* To show which commands the server supports.

```bash
nmap -n -p 110,995 --script=pop3-capabilities <TARGET>
```

Also, you can use the Metasploit module `auxiliary/scanner/pop3/pop3_version` in order to obtain the pop3 version.

## Commands

In this subsection, you will find some useful commands in order to interact with the POP3 service through CLI.

### Login

You can interact with a POP3 services following these steps.

```bash
[telnet <IP> <PORT>] | [nc -nC <IP> <PORT>]
ehlo example.com #Some servers also accept helo in place of ehlo.
USER <USERNAME>
PASS <PASSWORD>
```

### Listing emails

```bash
> list
1 897
2 5136
```

### Read an email

```bash
retr 2 
```

### Delete an email

```bash
dele 2
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://the-pentesting-guide.marmeus.com/active/services/110-pop3.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
