Personal tools
You are here: Home Members Kevin Hill blog Archive 2007 March 20 Shell Trick of the Day: Who's in my Mail Queue?
Error
There was an error while rendering the portlet.
Error
There was an error while rendering the portlet.
Log in


Forgot your password?
 

Shell Trick of the Day: Who's in my Mail Queue?

by Kevin Hill — last modified Mar 20, 2007 01:46 PM
Filed Under:

Want to see whats plugging up your Postfix Queue?

Here's a little trick I came up with a while ago that comes in handy. This will display the number of times an email address shows up as either a sender or recipient in your postfix queue.
postqueue -p | cut -c 42- | grep -v ^\$ | sort | uniq -c | sort -n
Comes in handy to see if a particular user is breaking your mail server!

Document Actions
Error
There was an error while rendering the portlet.
Error
There was an error while rendering the portlet.