{"id":803,"date":"2013-01-16T22:22:22","date_gmt":"2013-01-17T03:22:22","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2013\/01\/16\/find-number-of-times-boxtrapper-has-to-run\/"},"modified":"2021-08-16T23:23:57","modified_gmt":"2021-08-17T03:23:57","slug":"find-number-of-times-boxtrapper-has-to-run","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/","title":{"rendered":"Find the number of times BoxTrapper has to run"},"content":{"rendered":"<p>In this article we&#8217;ll go over how you can find the number of times BoxTrapper is running for your users on your VPS or dedicated server.<\/p>\n<p>Using BoxTrapper can be a good way to help limit the amount of spam you receive on an account. However in some cases it can also lead to elevated server usage if one particular user on your server is getting heavily spammed from a wide variety of email addresses.<\/p>\n<p>If you&#8217;ve read my article on <a href=\"\/support\/server\/server-usage\/advanced-server-load-monitoring\/\" target=\"_blank\" rel=\"noopener noreferrer\">advanced server load monitoring<\/a>&nbsp;and see that your server&#8217;s load is spiking, or if you <a href=\"\/support\/server\/server-usage\/create-server-load-monitoring-bash-script\/\" target=\"_blank\" rel=\"noopener noreferrer\">setup a server load monitoring bash script<\/a> to alert you via email during load spikes, BoxTrapper could be a possible culprit of these issues that you might want to look into.<\/p>\n<p class=\"alert\">To find the number of times BoxTrapper is running you&#8217;ll need <a href=\"\/support\/server\/ssh\/root-access-faq\/\" target=\"_blank\" rel=\"noopener noreferrer\">root access<\/a> to your VPS or dedicated server, so that you have access to the Exim mail logs.<\/p>\n<h2>Find users with the most BoxTrapper deliveries<\/h2>\n<ol class=\"article_list\">\n<li><a href=\"\/support\/server\/ssh\/how-to-login-ssh\/\" target=\"_blank\" rel=\"noopener noreferrer\">Login to your server via SSH<\/a> as the root user.<\/li>\n<li>Run the following command:<br \/>\n<code>grep \"T=virtual_boxtrapper_userdelivery\" \/var\/log\/exim_mainlog | awk '{print $6}' | sort | uniq -c | sort -n<\/code><br \/>\n<strong>Code breakdown:<\/strong><\/p>\n<table class=\"article_table\">\n<tbody>\n<tr>\n<th style=\"width: 55%; padding: 15px;\">grep &#8220;T=virtual_boxtrapper_userdelivery&#8221; \/var\/log\/exim_mainlog<\/th>\n<td style=\"padding: 15px;\">Locate mentions of <strong>T=virtual_boxtrapper_userdelivery<\/strong> in the Exim mail log.<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 55%; padding: 15px;\">awk &#8216;{print $6}&#8217;<\/th>\n<td style=\"padding: 15px;\">Use the <strong>awk<\/strong> command to print the <strong>$6<\/strong>th column of data which is the email address the BoxTrapper message was delivered to.<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 55%; padding: 15px;\">sort | uniq -c | sort -n<\/th>\n<td style=\"padding: 15px;\">Sort that data by user, then uniquely count it, and finally sort it from lowest to highest occurences.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You should get back something like:<br \/>\n<code>331 &lt;info@example.com&gt;<br \/>\n367 &lt;support@example.com&gt;<br \/>\n422 &lt;test@example.com&gt;<br \/>\n3243 &lt;user@example.com&gt;<\/code><br \/>\nNow we know that the <strong>user@example.com<\/strong> user has had BoxTrapper manage at least <strong>3,243<\/strong> emails.<\/li>\n<\/ol>\n<p>You should now be able to to figure out which users on your server have an excessive amount of BoxTrapper verfications being used. If you&#8217;ve been having issues with your server&#8217;s load you might want to consider disabling BoxTrapper for these users and have them seek alternative methods for reducing spam.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article we&#8217;ll go over how you can find the number of times BoxTrapper is running for your users on your VPS or dedicated server. Using BoxTrapper can be a good way to help limit the amount of spam you receive on an account. However in some cases it can also lead to elevated<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-803","post","type-post","status-publish","format-standard","hentry","category-email"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Find the number of times BoxTrapper has to run | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this article we&#039;ll go over how you can find the number of times BoxTrapper is running for your users on your VPS or dedicated server.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Find the number of times BoxTrapper has to run | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this article we&#039;ll go over how you can find the number of times BoxTrapper is running for your users on your VPS or dedicated server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-01-17T03:22:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:23:57+00:00\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"Find the number of times BoxTrapper has to run\",\"datePublished\":\"2013-01-17T03:22:22+00:00\",\"dateModified\":\"2021-08-17T03:23:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/\"},\"wordCount\":336,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Email\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/\",\"name\":\"Find the number of times BoxTrapper has to run | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2013-01-17T03:22:22+00:00\",\"dateModified\":\"2021-08-17T03:23:57+00:00\",\"description\":\"In this article we'll go over how you can find the number of times BoxTrapper is running for your users on your VPS or dedicated server.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Find the number of times BoxTrapper has to run\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Find the number of times BoxTrapper has to run | InMotion Hosting","description":"In this article we'll go over how you can find the number of times BoxTrapper is running for your users on your VPS or dedicated server.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/","og_locale":"en_US","og_type":"article","og_title":"Find the number of times BoxTrapper has to run | InMotion Hosting","og_description":"In this article we'll go over how you can find the number of times BoxTrapper is running for your users on your VPS or dedicated server.","og_url":"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2013-01-17T03:22:22+00:00","article_modified_time":"2021-08-17T03:23:57+00:00","author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"Find the number of times BoxTrapper has to run","datePublished":"2013-01-17T03:22:22+00:00","dateModified":"2021-08-17T03:23:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/"},"wordCount":336,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Email"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/","url":"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/","name":"Find the number of times BoxTrapper has to run | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2013-01-17T03:22:22+00:00","dateModified":"2021-08-17T03:23:57+00:00","description":"In this article we'll go over how you can find the number of times BoxTrapper is running for your users on your VPS or dedicated server.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/email\/find-number-of-times-boxtrapper-has-to-run\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Find the number of times BoxTrapper has to run"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/803","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=803"}],"version-history":[{"count":5,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/803\/revisions"}],"predecessor-version":[{"id":85066,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/803\/revisions\/85066"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}