Home > One Liners, Postfix > Removing Bounces From the Mail Queue

Removing Bounces From the Mail Queue

November 3rd, 2009 admin Leave a comment Go to comments

The following simple one liner will do the trick:

# mailq | grep MAILER-DAEMON | awk '{print $1}' | sed 's/\*//' | postsuper -d -

Cheers,
Kevin

Categories: One Liners, Postfix Tags:
  1. No comments yet.
  1. No trackbacks yet.