---
title: "Delete all items in the Postfix queue"
date: "2013-07-31"
path: "/154-delete-all-items-in-the-postfix-queue.html"
section: "/ramblings"
aliases:
  - "/154"
  - "/154-delete-all-items-in-the-postfix-queue"
  - "/154.html"
  - "/ramblings/154-delete-all-items-in-the-postfix-queue.html"
---

Sometimes scripts go wrong and try posting a million messages, here we have 3327 messages sat going nowhere so its best to delete them:

```
root@server:~# postsuper -d ALL
postsuper: Deleted: 3327 messages
```
