{"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":[],"_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}]}}