Postfix Email Queue

To check how many emails have been queuing in Postfix (an email server for Linux) and for what period of time you can use the following command

#qshape deferred | head

The above command will produce the following;

The T represents time in minutes

The Total represents how many emails have been queueing for what period of time.