{"id":97,"date":"2009-09-27T15:38:17","date_gmt":"2009-09-27T19:38:17","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=97"},"modified":"2013-03-20T08:39:37","modified_gmt":"2013-03-20T12:39:37","slug":"delete-frozen-emails","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/delete-frozen-emails","title":{"rendered":"Delete Frozen Emails"},"content":{"rendered":"<p>Howto check <strong>number of emails in the mail queue<\/strong>:<\/p>\n<blockquote><p><span style=\"color: #993300;\"><strong><strong>exim -bpc<\/strong><\/strong><\/span><\/p><\/blockquote>\n<p>To check the <strong>email ID, sender and receiver of the each email<\/strong>:<\/p>\n<blockquote><p><span style=\"color: #993300;\"><strong>exim -bp | more<\/strong><\/span><\/p><\/blockquote>\n<p>To <strong>delete frozen emails<\/strong> from the mail queue, execute:<\/p>\n<blockquote><p><span style=\"color: #993300;\"><strong>exim -bp | grep &#8216;frozen&#8217; | awk &#8216;{print $3}&#8217; | xargs exim -Mrm<\/strong><\/span><\/p><\/blockquote>\n<p>similarly, to delete emails sent using a script&#8217;<\/p>\n<blockquote><p><span style=\"color: #993300;\"><strong>exim -bp | grep &#8216;&lt;&gt;&#8217; | awk &#8216;{print $3}&#8217; | xargs exim -Mrm<\/strong><\/span><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Howto check number of emails in the mail queue:<br \/>\nexim -bpc<br \/>\nTo check the email ID, sender and receiver of the each email:<br \/>\nexim -bp | more<br \/>\nTo delete frozen emails from the mail queue, execute:<br \/>\nexim -bp | grep &#8216;frozen&#8217; | awk &#8216;{print $3}&#8217; | xargs exim -Mrm<br \/>\nsimilarly, to delete emails sent using a script&#8217;<br \/>\nexim -bp | grep &#8216;&lt;&gt;&#8217; | awk &#8216;{print $3}&#8217; | xargs exim -Mrm<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,6],"tags":[204,103,104,130,129,128,105],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/97"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=97"}],"version-history":[{"count":7,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/97\/revisions"}],"predecessor-version":[{"id":191,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/97\/revisions\/191"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=97"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=97"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}