[Dovecot] Quota warnings not being sent

Nikolaos Milas nmilas at noa.gr
Wed Dec 14 13:40:19 EET 2011


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5554 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20111214/29bbfe6d/attachment-0004.bin>


More information about the dovecot mailing list