blob: 2db52ac93f47a63bf8fe2622ad46a77cc3adedc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
---
title: "Purge postfix queue based on email contents"
linkTitle: "Purge postfix queue based on email contents"
date: 2009-04-27
description: >
Purge postfix queue based on email contents
---
{{< highlight sh >}}
find /var/spool/postfix/deferred/ -type f -exec grep -li 'XXX' '{}' \; | xargs -n1 basename | xargs -n1 postsuper -d
{{< /highlight >}}
|