Timo Sirainen schrieb:

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

This behaviour is very weird.
My script is /usr/local/etc/dovecot/quota-warning.sh and after reloading
dovecot generates the file /usr/local/var/run/dovecot/quota-warning
with wrong permissions?

So everytime I have or want to restart dovecot, I have to re-set the
rights for this file?

Reply via email to