{"id":3319,"date":"2018-08-10T12:51:22","date_gmt":"2018-08-10T17:51:22","guid":{"rendered":"http:\/\/lisa.rushworth.us\/?p=3319"},"modified":"2018-08-10T12:51:22","modified_gmt":"2018-08-10T17:51:22","slug":"sendmail-giving-everyone-else-a-chance","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=3319","title":{"rendered":"Sendmail: Giving everyone else a chance"},"content":{"rendered":"<p>We will occasionally get slammed with <em>thousands<\/em> of messages from a specific sender (usually one we&#8217;ve engaged to e-mail all of our employees, and of course they do it at 11 in the morning instead of some low volume off-hours time) which delays mail from <em>all<\/em> recipients. You can use the sendmail command line to flush the mail queue for messages <em>other<\/em> than those from a specific sender or other than those to a specific sender.<\/p>\n<p>Using sendmail -qSdomain.gTLD will attempt to delivery messages where the sender matches domain.gTLD. Adding a &#8216;not&#8217; in front of the &#8216;S&#8217; attempts to deliver messages where the sender is <em>not<\/em> the specified domain.<\/p>\n<p>sendmail -q\\!Sbadguy.gTLD -v<\/p>\n<p>That ensures all of the other mail is cleared through the queue even though ten thousand messages from a single sender still need to be processed. In real life, bypassing everything with the &#8216;mail from&#8217; of @em-sj-77.mktomail.com is just<\/p>\n<p>sendmail -q\\!Sem-sj-77.mktomail.com -v<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We will occasionally get slammed with thousands of messages from a specific sender (usually one we&#8217;ve engaged to e-mail all of our employees, and of course they do it at 11 in the morning instead of some low volume off-hours time) which delays mail from all recipients. You can use the sendmail command line to &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[635,259],"class_list":["post-3319","post","type-post","status-publish","format-standard","hentry","category-system-administration","tag-queue-management","tag-sendmail"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/3319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3319"}],"version-history":[{"count":1,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/3319\/revisions"}],"predecessor-version":[{"id":3320,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/3319\/revisions\/3320"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}