{"id":811,"date":"2013-01-21T17:24:39","date_gmt":"2013-01-21T22:24:39","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2013\/01\/21\/view-a-summary-of-the-exim-mail-queue\/"},"modified":"2021-08-16T23:23:52","modified_gmt":"2021-08-17T03:23:52","slug":"view-a-summary-of-the-exim-mail-queue","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/","title":{"rendered":"View a summary of the Exim mail queue"},"content":{"rendered":"<p>In this article I&#8217;m going to go over how you can view a summary of the current Exim mail queue on your VPS (Virtual Private Server) or dedicated server. This will give you a quick glance of what domains have the most mailing activity currently going on.<\/p>\n<p>If you&#8217;ve read one of my previous articles on either <a href=\"\/support\/email\/manage-the-exim-mail-queue-via-ssh\/\" target=\"_blank\" rel=\"noopener noreferrer\">how to manage the Exim mail queue via SSH<\/a>, or <a href=\"\/support\/email\/manage-the-exim-mail-queue-in-whm\/\" target=\"_blank\" rel=\"noopener noreferrer\">managing the Exim mail queue in WHM<\/a>, then you should know how to view and manage the mail queue on your server. However in this article I&#8217;m going to talk about getting a full summary of your Exim mail queue so that you can get a quick rough idea of where the most email activity is being generated from on your server.<\/p>\n<p class=\"alert\">In order to follow along with the steps below you&#8217;ll need to have <a href=\"\/support\/server\/ssh\/root-access-faq\/\" target=\"_blank\" rel=\"noopener noreferrer\">root access<\/a> to either your VPS or dedicated server so that you have access to the Exim commands we&#8217;ll be running.<\/p>\n<h2>Viewing current Exim mail queue summary<\/h2>\n<p>Using the steps below I&#8217;ll show you how to view a summary of the messages currently in your Exim mail queue on your server.<\/p>\n<ol class=\"article_list\">\n<li><a href=\"\/support\/server\/ssh\/how-to-login-ssh\/\" target=\"\u201d_blank\u201d\" rel=\"noopener noreferrer\">Login to your server via SSH<\/a> as the root user.<\/li>\n<li>Run the following command to view the summary of the current Exim mail queue:<br \/>\n<code>exim -bp | exiqsumm | egrep -v \"--|Volume|^$\" | sort -bg | awk '{print \"Volume: \" $1 \" t Domain: \" $5}'<\/code><br \/>\n<strong>Code breakdown:<\/strong><\/p>\n<table class=\"article_table\">\n<tbody>\n<tr>\n<th style=\"width: 55%; padding: 15px;\">exim -bp<\/th>\n<td style=\"padding: 15px;\">Run the <strong>exim<\/strong> command with the <strong>-bp<\/strong> flag to show the current Exim mail queue.<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 55%; padding: 15px;\">exiqsumm<\/th>\n<td style=\"padding: 15px;\">Use the <strong>exiqsumm<\/strong> command to summarize the output from the Exim mail queue.<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 55%; padding: 15px;\">egrep -v &#8220;&#8211;|Volume|^$&#8221; | sort -bg<\/th>\n<td style=\"padding: 15px;\">Use the <strong>egrep -v<\/strong> command to not display any lines that include text we have specified. In this case lines that have at least two dashes <strong>&#8212;<\/strong>, the word <strong>Volume<\/strong>, or any lines that are blank identified by a carrot <strong>^<\/strong> which indicates the beginning of a line, and a dollar symbol <strong>$<\/strong> indicating the end of a line.<\/td>\n<\/tr>\n<tr>\n<th style=\"width: 55%; padding: 15px;\">awk &#8216;{print &#8220;Volume: &#8221; $1 &#8221; t Domain: &#8221; $5}&#8217;<\/th>\n<td style=\"padding: 15px;\">Use the <strong>awk<\/strong> command to print out the word <strong>Volume: <\/strong> followed by the <strong>$1<\/strong>st column which is the total number of messages in the queue. Then print <strong>Domain: <\/strong> followed by the <strong>$5<\/strong>th column of data which is the domain name.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You should get back something that looks similar to this:<\/p>\n<p><code>Volume: 70 Domain: yahoo.com<br \/>\nVolume: 227 Domain: gmail.com<br \/>\nVolume: 461 Domain: example.com<br \/>\nVolume: 1402 Domain: TOTAL<\/code><\/p>\n<p>So in this case we can see that in total we&#8217;ve got <strong>1,402<\/strong> messages in our Exim mail queue, <strong>461<\/strong> of those waiting to deliver for our <strong>example.com<\/strong> domain, and then <strong>227<\/strong> waiting to deliver to <strong>gmail.com<\/strong> accounts, and <strong>70<\/strong> to <strong>yahoo.com<\/strong> accounts.<\/li>\n<\/ol>\n<p>You should now be able to login to your server at anytime to check on the current mail activity going on in your Exim mail queue.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article I&#8217;m going to go over how you can view a summary of the current Exim mail queue on your VPS (Virtual Private Server) or dedicated server. This will give you a quick glance of what domains have the most mailing activity currently going on. If you&#8217;ve read one of my previous articles<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/\"> 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-811","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>View a summary of the Exim mail queue | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this article I&#039;m going to go over how you can view a summary of the current Exim mail queue on your VPS (Virtual Private Server) or dedicated server. This will give you a quick glance of what domains have the most mailing activity currently going on.\" \/>\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\/view-a-summary-of-the-exim-mail-queue\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"View a summary of the Exim mail queue | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this article I&#039;m going to go over how you can view a summary of the current Exim mail queue on your VPS (Virtual Private Server) or dedicated server. This will give you a quick glance of what domains have the most mailing activity currently going on.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/\" \/>\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-21T22:24:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:23:52+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\/view-a-summary-of-the-exim-mail-queue\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"View a summary of the Exim mail queue\",\"datePublished\":\"2013-01-21T22:24:39+00:00\",\"dateModified\":\"2021-08-17T03:23:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/\"},\"wordCount\":451,\"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\/view-a-summary-of-the-exim-mail-queue\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/\",\"name\":\"View a summary of the Exim mail queue | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2013-01-21T22:24:39+00:00\",\"dateModified\":\"2021-08-17T03:23:52+00:00\",\"description\":\"In this article I'm going to go over how you can view a summary of the current Exim mail queue on your VPS (Virtual Private Server) or dedicated server. This will give you a quick glance of what domains have the most mailing activity currently going on.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"View a summary of the Exim mail queue\"}]},{\"@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":"View a summary of the Exim mail queue | InMotion Hosting","description":"In this article I'm going to go over how you can view a summary of the current Exim mail queue on your VPS (Virtual Private Server) or dedicated server. This will give you a quick glance of what domains have the most mailing activity currently going on.","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\/view-a-summary-of-the-exim-mail-queue\/","og_locale":"en_US","og_type":"article","og_title":"View a summary of the Exim mail queue | InMotion Hosting","og_description":"In this article I'm going to go over how you can view a summary of the current Exim mail queue on your VPS (Virtual Private Server) or dedicated server. This will give you a quick glance of what domains have the most mailing activity currently going on.","og_url":"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2013-01-21T22:24:39+00:00","article_modified_time":"2021-08-17T03:23:52+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\/view-a-summary-of-the-exim-mail-queue\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"View a summary of the Exim mail queue","datePublished":"2013-01-21T22:24:39+00:00","dateModified":"2021-08-17T03:23:52+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/"},"wordCount":451,"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\/view-a-summary-of-the-exim-mail-queue\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/","url":"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/","name":"View a summary of the Exim mail queue | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2013-01-21T22:24:39+00:00","dateModified":"2021-08-17T03:23:52+00:00","description":"In this article I'm going to go over how you can view a summary of the current Exim mail queue on your VPS (Virtual Private Server) or dedicated server. This will give you a quick glance of what domains have the most mailing activity currently going on.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/email\/view-a-summary-of-the-exim-mail-queue\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"View a summary of the Exim mail queue"}]},{"@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\/811","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=811"}],"version-history":[{"count":4,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/811\/revisions"}],"predecessor-version":[{"id":85050,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/811\/revisions\/85050"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}