<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RedHatVN Network &#187; exim remove queue</title>
	<atom:link href="http://redhatvn.net/tag/exim-remove-queue/feed" rel="self" type="application/rss+xml" />
	<link>http://redhatvn.net</link>
	<description>Shared Linux problems</description>
	<lastBuildDate>Tue, 07 Sep 2010 08:08:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Delete Frozen Emails</title>
		<link>http://redhatvn.net/delete-frozen-emails</link>
		<comments>http://redhatvn.net/delete-frozen-emails#comments</comments>
		<pubDate>Fri, 25 Dec 2009 06:00:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Directadmin]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[exim remove queue]]></category>
		<category><![CDATA[mail server]]></category>

		<guid isPermaLink="false">http://redhatvn.net/?p=975</guid>
		<description><![CDATA[Howto check number of emails in the mail queue: exim -bpc To check the email ID, sender and receiver of the each email: exim -bp &#124; more To delete frozen emails from the mail queue, execute: exim -bp &#124; grep ‘frozen’ &#124; awk ‘{print $3}’ &#124; xargs exim -Mrm similarly, to delete emails sent using [...]]]></description>
			<content:encoded><![CDATA[<p>Howto check <strong>number of emails in the mail queue</strong>:</p>
<blockquote><p><strong><strong><code>exim -bpc</code></strong></strong></p></blockquote>
<p>To check the <strong>email ID, sender and receiver of the each email</strong>:</p>
<blockquote><p><strong><code>exim -bp | more</code></strong></p></blockquote>
<p>To <strong>delete frozen emails</strong> from the mail queue, execute:</p>
<blockquote><p><strong><code>exim -bp | grep ‘frozen’ | awk ‘{print $3}’ | xargs exim -Mrm</code></strong></p></blockquote>
<p>similarly, to delete emails sent using a script’</p>
<blockquote><p><strong><code>exim -bp | grep ‘&lt;&gt;’ | awk ‘{print $3}’ | xargs exim -Mrm</code></strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://redhatvn.net/delete-frozen-emails/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Exim Remove All messages From the Mail Queue</title>
		<link>http://redhatvn.net/exim-remove-all-messages-from-the-mail-queue</link>
		<comments>http://redhatvn.net/exim-remove-all-messages-from-the-mail-queue#comments</comments>
		<pubDate>Thu, 27 Aug 2009 08:50:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Directadmin]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[exim remove queue]]></category>

		<guid isPermaLink="false">http://redhatvn.net/?p=251</guid>
		<description><![CDATA[Question: I&#8217;m using Exim mail server under CentOS Linux. How do I remove all messages from the Exim mail queue using a shell prompt? Answer: Exim is a mail transfer agent (MTA) used on Unix-like operating systems. It aims to be a general and flexible mailer with extensive facilities for checking incoming e-mail. To print [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;">Question:</span> I&#8217;m using Exim mail server under CentOS Linux. How do I remove all messages from the Exim mail queue using a shell prompt?</p>
<p><span style="color: #009900;">Answer:</span> Exim is a mail transfer agent (MTA) used on Unix-like operating systems. It aims to be a general and flexible mailer with extensive facilities for checking incoming e-mail.</p>
<p><span id="more-251"></span></p>
<h2>To print a list of the messages in the queue, enter:</h2>
<p><code># exim -bp</code></p>
<h2>To remove a message from the queue, enter:</h2>
<p><code># exim -Mrm {message-id}</code></p>
<h2>To remove all messages from the queue, enter:</h2>
<p><code># exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | bash</code><br />
<a href="http://www.cyberciti.biz/faq/exim-remove-all-messages-from-the-mail-queue/#comment-39266">Dallas Marlow</a>, suggested following clean command:<br />
<code># exim -bp | exiqgrep -i | xargs exim -Mrm</code></p>
<h3>Further readings:</h3>
<ul>
<li>man pages awk, exim</li>
<li><a href="http://www.exim.org/docs.html">Exim documentation</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://redhatvn.net/exim-remove-all-messages-from-the-mail-queue/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->