Am 22.01.2013 14:06, schrieb Andreas Oster:
Am 22.01.2013 12:54, schrieb Timo Sirainen:
On 17.1.2013, at 16.58, Andreas Oster aoster@novanetwork.de wrote:
I just saw on important difference in the doc and this configuration:
see http://wiki2.dovecot.org/Quota/Configuration#Quota_for_public_namespaces
the ns=name syntax is for _public_ namespaces only. I just tested it with this setup and every message is counted for both namespaces, if delivered into INBOX or a mailbox of the Archive namespace.
It should work for all namespaces.
plugin { quota = dict:User quota::proxy::quota quota2 = dict:Archive quota:ns=Archive.:proxy::quota
quota = dict:User quota::ns=:proxy::quota quota2 = dict:Archive quota::ns=Archive.:proxy::quota
That should work? Worked at least in latest v2.1 hg.
Hello Timo,
thank you for your reply. I am using dovecot 2.1.7 (Ubuntu 12.10) and have tried to configure a separate quote root for a second private namespace without any success. The only working option is to ignore/disable quota for the second namespace:
} namespace inbox { hidden = no ignore_on_failure = no inbox = yes list = yes location = prefix = separator = / subscriptions = yes type = private }
namespace { hidden = no ignore_on_failure = no inbox = no list = children location = maildir:/var/vmail/archives/%n/Maildir prefix = Archives/ separator = / subscriptions = yes type = private }
plugin { quota = maildir:User quota:ns= quota2 = maildir:Archives quota:ns=Archives/ quota_rule = *:storage=1G quota_rule2 = Trash:storage=+200M quota_rule3 = ns=Archives/:ignore }
If I try to enter something like:
quota_rule3 = ns=Archives/:storage=10G
I will get an error message saying that this is deprecated and needs to be replaced by "+10G".
best regards
Andreas
Hello Timo,
I have created some DEB packages for Ubuntu with dovecot version 2.1.13 but this version shows the same behavior. Do I have to configure quota like Steffen did with:
quota2 = dict:Archive quota::ns=Archive/:proxy::quota
Thank you for your kind help.
best regards
Andreas