{"id":215,"date":"2010-04-01T09:32:44","date_gmt":"2010-04-01T08:32:44","guid":{"rendered":"http:\/\/kb.toderu.ro\/?p=215"},"modified":"2010-04-01T09:32:44","modified_gmt":"2010-04-01T08:32:44","slug":"rebuild-qmail-queue-folders","status":"publish","type":"post","link":"https:\/\/kb.toderu.ro\/?p=215","title":{"rendered":"rebuild qmail queue folders"},"content":{"rendered":"<p>\t\t\t\tHow do I rebuild qmail queue if it is damaged or consists of a lot of spam messages?<br \/>\nArticle ID: 252<br \/>\nLast Review: Mar,5 2009<br \/>\nAuthor: Vitaly Malakhov<br \/>\nLast updated by: Vitaly Malakhov APPLIES TO:<\/p>\n<p>    * Plesk 8.x for Linux\/Unix<br \/>\n    * Plesk 7.5.x Reloaded<\/p>\n<p>Resolution<\/p>\n<p>This instruction is written for RPM-based systems (RedHat, Fedora, CentOS, etc&#8230;).<\/p>\n<p>Please perform the following steps to recreate Qmail`s queue.<\/p>\n<p>Attention!<\/p>\n<p>All current messages will be removed from the queue in this case and cannot be restored.<\/p>\n<p>1. Stop Qmail and xinetd.<\/p>\n<p>\/etc\/init.d\/qmail stop<br \/>\n\/etc\/init.d\/xinetd stop<\/p>\n<p>2. Move current queue to another location.<\/p>\n<p>mv \/var\/qmail\/queue \/var\/qmail\/queue_old<\/p>\n<p>3 Reinstall &#8216;psa-qmail&#8217; RPM to recreate qmail queue structure with the command like:<\/p>\n<p>rpm -Uvh &#8211;force psa-qmail&#8230;.<\/p>\n<p>4.(Optional).Reinstall drweb-qmail RPM if you use DrWeb antivirus feature which comes with Plesk.<\/p>\n<p>rpm -Uvh &#8211;force drweb-qmail&#8230;.<\/p>\n<p>5.Start Qmail and xinetd:<\/p>\n<p>\/etc\/init.d\/qmail start<br \/>\n\/etc\/init.d\/xinetd start<br \/>\nNote: you should get the both psa-qmail and drweb-qmail RPMs from the same Plesk version distributive which is installed on the server.<br \/>\nYou can obtain current psa-qmail, drweb-qmail RPMs and Plesk build versions by running the following commands on Linux systems:<\/p>\n<p>rpm -q psa-qmail<br \/>\nrpm -q drweb-qmail<br \/>\nrpm -q psa<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How do I rebuild qmail queue if it is damaged or consists of a lot of spam messages? Article ID: 252 Last Review: Mar,5 2009 Author: Vitaly Malakhov Last updated by: Vitaly Malakhov APPLIES TO: * Plesk 8.x for Linux\/Unix * Plesk 7.5.x Reloaded Resolution This instruction is written for RPM-based systems (RedHat, Fedora, CentOS, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,11],"tags":[],"class_list":["post-215","post","type-post","status-publish","format-standard","hentry","category-linux","category-plesk"],"_links":{"self":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts\/215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=215"}],"version-history":[{"count":0,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts\/215\/revisions"}],"wp:attachment":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}