RSS

Purge postfix queue based on email contents

Purge postfix queue based on email contents
find /var/spool/postfix/deferred/ -type f -exec grep -li 'XXX' '{}' \; | xargs -n1 basename | xargs -n1 postsuper -d