How to just:
Categories: Technical | design | Other | Food | All

How to see queued messages on a postfix mail system

Description:

How to see the outbound mail queue on postfix. Postfix obviously cannot just send everything at one time, so it has to queue up messages that it is working with. I am going to show you how to view these.


Maybe one of the users queued up 300 or so messages with 10mb each attachments? This is something you would want to see.

The command you want is: postqueue, and the option that you want to pass it is -p
 postqueue -p
it will tell you the pending messages, their sizes, who sent them, and when. It will also give you their queue ID, which you can pass to postsuper -d to delete them.
 postqueue -p
THAT IS THE ANSWER NOW HAVE A SUPER DAY!

Link to this



Be sure to check out our other project, Thingist - Things you love Looking for other Technical articles?
Here is another random article from this category:

How to get PHP4 working on OpenBSD

How to get PHP4 working on OpenBSD. I'm using PHP for nagios and my browser kept trying to download the PHP files instead of running them. No good. This is how to make it work.

Read More
Be sure to check out our other project, Thingist - Things you love