delete messages from the postfix queue (delivery temporarily suspended)

mailq | tail -n +2 | awk ‘BEGIN {RS=””} /delivery temporarily suspended/ {print $1}’ | tr -d ‘*!’ | postsuper -d –

Iklan