micah anderson <micah@riseup.net> writes:
On Wed, 16 Nov 2011 11:09:12 -0500, micah anderson <micah@riseup.net> wrote:
On Tue, 15 Nov 2011 22:27:20 +0200, Timo Sirainen <tss@iki.fi> wrote:
On Thu, 2011-11-10 at 13:59 -0500, Micah Anderson wrote:
I really like the feature where you can define quota rules with percents which trigger off of the default values[0] (so you can set the Trash to allow for 10% more of the user's quota for example).
What I would really love in dovecot would be for the ability to configure a quota rule for dovecot-lda. I would like to configure things so we don't bounce emails for users until they are well over quota, the IMAP quota plugin is a really great way to notify people that they are over quota because it fails to write to other folders.... that should be enough to get people's attention that they need to deal with things, but bouncing is harsh.
You can give LDA-specific quota settings. Like maybe:
protocol lda { plugin { quota_rule2 = INBOX:storage=200% } }
I just tried doing this, and I started bouncing mail for everyone because they were over quota (even when they arent), so I am clearly missing something in how I have it configured. This is what I have:
Solved, thanks to tss on irc... My problem was the dovecot-lda invocation was not passing the -d parameter, so no userdb quota rules were being applied.
micah