# POP3

POP3 service is a email receiving service. So every messages which is received will be available in the POP3 service. Detailed and technical explanation at [wikipedia](https://en.wikipedia.org/wiki/Post_Office_Protocol)

{% hint style="info" %}
**Requires:** valid credenials of the user is required to enumerate information from this port
{% endhint %}

## Connecting to the service

```bash
telnet 10.10.10.17 110
+OK Dovecot ready.
USER orestis
+OK
PASS kHGuERB29DNiNE                                    
+OK Logged in
```

* USER \<username>
* PASS \<password>

## Listing and Accessing the emails

```bash
LIST                                                                                                                                  
+OK 2 messages:                                                                                                                       
1 977                                                                                                                                 
2 514                                                                                                                                 
.                                                                                                                                     
RETR 1                                                                                                                                
+OK 977 octets 
<snip>
```

* LIST -> Lists the available emails with the index
* RETR \<no> -> Access the email contents


---

# Agent Instructions: 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:

```
GET https://dhaneshsivasamy07.gitbook.io/oscp-2022/enumeration/pop3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
