<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.iredmail.org/wiki/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>IRedMail/FAQ/Ignore.Trash.Folder.in.Quota - Revision history</title>
		<link>http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Ignore.Trash.Folder.in.Quota&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.5</generator>
		<lastBuildDate>Thu, 23 May 2013 11:49:35 GMT</lastBuildDate>
		<item>
			<title>ZhangHuangbin:&amp;#32;Created page with 'Quota_rule is overrode in /etc/dovecot/dovecot-mysql.conf or /etc/dovecot/dovecot-ldap.conf, so please change them instead. If no per-user quota rules found, Dovecot will use 'qu…'</title>
			<link>http://www.iredmail.org/wiki/index.php?title=IRedMail/FAQ/Ignore.Trash.Folder.in.Quota&amp;diff=1595&amp;oldid=prev</link>
			<description>&lt;p&gt;Created page with &amp;#39;Quota_rule is overrode in /etc/dovecot/dovecot-mysql.conf or /etc/dovecot/dovecot-ldap.conf, so please change them instead. If no per-user quota rules found, Dovecot will use &amp;#39;qu…&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Quota_rule is overrode in /etc/dovecot/dovecot-mysql.conf or /etc/dovecot/dovecot-ldap.conf, so please change them instead. If no per-user quota rules found, Dovecot will use 'quota_ruleX' in dovecot.conf.&lt;br /&gt;
&lt;br /&gt;
For example, with OpenLDAP backend, you have /etc/dovecot/dovecot-ldap.conf, update it with 'Trash:ignore' like below:&lt;br /&gt;
{{cfg|dovecot-ldap.conf|&amp;lt;pre&amp;gt;&lt;br /&gt;
user_attrs      = ...,mailQuota=quota_rule=*:bytes=%$,=quota_rule2=Trash:ignore&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
With MySQL backend, update /etc/dovecot/dovecot-mysql.conf:&lt;br /&gt;
{{cfg|dovecot-mysql.conf|&amp;lt;pre&amp;gt;&lt;br /&gt;
user_query = SELECT ... \&lt;br /&gt;
                   CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule \&lt;br /&gt;
                   'Trash:ignore' AS quota_rule2 \&lt;br /&gt;
                   FROM ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;/div&gt;</description>
			<pubDate>Mon, 11 Jul 2011 06:18:12 GMT</pubDate>			<dc:creator>ZhangHuangbin</dc:creator>			<comments>http://www.iredmail.org/wiki/index.php?title=Talk:IRedMail/FAQ/Ignore.Trash.Folder.in.Quota</comments>		</item>
	</channel>
</rss>