<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Removing old deleted mails]]></title>
		<link>http://www.iredmail.org/forum/topic575-removing-old-deleted-mails.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic575.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Removing old deleted mails.]]></description>
		<lastBuildDate>Sat, 23 Jan 2010 14:17:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Removing old deleted mails]]></title>
			<link>http://www.iredmail.org/forum/post2460.html#p2460</link>
			<description><![CDATA[<p>With IMAP you can mark emails as deleted and some email clients will not even show them any more. But the emails are still there and occupy space. Usually there is an option to purge all marked emails but many users do not care. So Michael Weisgerber suggests to run this command frequently via crontab to remove such emails:</p><p>$&gt; find /var/vmail -type f -ctime +7 -name &#039;*,ST&#039; -print0 | xargs -r -0 rm -f</p><p>Dovecot renames all deleted emails so that they get a ,ST added at the end of the filename. Adjust the parameter to -ctime as you like. In this example deleted mails older than 7 days are purged.</p>]]></description>
			<author><![CDATA[null@example.com (yrjc2004)]]></author>
			<pubDate>Sat, 23 Jan 2010 14:17:42 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post2460.html#p2460</guid>
		</item>
	</channel>
</rss>
