To show the queue of postfix, just run postqueue -p
But if you will like to show the total number of mails in the postfix queue, you can run this streng.
postqueue -p | tail -n 1 | cut -d' ' -f5
To show the queue of postfix, just run postqueue -p
But if you will like to show the total number of mails in the postfix queue, you can run this streng.
postqueue -p | tail -n 1 | cut -d' ' -f5