[Dovecot] question on quota configuration on 2.0.5

Leonardo Rodrigues leolistas at solutti.com.br
Sun Oct 3 22:09:32 EEST 2010


     Hi,

     On dovecot 1.2 i had the following configuration on my 
dovecot-sql.conf file:

password_query = select endereco as user, password, '/var/spool/mail/%u' 
as userdb_home, 'maildir:/var/spool/mail/%u' as userdb_mail, 8 as 
userdb_uid, 12 as userdb_gid, concat('*:storage=', quota) as 
userdb_quota_rule, 'Trash:storage=100M' as userdb_quota_rule2 from 
emails where endereco = '%u' and ativa = '1'

     special attention to

'Trash:storage=100M' as userdb_quota_rule2

     after migrating to 2.0.5, i got this warning on the logs:

Oct  3 16:06:41 ns2 dovecot: imap(user at domain.com), rip=127.0.0.1, 
lip=127.0.0.1: Warning: quota root User quota rule Trash:storage=100M: 
obsolete configuration for rule 'storage=100M' should be changed to 
'storage=+100M'
Oct  3 16:08:09 ns2 dovecot: imap(user at domain.com), rip=127.0.0.1, 
lip=127.0.0.1: Error: quota: Unknown namespace: Trash



     about changing 100M to +100M, that's OK, no problem .... but even 
after changing that, i still keep getting the 'unknown namespace' message.

     question: what's the correct way of doing this configuration on 
dovecot 2.0 ? The idea of this configuration is to give plus 100M of the 
user's quota on the Trash folder, thus avoiding problems with out 
webmail which copies messages to trash before erasing from the actual 
folder.





-- 


	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia
	http://www.solutti.com.br

	Minha armadilha de SPAM, NÃO mandem email
	gertrudes at solutti.com.br
	My SPAMTRAP, do not email it






More information about the dovecot mailing list