cd /var/spool/mqueue for i in qf* do grep -q RETEZEC "$i" && rm "$i" df${i#qf} done