{"id":805,"date":"2021-07-09T06:36:14","date_gmt":"2021-07-09T11:36:14","guid":{"rendered":"https:\/\/www.knownhost.com\/kb\/?p=805"},"modified":"2026-01-23T06:20:19","modified_gmt":"2026-01-23T12:20:19","slug":"how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line","status":"publish","type":"post","link":"https:\/\/www.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/","title":{"rendered":"How can I see a list of emails in exims queue from the command line?"},"content":{"rendered":"\n<p>If you already know how many emails are in the Exims queue and want to see certain short information regarding each email in the queue, you can print a list of the emails currently queued by performing this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  exim -bp<\/code><\/pre>\n\n\n<div class=\"kb-shortcode kb-shortcode_warning\">\n                    <div class=\"kb-shortcode-icon\">\n                        <i class=\"fa fa-exclamation-triangle fa-2x\"><\/i>\n                    <\/div>\n                    <div class=\"kb-shortcode-content_warning\">If you have a lot of emails in the queue it may be hard to find the exact one you&#8217;re looking for! You may want to grep against the output for a certain string. (eg. # <code>exim -bp |grep \"frozen\"<\/code>)<\/div>\n                <\/div>\n\n\n\n<p>Check out this screen shot for an example:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"800\" height=\"495\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/exim-bp.png\" alt=\"exims command\" class=\"wp-image-807\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/exim-bp.png 800w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/exim-bp-300x186.png 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/exim-bp-768x475.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>Reviewing an example from that output:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  14m  1.5K 1XSY39-0001i8-7z &lt;&gt; *** frozen ***\n          root@knownhost.support<\/code><\/pre>\n\n\n\n<p>Let&#8217;s break down each part of the output:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>&#8216;<strong>14m<\/strong>&#8216; is the amount of time since it was originally attempted for delivery. &#8216;m&#8217; standing for minutes, &#8216;h&#8217; for hours, and &#8216;d&#8217; for days.<\/li><li>&#8216;<strong>1.5K<\/strong>&#8216; is the size of the original message attempted for delivery. &#8216;K&#8217; standing for Kilobytes.<\/li><li>&#8216;<strong>1XSY39-0001i8-7z<\/strong>&#8216; is the email ID for that specific delivery attempt. This is very useful and should be noted for further research (<em>such as viewing the email header and body<\/em>).<\/li><li>&#8216;<strong>*** frozen ***<\/strong>&#8216; is the status of this particular email. Frozen obviously suggesting there&#8217;s something from preventing further delivery attempts.<\/li><li>&#8216;<strong>root@knownhost.support<\/strong>&#8216; is the email address &#8220;TO&#8221; or delivery address for the email.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Now that you know how to check emails in Exims queue, check out some of our useful Exim commands from <a href=\"https:\/\/docs.directadmin.com\/other-hosting-services\/exim\/maintaining-email-queue.html\">DirectAdmin docs<\/a>.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.knownhost.com\/\">KnownHost<\/a>\u00a0offers 365 days a year, 24 hours a day, all 7 days of the week best in class technical support. A dedicated team is ready to help you with requests should you need our assistance. You\u2019re not using KnownHost for the best web hosting experience? Well, why not? Check with\u00a0our Sales team\u00a0to see what can KnownHost do for you in improving your web hosting experience<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you already know how many emails are in the Exims queue and want to see certain short information regarding each email in the queue, you can print a list of the emails currently queued by performing this command: Check out this screen shot for an example: Reviewing an example from that output: Let&#8217;s break [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[178,290,123],"class_list":["post-805","post","type-post","status-publish","format-standard","hentry","category-getting-started","tag-email","tag-exim","tag-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>View Exim Email Queue from Command Line: Quick Guide | KnownHost<\/title>\n<meta name=\"description\" content=\"Learn command line methods to view and manage emails in Exim&#039;s mail queue. Includes mailq, exim -bp commands, and queue management techniques for your 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.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"View Exim Email Queue from Command Line: Quick Guide | KnownHost\" \/>\n<meta property=\"og:description\" content=\"Learn command line methods to view and manage emails in Exim&#039;s mail queue. Includes mailq, exim -bp commands, and queue management techniques for your server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/\" \/>\n<meta property=\"og:site_name\" content=\"KnownHost\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-09T11:36:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-23T12:20:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/exim-bp.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"495\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jonathan K. W.\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jonathan K. W.\" \/>\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.knownhost.com\\\/kb\\\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\\\/\"},\"author\":{\"name\":\"Jonathan K. W.\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\"},\"headline\":\"How can I see a list of emails in exims queue from the command line?\",\"datePublished\":\"2021-07-09T11:36:14+00:00\",\"dateModified\":\"2026-01-23T12:20:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\\\/\"},\"wordCount\":313,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/exim-bp.png\",\"keywords\":[\"email\",\"Exim\",\"linux\"],\"articleSection\":[\"Getting Started\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\\\/\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\\\/\",\"name\":\"View Exim Email Queue from Command Line: Quick Guide | KnownHost\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/exim-bp.png\",\"datePublished\":\"2021-07-09T11:36:14+00:00\",\"dateModified\":\"2026-01-23T12:20:19+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\"},\"description\":\"Learn command line methods to view and manage emails in Exim's mail queue. Includes mailq, exim -bp commands, and queue management techniques for your server.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/exim-bp.png\",\"contentUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/exim-bp.png\",\"width\":800,\"height\":495},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How can I see a list of emails in exims queue from the command line?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\",\"name\":\"KnownHost\",\"description\":\"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/3db6e20d1f33519cd68fe0ba1230a48b\",\"name\":\"Jonathan K. W.\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g\",\"caption\":\"Jonathan K. W.\"},\"sameAs\":[\"https:\\\/\\\/www.knownhost.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"View Exim Email Queue from Command Line: Quick Guide | KnownHost","description":"Learn command line methods to view and manage emails in Exim's mail queue. Includes mailq, exim -bp commands, and queue management techniques for your 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.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/","og_locale":"en_US","og_type":"article","og_title":"View Exim Email Queue from Command Line: Quick Guide | KnownHost","og_description":"Learn command line methods to view and manage emails in Exim's mail queue. Includes mailq, exim -bp commands, and queue management techniques for your server.","og_url":"https:\/\/www.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/","og_site_name":"KnownHost","article_published_time":"2021-07-09T11:36:14+00:00","article_modified_time":"2026-01-23T12:20:19+00:00","og_image":[{"width":800,"height":495,"url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/exim-bp.png","type":"image\/png"}],"author":"Jonathan K. W.","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jonathan K. W.","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/#article","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/"},"author":{"name":"Jonathan K. W.","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b"},"headline":"How can I see a list of emails in exims queue from the command line?","datePublished":"2021-07-09T11:36:14+00:00","dateModified":"2026-01-23T12:20:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/"},"wordCount":313,"commentCount":0,"image":{"@id":"https:\/\/www.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/exim-bp.png","keywords":["email","Exim","linux"],"articleSection":["Getting Started"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/","url":"https:\/\/www.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/","name":"View Exim Email Queue from Command Line: Quick Guide | KnownHost","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/#primaryimage"},"image":{"@id":"https:\/\/www.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/exim-bp.png","datePublished":"2021-07-09T11:36:14+00:00","dateModified":"2026-01-23T12:20:19+00:00","author":{"@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b"},"description":"Learn command line methods to view and manage emails in Exim's mail queue. Includes mailq, exim -bp commands, and queue management techniques for your server.","breadcrumb":{"@id":"https:\/\/www.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/#primaryimage","url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/exim-bp.png","contentUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2021\/07\/exim-bp.png","width":800,"height":495},{"@type":"BreadcrumbList","@id":"https:\/\/www.knownhost.com\/kb\/how-can-i-see-a-list-of-emails-in-exims-queue-from-the-command-line\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knownhost.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How can I see a list of emails in exims queue from the command line?"}]},{"@type":"WebSite","@id":"https:\/\/www.knownhost.com\/kb\/#website","url":"https:\/\/www.knownhost.com\/kb\/","name":"KnownHost","description":"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knownhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/3db6e20d1f33519cd68fe0ba1230a48b","name":"Jonathan K. W.","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f432b99e6651fe8d1deb57a285bd84e806f1c9ae8b4c6c585d7e3a0b33789ad9?s=96&d=mm&r=g","caption":"Jonathan K. W."},"sameAs":["https:\/\/www.knownhost.com"]}]}},"_links":{"self":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/comments?post=805"}],"version-history":[{"count":1,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/805\/revisions"}],"predecessor-version":[{"id":8020,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/805\/revisions\/8020"}],"wp:attachment":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/media?parent=805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/categories?post=805"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/tags?post=805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}