I forgot to cc the list in my subsequent question in this thread, so
that question and Timo's reply has not been included in the mailing list.
I am submitting for thread completeness, thanking Timo for his
invaluable help.
Nick
On 22/2/2011 6:23 μμ, Timo Sirainen wrote:
On 22.2.2011, at 18.11, Nikolaos Milas wrote:
I added dn and dnpass and now everything appears to be running smoothly. I
checked, and the maildirsize file gets updated according to the quota value we
set in LDAP.
Can you also please clarify: When the default policy is to offer to users some
storage space (say 4G) and some additional for Trash (say 100M), and then we
define (over LDAP) a different storage space for a particular user (for example
1M), then:
1. This user will also "inherit" a 100M Trash from the default policy
or not (in this example 1+100M)?
Yes.
Can we change this (also define
per user Trash size)?
Yes, you can also have ldap return quota_rule2 to override it. Or instead of a
hard coded limit, you could set Trash's size to e.g. 10% of the default limit
(quota_rule2 = Trash:storage=10%%) so you don't have to return it from ldap.
2. If we define quota_warning (say 75%), the value will apply to the
total of (MainStorage + Trash (here 101M)) or to MainStorage only
(1M)?
MainStorage = 1M.
I'm asking because I reduced the storage space to only 50K for a test account
(for experimenting), and sent various emails (over smtp) to that mailbox, but I
saw no warnings or mailbox locking when the mailbox was over-quota or full.
Locking? You mean it allowed user to exceed quota? mail_debug=yes could log
something useful about what's going on.