On 28.10.2010, at 13.38, Patrick Westenberg wrote:

> I just recognized that my dovecot forgets the quota for a mailbox.
> This is what the maildirsize looks like:

mdbox doesn't work with Maildir++ quota, you need to use dict quota with e.g. 
file backend.

> Moreover, my quota warning script doesn´t work because dovecot doesn´t
> recognize my specified folder. I specified 
> /usr/local/etc/dovecot/quota-warning.sh but the log shows that dovecot looks 
> somewhere else:
> 
> Error: quota: connect(/usr/local/var/run/dovecot/quota-warning) failed: 
> Permission denied

You need to give enough permissions for that.

> mail_uid = vmail
..
> service quota-warning {
>  executable = script /usr/local/etc/dovecot/quota-warning.sh
>  user = vmail

unix_listener quota-warning {
  user = vmail
}

> }

You should upgrade to v2.0.6 in any case. It'll also give you better error 
messages.

Reply via email to