<?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>tom's blog &#187; queue</title>
	<atom:link href="http://tom.knaupp.com/tag/queue/feed/" rel="self" type="application/rss+xml" />
	<link>http://tom.knaupp.com</link>
	<description>free software, security and a bunch of my strange thoughts</description>
	<lastBuildDate>Tue, 23 Mar 2010 22:38:01 +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>exim / remove (all) frozen messages from queue</title>
		<link>http://tom.knaupp.com/2007/03/22/exim-remove-all-frozen-messages/</link>
		<comments>http://tom.knaupp.com/2007/03/22/exim-remove-all-frozen-messages/#comments</comments>
		<pubDate>Thu, 22 Mar 2007 18:03:35 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[Mailserver]]></category>
		<category><![CDATA[Memento]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[queue]]></category>

		<guid isPermaLink="false">http://tom.knaupp.com/?p=30</guid>
		<description><![CDATA[Just a quick &#38; dirty hack to delete frozen messages for a single / some recipient(s)&#8230; #!/bin/bash # # what are we searching for? # (part of the email-address) SEARCH="anyrecipient.tld" # # exim-bin EXIM=`which exim` # # execute (frozen messages only).. $EXIM -Mrm $(mailq &#124; grep $SEARCH -B1 &#124; grep frozen &#124;cut -c 11-27) Thanks [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick &amp; dirty hack to delete frozen messages for a single / some recipient(s)&#8230;<br />
<br />
<code>#!/bin/bash<br />
#<br />
# what are we searching for?<br />
# (part of the email-address)<br />
SEARCH="anyrecipient.tld"<br />
#<br />
# exim-bin<br />
EXIM=`which exim`<br />
#<br />
# execute (frozen messages only)..<br />
$EXIM -Mrm $(mailq | grep $SEARCH -B1 | grep frozen |cut -c 11-27)</code><br />
<br />
Thanks to <a href="http://tom.knaupp.com/?p=30#comment-5">Mark</a> -&gt; this can be done a lot of easier if you want to kill <strong>all</strong> frozen messages:<br />
<br />
<code>exiqgrep -z -i | xargs exim -Mrm</code><br />
<br />
If you want to do this only <strong>for some</strong> domains / email-addresses, use the first example.</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.knaupp.com/2007/03/22/exim-remove-all-frozen-messages/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
