# SMTP

Nmap script: [smtp-open-relay](https://nmap.org/nsedoc/scripts/smtp-open-relay.html)

`telnet <FQDM/IP> 25`

<table data-header-hidden><thead><tr><th width="193">Command</th><th>Description</th></tr></thead><tbody><tr><td><code>AUTH PLAIN</code></td><td>AUTH is a service extension used to authenticate the client.</td></tr><tr><td><code>HELO</code></td><td>The client logs in with its computer name and thus starts the session.</td></tr><tr><td><code>MAIL FROM</code></td><td>The client names the email sender.</td></tr><tr><td><code>RCPT TO</code></td><td>The client names the email recipient.</td></tr><tr><td><code>DATA</code></td><td>The client initiates the transmission of the email.</td></tr><tr><td><code>RSET</code></td><td>The client aborts the initiated transmission but keeps the connection between client and server.</td></tr><tr><td><code>VRFY</code></td><td>The client checks if a mailbox is available for message transfer.</td></tr><tr><td><code>EXPN</code></td><td>The client also checks if a mailbox is available for messaging with this command.</td></tr><tr><td><code>NOOP</code></td><td>The client requests a response from the server to prevent disconnection due to time-out.</td></tr><tr><td><code>QUIT</code></td><td>The client terminates the session.</td></tr></tbody></table>

## Tools

Metasploit (msfconsole) module: `scanner/smtp/smtp_enum`

[smtp-user-enum](https://www.kali.org/tools/smtp-user-enum/)


---

# 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://docs.rtlcopymemory.com/footprinting/smtp.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.
