# view mailqueue
mailq
# view email count in mailqueue
mailq | egrep '^--'
# delete single mail from queue
postsuper -d Queue_ID
# delete all mailqueues
postsuper -d ALL
# send waiting messages
postfix flush
# delete duplicate mail
mailq | awk 'BEGIN { RS = "" } / foo\.bar@example\.com$/ { print $1 }' | tail -1 | postsuper -d -
# statistic
apt-get install pflogsumm
pflogsumm --detail 0 /var/log/mail.log
# view spam
grep "policyd-weight.*action=" /var/log/mail.log | grep -v PREPEND | grep mike
# find mails bigger then 50mb
find /home/ -type f -size +50000k -exe