www/content/blog/miscellaneous/purge-postfix-queue-based-content.md

356 B

title linkTitle date description
Purge postfix queue based on email contents Purge postfix queue based on email contents 2009-04-27 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 >}}