[Dovecot] Quota ignore subfolders
Héctor Moreno Blanco
hmoreno at gmv.com
Wed Dec 15 13:47:41 EET 2010
Hello,
We have dovecot 2.0.8 in our servers with Scientific Linux SL release 5.2 (Boron).
We want to ignore a mailbox and its child mailboxes.
A few weeks ago Timo told me to do this in dovecot.conf, create a new namespace which will be the quotaless namespace and edit the quota:
namespace {
inbox = yes
location =
prefix = INBOX.
separator = .
type = private
}
namespace {
location = maildir:%h/Maildir/carpeta1
prefix = carpeta1.
separator = .
type = private
}
plugin {
quota = maildir:carpeta1:ns=INBOX.
quota_warning = storage=75%% /usr/local/dovecot/bin/quota-warning.sh 75
quota_warning2 = storage=90%% /usr/local/dovecot/bin/quota-warning.sh 90
}
We also have passdb and userdb with ldap, with dovecot-ldap.conf:
pass_filter = (&(objectClass=qmailUser)(uid=%u)(accountActive=TRUE))
pass_attrs = uid=user,userPassword=password, mailQuotaSize=quota_rule=*:bytes=%$
user_attrs = mailMessageStore=home, mailQuotaSize=quota_rule=*:bytes=%$
user_filter = (&(objectClass=qmailUser)(|(mailAlternateAddress=%u)(mail=%u)(uid=%u))(accountActive=TRUE))
We also tried the easy solution which was to indicate a quota rule in order to ignore the mailbox but with no success. It still get every mailbox to calculate the quota.
We set mail_debug=yes to see if there was any error, but everything seemed to be ok.
Any suggestions?
Thank you very much in advanced.
Héctor Moreno Blanco.
______________________
This message including any attachments may contain confidential
information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed.
Any unauthorised copy, disclosure or distribution of this message
is strictly forbidden. If you have received this transmission in error,
please notify the sender immediately and delete it.
______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial
en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando
prohibida su divulgacion copia o distribucion a terceros sin la
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
More information about the dovecot
mailing list