<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — deleting certain e-mail]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic90.xml" />
	<updated>2009-06-24T01:12:28Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic90-deleting-certain-email.html</id>
		<entry>
			<title type="html"><![CDATA[Re: deleting certain e-mail]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post434.html#p434" />
			<content type="html"><![CDATA[<p>Try this:<br /></p><div class="codebox"><pre><code>$ grep -lr &#039;Mail delivery failed: returning&#039; /home/vmail/birovits.md/office/cur/ | xargs rm -f {}</code></pre></div><p>Warning: Use &#039;head/cat/tail&#039; or whatever command you like to confirm that is the mail you want to delete, it&#039;s not recoverable.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2009-06-24T01:12:28Z</updated>
			<id>http://www.iredmail.org/forum/post434.html#p434</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[deleting certain e-mail]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post432.html#p432" />
			<content type="html"><![CDATA[<p>Hello. I have a problem I have a mailbox that received about 60000 messages and a big part of them is bounce messages is there a way to delete all of them without deleting other messages....I started with finding all the files that contain a certain string</p><p>[root@mail]# grep -lr &#039;Mail delivery failed: returning&#039; /home/vmail/birovits.md/office/cur/</p><p>but i don&#039;t know how to delete the list of files that is given. can anyone help?</p>]]></content>
			<author>
				<name><![CDATA[LordZ]]></name>
				<uri>http://www.iredmail.org/forum/user26.html</uri>
			</author>
			<updated>2009-06-23T22:47:18Z</updated>
			<id>http://www.iredmail.org/forum/post432.html#p432</id>
		</entry>
</feed>
