Postfix - queue cleaner

If you run a postfix mail server with multiple domains and you want to delete from the queue all messages sent from a certain domain:

mailq | awk '$7 ~ /@domain.tld$/ { print $1 }' | tr -d '*!' | postsuper -d