{"id":422,"date":"2018-01-10T09:28:35","date_gmt":"2018-01-10T09:28:35","guid":{"rendered":"https:\/\/mellowhost.com\/blog\/?p=422"},"modified":"2018-01-10T09:28:35","modified_gmt":"2018-01-10T09:28:35","slug":"quick-tip-how-to-check-total-number-of-mails-in-postfix-queue","status":"publish","type":"post","link":"https:\/\/mellowhost.com\/blog\/quick-tip-how-to-check-total-number-of-mails-in-postfix-queue.html","title":{"rendered":"Quick Tip: How to Check Total Number of Mails in Postfix Queue"},"content":{"rendered":"<p>Exim provides a quick way to check the total number of mails in the queue. This is done using the <code>exim -bpc<\/code> Although, this is not the same for postfix. Postfix doesn&#8217;t come with an easy way to do that.<\/p>\n<h4>How to Check Total Number of Mails in Postfix Queue<\/h4>\n<p>A quick tip on what I use to check the postfix queue number is the following command:<\/p>\n<p><code># mailq | tail -n 1<br \/>\n-- 6899 Kbytes in 1518 Requests.<\/code><\/p>\n<p>Basically, postfix returns the queue statistics at the end of the queue listing command. We are simply tailing that to find the number.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Exim provides a quick way to check the total number of mails in the queue. This is done using the exim -bpc Although, this is not the same for postfix. Postfix doesn&#8217;t come with an easy way to do that. How to Check Total Number of Mails in Postfix Queue A quick tip on what &hellip; <a href=\"https:\/\/mellowhost.com\/blog\/quick-tip-how-to-check-total-number-of-mails-in-postfix-queue.html\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Quick Tip: How to Check Total Number of Mails in Postfix Queue&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[193,12,211,191,21,150,25,192],"tags":[156,199,256,247,255,218,198],"_links":{"self":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/422"}],"collection":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/comments?post=422"}],"version-history":[{"count":1,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/422\/revisions"}],"predecessor-version":[{"id":423,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/422\/revisions\/423"}],"wp:attachment":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/media?parent=422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/categories?post=422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/tags?post=422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}