Try Code: mailq | tail [B][COLOR="Red"]-n +2[/COLOR][/B] | awk 'BEGIN { RS = "" } / falko@example\.com$/ { print $1 }' | tr -d '*!' | postsuper -d - then.
I didn't get error, but mail queue also wasn't deleted. postqueue -p shows, that the senders address is [email protected] (3 queues). Any other idea? David
Did you use the following command? Code: mailq | tail -n +2 | awk 'BEGIN { RS = "" } / www-data@myhost\.example\.com$/ { print $1 }' | tr -d '*!' | postsuper -d -