{"id":3446,"date":"2020-06-11T12:02:52","date_gmt":"2020-06-11T17:02:52","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=3446"},"modified":"2020-06-11T12:02:53","modified_gmt":"2020-06-11T17:02:53","slug":"exim-bulk-remove-email-messages-in-queue","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/exim-bulk-remove-email-messages-in-queue\/","title":{"rendered":"Exim Bulk Remove Email Messages in Queue"},"content":{"rendered":"\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-crybit-com\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"MgsU9SKUs0\"><a href=\"https:\/\/www.crybit.com\/remove-users-emails-form-mail-queue\/\">Exim command to remove emails from mail queue for a specific Sender\/Receiver &#8211; The &#8220;exiqgrep&#8221; usage<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Exim command to remove emails from mail queue for a specific Sender\/Receiver &#8211; The &#8220;exiqgrep&#8221; usage&#8221; &#8212; Crybit.com\" src=\"https:\/\/www.crybit.com\/remove-users-emails-form-mail-queue\/embed\/#?secret=qyiEDHtwEo#?secret=MgsU9SKUs0\" data-secret=\"MgsU9SKUs0\" width=\"584\" height=\"329\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">exim -bp | grep \"string\" -A1 | awk {'print $3'}<\/pre>\n\n\n\n<p>Replace string with the email address, or domain you want to search for and delete.<br>Note that -A1 may not be needed.  Grep will just search for string and 1 line after it.  I had a problem with the string I was wanting to use was on the line below it<\/p>\n","protected":false},"excerpt":{"rendered":"<p>exim -bp | grep &#8220;string&#8221; -A1 | awk {&#8216;print $3&#8217;} Replace string with the email address, or domain you want to search for and delete.Note that -A1 may not be needed. Grep will just search for string and 1 line &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/exim-bulk-remove-email-messages-in-queue\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[195],"tags":[196,1048,224,612],"class_list":["post-3446","post","type-post","status-publish","format-standard","hentry","category-cpanel","tag-cpanel-2","tag-exim","tag-mail","tag-queue"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3446","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=3446"}],"version-history":[{"count":1,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3446\/revisions"}],"predecessor-version":[{"id":3448,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3446\/revisions\/3448"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=3446"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=3446"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=3446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}