# Mail queue management

{% hint style="info" %}
**Manage Queues**

You can flush or pause Velocity MTA mail queues in the [IP Delivery Report](/docs/velocity-mta-continuing-education/ip-delivery-reports.md).&#x20;
{% endhint %}

<figure><img src="/files/8GQKmlIv8hHW4MYYs9vZ" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Select the mailbox provider and IP address you want to discard or pause mail for, then click the Manage Queues dropdown.&#x20;
{% endhint %}

<div align="left"><figure><img src="/files/xK2ceQ9hcwfIMxNWcCHe" alt="" width="284"><figcaption></figcaption></figure></div>

{% hint style="info" %}
Discarding mail initiates a pause on the mail queue and deletes all newly injected mail during the discard process. Pausing the mail queue without a discard preserves all messages until the queue has been resumed.&#x20;
{% endhint %}

<div align="left"><figure><img src="/files/OMHcCOFcPYaYNkJwfNoj" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="info" %}
Start monitoring the log file before you perform an action to see your changes take effect. In this case, we'll monitor a Discard, which will show all our recipients marked as SUPP for suppressed in the velvet log file.&#x20;
{% endhint %}

```
tail -f velocity-install/logs/velocity.log 
```

```
2023/06/12 04:48:51.269186 main.go:1039: :API:::172.16.50.1:49538 POST /settings
2023/06/12 04:48:51.270545 main.go:1136: :API:::Finished writing settings
2023/06/12 04:48:51.270620 main.go:605: 8K9cTRC5ymCEAGQJpZBjdp:SUPP:d@yahoo.com::message discarded
2023/06/12 04:48:51.271220 main.go:605: 8K9cTRC5ymCEAGQJpZBjdp:SUPP:m@yahoo.com::message discarded
2023/06/12 04:48:51.271604 main.go:605: 8K9cTRC5ymCEAGQJpZBjdp:SUPP:k@yahoo.com::message discarded
2023/06/12 04:48:51.271927 main.go:605: 8K9cTRC5ymCEAGQJpZBjdp:SUPP:p@yahoo.com::message discarded
2023/06/12 04:48:51.272253 main.go:605: 8K9cTRC5ymCEAGQJpZBjdp:SUPP:e@yahoo.com::message discarded
2023/06/12 04:48:51.272627 main.go:605: 8K9cTRC5ymCEAGQJpZBjdp:SUPP:s@yahoo.com::message discarded
2023/06/12 04:48:51.272946 main.go:605: 8K9cTRC5ymCEAGQJpZBjdp:SUPP:l@yahoo.com::message discarded

```

{% hint style="danger" %}
**You must click Resume when a Discard is complete or your mail queue will stay in a Discard state, permanently suppressing all newly injected mail.**&#x20;
{% endhint %}

{% hint style="info" %}
**Bypass Deferral**

If an IP address is waiting for an extended timeout period that was triggered by a deferral with a mailbox provider such as Yahoo and you want to test if the deferral condition has expired already, you can select bypass deferral to initiate an immediate delivery retry.&#x20;
{% endhint %}


---

# 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.emaildelivery.com/docs/velocity-mta-continuing-education/mail-queue-management.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.
