{"id":492,"date":"2011-04-28T00:20:38","date_gmt":"2011-04-28T06:20:38","guid":{"rendered":"http:\/\/blog.supportpro.com\/?p=492"},"modified":"2018-10-04T05:39:01","modified_gmt":"2018-10-04T11:39:01","slug":"how-to-recreate-qmails-queue","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/","title":{"rendered":"How to recreate qmail`s queue:"},"content":{"rendered":"<p>You can recreate qmail&#8217;s queue by following the steps given below, but while recreating all the current messages will be removed from the queue and cannot be restored. So it is better to take backup of messages before starting.<br \/>\nSteps:<br \/>\n1. log into server and stop qmail #\/etc\/init.d\/qmail stop<br \/>\n2. cd \/var\/qmail\/queue<br \/>\n3. rm -rf info intd local mess remote todo<br \/>\n4. mkdir mess<br \/>\n5. for i in `seq 0 22`; do<br \/>\nmkdir -p mess\/$i<br \/>\ndone<br \/>\ncp -r mess info<br \/>\ncp -r mess intd<br \/>\ncp -r mess local<br \/>\ncp -r mess remote<br \/>\ncp -r mess todo<br \/>\nchmod -R 750 mess todo<br \/>\nchown -R qmailq:qmail mess todo<br \/>\nchmod -R 700 info intd local remote<br \/>\nchown -R qmailq:qmail intd<br \/>\nchown -R qmails:qmail info local remote<br \/>\n6. Now start qmail&#8212; \/etc\/init.d\/qmail start<\/p>\n<p>If you require help, <a href=\"https:\/\/www.supportpro.com\/requestquote.php\">contact SupportPRO Server Admin<\/a><\/p>\n<p style=\"text-align: center;\"><!--HubSpot Call-to-Action Code --><span id=\"hs-cta-wrapper-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-wrapper\"><span id=\"hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-node hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\"><!-- [if lte IE 8]><\/p>\n\n\n\n\n\n<div id=\"hs-cta-ie-element\"><\/div>\n\n\n<![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b\"><img decoding=\"async\" id=\"hs-cta-img-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-img\" style=\"border-width: 0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b.png\" alt=\"Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value\" \/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '9d590242-d641-4383-94b4-8cfd62f0af6b', {}); <\/script><\/span><!-- end HubSpot Call-to-Action Code --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can recreate qmail&#8217;s queue by following the steps given below, but while recreating all the current messages will be removed from the queue and cannot be restored. So it&hellip;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-492","post","type-post","status-publish","format-standard","hentry","category-technical-articles"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"You can recreate qmail&#039;s queue by following the steps given below, but while recreating all the current messages will be removed from the queue and cannot be restored. So it is better to take backup of messages before starting. Steps: 1. log into server and stop qmail #\/etc\/init.d\/qmail stop 2. cd \/var\/qmail\/queue 3. rm -rf\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"SupportPRO Admin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Server Management Tips | SupportPRO Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to recreate qmail`s queue: | Server Management Tips\" \/>\n\t\t<meta property=\"og:description\" content=\"You can recreate qmail&#039;s queue by following the steps given below, but while recreating all the current messages will be removed from the queue and cannot be restored. So it is better to take backup of messages before starting. Steps: 1. log into server and stop qmail #\/etc\/init.d\/qmail stop 2. cd \/var\/qmail\/queue 3. rm -rf\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2011-04-28T06:20:38+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2018-10-04T11:39:01+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to recreate qmail`s queue: | Server Management Tips\" \/>\n\t\t<meta name=\"twitter:description\" content=\"You can recreate qmail&#039;s queue by following the steps given below, but while recreating all the current messages will be removed from the queue and cannot be restored. So it is better to take backup of messages before starting. Steps: 1. log into server and stop qmail #\/etc\/init.d\/qmail stop 2. cd \/var\/qmail\/queue 3. rm -rf\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-recreate-qmails-queue\\\/#article\",\"name\":\"How to recreate qmail`s queue: | Server Management Tips\",\"headline\":\"How to recreate qmail`s queue:\",\"author\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/no-cache.hubspot.com\\\/cta\\\/default\\\/2725694\\\/9d590242-d641-4383-94b4-8cfd62f0af6b.png\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-recreate-qmails-queue\\\/#articleImage\"},\"datePublished\":\"2011-04-28T00:20:38-06:00\",\"dateModified\":\"2018-10-04T05:39:01-06:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-recreate-qmails-queue\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-recreate-qmails-queue\\\/#webpage\"},\"articleSection\":\"Technical Articles\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-recreate-qmails-queue\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.supportpro.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/technical-articles\\\/#listItem\",\"name\":\"Technical Articles\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/technical-articles\\\/#listItem\",\"position\":2,\"name\":\"Technical Articles\",\"item\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/technical-articles\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-recreate-qmails-queue\\\/#listItem\",\"name\":\"How to recreate qmail`s queue:\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-recreate-qmails-queue\\\/#listItem\",\"position\":3,\"name\":\"How to recreate qmail`s queue:\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/technical-articles\\\/#listItem\",\"name\":\"Technical Articles\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#organization\",\"name\":\"SupportPRO\",\"description\":\"SupportPRO Blog\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/\",\"telephone\":\"+18476076123\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/#author\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/\",\"name\":\"SupportPRO Admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-recreate-qmails-queue\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/13d2f63048d631e03a432375448be5eb7861069df4fef10f0cb1c7b36554c225?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"SupportPRO Admin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-recreate-qmails-queue\\\/#webpage\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-recreate-qmails-queue\\\/\",\"name\":\"How to recreate qmail`s queue: | Server Management Tips\",\"description\":\"You can recreate qmail's queue by following the steps given below, but while recreating all the current messages will be removed from the queue and cannot be restored. So it is better to take backup of messages before starting. Steps: 1. log into server and stop qmail #\\\/etc\\\/init.d\\\/qmail stop 2. cd \\\/var\\\/qmail\\\/queue 3. rm -rf\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/how-to-recreate-qmails-queue\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/#author\"},\"datePublished\":\"2011-04-28T00:20:38-06:00\",\"dateModified\":\"2018-10-04T05:39:01-06:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/\",\"name\":\"Server Management Tips\",\"description\":\"SupportPRO Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>How to recreate qmail`s queue: | Server Management Tips<\/title>\n\n","aioseo_head_json":{"title":"How to recreate qmail`s queue: | Server Management Tips","description":"You can recreate qmail's queue by following the steps given below, but while recreating all the current messages will be removed from the queue and cannot be restored. So it is better to take backup of messages before starting. Steps: 1. log into server and stop qmail #\/etc\/init.d\/qmail stop 2. cd \/var\/qmail\/queue 3. rm -rf","canonical_url":"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/#article","name":"How to recreate qmail`s queue: | Server Management Tips","headline":"How to recreate qmail`s queue:","author":{"@id":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/#author"},"publisher":{"@id":"https:\/\/www.supportpro.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b.png","@id":"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/#articleImage"},"datePublished":"2011-04-28T00:20:38-06:00","dateModified":"2018-10-04T05:39:01-06:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/#webpage"},"isPartOf":{"@id":"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/#webpage"},"articleSection":"Technical Articles"},{"@type":"BreadcrumbList","@id":"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.supportpro.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/technical-articles\/#listItem","name":"Technical Articles"}},{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/technical-articles\/#listItem","position":2,"name":"Technical Articles","item":"https:\/\/www.supportpro.com\/blog\/category\/technical-articles\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/#listItem","name":"How to recreate qmail`s queue:"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/#listItem","position":3,"name":"How to recreate qmail`s queue:","previousItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/technical-articles\/#listItem","name":"Technical Articles"}}]},{"@type":"Organization","@id":"https:\/\/www.supportpro.com\/blog\/#organization","name":"SupportPRO","description":"SupportPRO Blog","url":"https:\/\/www.supportpro.com\/blog\/","telephone":"+18476076123"},{"@type":"Person","@id":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/#author","url":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/","name":"SupportPRO Admin","image":{"@type":"ImageObject","@id":"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/13d2f63048d631e03a432375448be5eb7861069df4fef10f0cb1c7b36554c225?s=96&d=mm&r=g","width":96,"height":96,"caption":"SupportPRO Admin"}},{"@type":"WebPage","@id":"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/#webpage","url":"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/","name":"How to recreate qmail`s queue: | Server Management Tips","description":"You can recreate qmail's queue by following the steps given below, but while recreating all the current messages will be removed from the queue and cannot be restored. So it is better to take backup of messages before starting. Steps: 1. log into server and stop qmail #\/etc\/init.d\/qmail stop 2. cd \/var\/qmail\/queue 3. rm -rf","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.supportpro.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/#breadcrumblist"},"author":{"@id":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/#author"},"creator":{"@id":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/#author"},"datePublished":"2011-04-28T00:20:38-06:00","dateModified":"2018-10-04T05:39:01-06:00"},{"@type":"WebSite","@id":"https:\/\/www.supportpro.com\/blog\/#website","url":"https:\/\/www.supportpro.com\/blog\/","name":"Server Management Tips","description":"SupportPRO Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.supportpro.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Server Management Tips | SupportPRO Blog","og:type":"article","og:title":"How to recreate qmail`s queue: | Server Management Tips","og:description":"You can recreate qmail's queue by following the steps given below, but while recreating all the current messages will be removed from the queue and cannot be restored. So it is better to take backup of messages before starting. Steps: 1. log into server and stop qmail #\/etc\/init.d\/qmail stop 2. cd \/var\/qmail\/queue 3. rm -rf","og:url":"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/","article:published_time":"2011-04-28T06:20:38+00:00","article:modified_time":"2018-10-04T11:39:01+00:00","twitter:card":"summary","twitter:title":"How to recreate qmail`s queue: | Server Management Tips","twitter:description":"You can recreate qmail's queue by following the steps given below, but while recreating all the current messages will be removed from the queue and cannot be restored. So it is better to take backup of messages before starting. Steps: 1. log into server and stop qmail #\/etc\/init.d\/qmail stop 2. cd \/var\/qmail\/queue 3. rm -rf"},"aioseo_meta_data":{"post_id":"492","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-06-17 12:45:01","breadcrumb_settings":null,"limit_modified_date":false,"open_ai":null,"ai":null,"created":"2021-12-10 16:14:49","updated":"2026-06-30 23:27:14"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.supportpro.com\/blog\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.supportpro.com\/blog\/category\/technical-articles\/\" title=\"Technical Articles\">Technical Articles<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tHow to recreate qmail`s queue:\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.supportpro.com\/blog"},{"label":"Technical Articles","link":"https:\/\/www.supportpro.com\/blog\/category\/technical-articles\/"},{"label":"How to recreate qmail`s queue:","link":"https:\/\/www.supportpro.com\/blog\/how-to-recreate-qmails-queue\/"}],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=492"}],"version-history":[{"count":4,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/492\/revisions"}],"predecessor-version":[{"id":3313,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/492\/revisions\/3313"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}