mailq | tail +2 | grep -v '^ *(' | awk ' BEGIN { RS = "" } # $7=sender, $8=recipient1, $9=recipient2 { if ($8 == "user@example.com" && $9 == "") print $1 } ' | tr -d '*!' | postsuper -d - # wykasuje wszystkie maile od user@... ( z man postsuper(1) ) # monitoring usuwania ( bo mailq jest wolne ): 1. cd /var/spool/postfix/ 2. for((x=0;x<100;x++)); do for f in *; do echo -n"$f..."; find $f | wc -l ; done; sleep 3; clear; done