On 14/12/2011 1:06 μμ, Thomas Leuxner wrote:
I'd guess setting the user to 'vmail' here solves the problem
Thank you for the reply.
No, this did not solve the problem. I changed to vmail
service quota-warning {
executable = script /opt/mail1.sh
user = vmail
unix_listener quota-warning {
}
}
and did a full restart:
# service dovecot restart
Again:
Dec 14 13:30:11 vmail dovecot: lda(tester): Error: quota:
net_connect_unix(/var/run/dovecot/quota-warning) failed: Permission
denied (euid=500(vmail) egid=500(v
mail) missing +r perm: /var/run/dovecot/quota-warning, euid is not dir
owner)
And still, the socket is owned by root: # ls -la /var/run/dovecot/ total 32 drwxr-xr-x 4 root dovecot 4096 Dec 14 13:20 . drwxr-xr-x 23 root root 4096 Dec 14 13:27 .. ... srw------- 1 root root 0 Dec 14 13:20 quota-warning Any suggestions? Thanks, Nick
smime.p7s
Description: S/MIME Cryptographic Signature
