<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title>Parallels knowledgebase (KB)</title>
<link>http://kb.parallels.com/</link>
<description>Parallels knowledgebase (KB)</description>
<language>en</language>
<copyright>Copyright 2008 Parallels</copyright>
<pubDate>Wed, 10 Sep 2008 00:00:00 +0600</pubDate>
<lastBuildDate>Wed, 10 Sep 2008 00:00:00 +0600</lastBuildDate>
<webMaster>rt-team@parallels.com</webMaster>

<item>
<title><![CDATA[How do I rebuild qmail queue if it is damaged or consists of a lot of spam messages?]]></title>
<link>http://kb.parallels.com/en/252</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">How do I rebuild qmail queue if it is damaged or consists of a lot of spam messages?</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 252&nbsp;</div>
					<div>Last Review: Mar,5 2009</div>
					<tr>
						<td>Author: </td>
						<td>Vitaly Malakhov</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>Vitaly Malakhov</td>
					</tr>
					<strong>APPLIES TO:</strong>
					<div class="articleApplies">
						<ul>
							<li>Plesk 8.x for Linux/Unix</li>
							<li>Plesk 7.5.x Reloaded</li>
						</ul>
					</div>
				</div><!-- articleProperty -->
			</div></div></div></div></div><!-- frame -->

			<div class="article-internal-flag"></div>

			<div id="article-content">
				<div class="article-part">
					<h2>Resolution</h2>
					<p>This instruction is written for RPM-based systems (RedHat, Fedora, CentOS, etc...).</p><p>Please perform the following steps to recreate Qmail`s queue.</p><p><strong><font size="2">Attention!</font></strong></p><p><strong><font size="2" color="#ff0000">All current messages will be removed from the queue in this case and cannot be restored.</font></strong></p><p>1. Stop Qmail and xinetd.</p><p><strong><span style="font-weight: normal;"><div class="commandline"><code>/etc/init.d/qmail stop</span><br style="font-weight: normal;" /><span style="font-weight: normal;">/etc/init.d/xinetd stop</code></div></span><br style="font-weight: normal;" /><br /></strong></p>2. Move current queue to another location.<br /><strong><br /><span style="font-weight: normal;"><div class="commandline"><code> mv /var/qmail/queue  /var/qmail/queue_old</code></div></span><br /></strong><p>3 Reinstall '<span style="font-weight: bold;">psa-qmail</span>' RPM to recreate qmail queue structure with the command like:</p><p><div class="commandline"><code>rpm -Uvh --force psa-qmail....</code></div></p><p>4.(Optional).Reinstall <span style="font-weight: bold;">drweb-qmail</span> RPM if you use DrWeb antivirus feature which comes with Plesk.</p><p><div class="commandline"><code>rpm -Uvh --force drweb-qmail....</code></div></p><p>5.Start Qmail and xinetd:</p><p><div class="commandline"><code>/etc/init.d/qmail start<br /><strong style="font-weight: normal;">/etc/init.d/xinetd start</strong></code></div></p>Note: you should get the both <span style="font-weight: bold;">psa-qmail</span> and <span style="font-weight: bold;">drweb-qmail </span>RPMs from the same Plesk version distributive which is installed on the server.<br />You can obtain current psa-qmail, drweb-qmail  RPMs and Plesk build versions  by running the following commands on Linux systems:<br /><br /><div class="commandline"><code><br />rpm -q psa-qmail<br />rpm -q drweb-qmail<br />rpm -q psa<br /></code></div><br /><br />
				</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=252&ArticleLanguage=en&Product=&Category="><img src="http://kb.parallels.com/images/mail.png" width="15" height="15" alt="Subscription for changes to this article"></a>
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=252&ArticleLanguage=en&Product=&Category=">Subscription for changes to this article</a>

<script type="text/javascript">

$(document).ready(function() {
	$('#SubscriptionLink24Article a').each(function(){
		$(this).click(function(event) {
			event.preventDefault();
			MainPageContentHide();
			$('#subscription').html('');
			$.get('/Stuff/Subscription', {
													'Type' : 'Article',
													'ArticleID' : '252',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





	</div><!-- kb -->

</div><!-- article -->


]]></description>
<author>Vitaly Malakhov</author>
<guid isPermaLink="false">99 LastUpdated: 2009-03-05 12:38:27</guid>
<pubDate>2008-10-06 09:10:23</pubDate>
</item>
</channel>
</rss>



