<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — Remove old disabled or removed maildirs (again)]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4377.xml" />
	<updated>2013-01-24T15:52:38Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4377-remove-old-disabled-or-removed-maildirs-again.html</id>
		<entry>
			<title type="html"><![CDATA[Re: Remove old disabled or removed maildirs (again)]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post20010.html#p20010" />
			<content type="html"><![CDATA[<p>Well, then we&#039;re thinking about the same approach.</p><p>Logging maildir path before or after deleting user, then delete the mailbox with &#039;rm&#039; with a cron job.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2013-01-24T15:52:38Z</updated>
			<id>http://www.iredmail.org/forum/post20010.html#p20010</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remove old disabled or removed maildirs (again)]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19983.html#p19983" />
			<content type="html"><![CDATA[<p>Currently i am working on a different approach. I want to make a trigger &quot;BEFORE DELETE&quot; of the mailbox table and log the data i need into another table.<br />A cron job, a database view and little shell script does the rest an deletes the directories.</p><p>What do you think about this?</p>]]></content>
			<author>
				<name><![CDATA[hannes.pichler]]></name>
				<uri>http://www.iredmail.org/forum/user32445.html</uri>
			</author>
			<updated>2013-01-22T10:44:25Z</updated>
			<id>http://www.iredmail.org/forum/post19983.html#p19983</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remove old disabled or removed maildirs (again)]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19931.html#p19931" />
			<content type="html"><![CDATA[<p><img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>and the deletion date please, for delayed directory cleanup</p>]]></content>
			<author>
				<name><![CDATA[hannes.pichler]]></name>
				<uri>http://www.iredmail.org/forum/user32445.html</uri>
			</author>
			<updated>2013-01-18T08:02:00Z</updated>
			<id>http://www.iredmail.org/forum/post19931.html#p19931</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remove old disabled or removed maildirs (again)]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19925.html#p19925" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>hannes.pichler wrote:</cite><blockquote><p>If I may be permitted a proposal.</p></blockquote></div><p>Feature requests, feedback, suggestions are always welcome. <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>My plan is, store maildir path in SQL database while deleting a user.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2013-01-17T15:18:01Z</updated>
			<id>http://www.iredmail.org/forum/post19925.html#p19925</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remove old disabled or removed maildirs (again)]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19923.html#p19923" />
			<content type="html"><![CDATA[<p>thank you for the fast answer. </p><p>If I may be permitted a proposal. <br />Write the full path to maildir with delation date along with the log entry in a database table. <br />Then the delete script should be easy <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Have a nice day!</p>]]></content>
			<author>
				<name><![CDATA[hannes.pichler]]></name>
				<uri>http://www.iredmail.org/forum/user32445.html</uri>
			</author>
			<updated>2013-01-17T14:21:01Z</updated>
			<id>http://www.iredmail.org/forum/post19923.html#p19923</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remove old disabled or removed maildirs (again)]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19915.html#p19915" />
			<content type="html"><![CDATA[<p>Sorry, i don&#039;t get this kind of script.<br />iRedAdmin-Pro should log maildir path of deleted mail accounts, but it&#039;s not yet implemented. Will try to achieve it.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2013-01-17T12:45:55Z</updated>
			<id>http://www.iredmail.org/forum/post19915.html#p19915</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Remove old disabled or removed maildirs (again)]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post19908.html#p19908" />
			<content type="html"><![CDATA[<p>==== Required information ====<br />- iRedMail version:&nbsp; iRedMail-0.8.3 / iRedAdmin-Pro-MySQL-1.5.1<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL<br />- Linux/BSD distribution name and version: Centos 6.3<br />- Related log if you&#039;re reporting an issue:<br />==== </p><p>Hi guys,</p><p>somone have a crontab script that cleans deleted or disabled HASHED maildirs after for example 30 days?<br />I have searched the forum for a long time and didnt find anything.</p><p>Are there other regular maintenance to do on database or filesystem rather than take backups?</p><p>Thank you!</p>]]></content>
			<author>
				<name><![CDATA[hannes.pichler]]></name>
				<uri>http://www.iredmail.org/forum/user32445.html</uri>
			</author>
			<updated>2013-01-17T10:05:38Z</updated>
			<id>http://www.iredmail.org/forum/post19908.html#p19908</id>
		</entry>
</feed>
