SMTP

  • To clear your postfix mail queue of a particular sender/recipient (n.b. doesn't/can't differentiate) use the following (as root):

     

    mailq | tail +2 | awk 'BEGIN { RS = "" } / user@erehwown\.com$/ { print $1 }' | tr -d '*!' | postsuper -d -