[Dovecot] Quota warnings not being sent

2011-12-14 Thread Nikolaos Milas
Hello, I am running dovecot-2.0.13-1_128.el5 x86_64 RPM on CentOS 5.7 with the config shown below. All accounts are virtual, hosted on LDAP Server. My problem is that the quota warning mail is not sent as expected. For example, in the logs I get: Dec 12 08:42:40 vmail dovecot:

Re: [Dovecot] Quota warnings not being sent

2011-12-14 Thread Thomas Leuxner
On Wed, Dec 14, 2011 at 12:47:05PM +0200, Nikolaos Milas wrote: For example, in the logs I get: Dec 12 08:42:40 vmail dovecot: lda(imaptester): Error: quota: net_connect_unix(/var/run/dovecot/quota-warning) failed: Permission denied (euid=500(vmail) egid=500(vmail) missing +r perm:

Re: [Dovecot] Quota warnings not being sent

2011-12-14 Thread Nikolaos Milas
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

Re: [Dovecot] Quota warnings not being sent

2011-12-14 Thread Patrick Westenberg
Nikolaos Milas schrieb: 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 { } } This is what works for me: service quota-warning { executable = script

Re: [Dovecot] Quota warnings not being sent

2011-12-14 Thread Leonardo Rodrigues
Em 14/12/11 10:24, Patrick Westenberg escreveu: This is what works for me: service quota-warning { executable = script /usr/local/etc/dovecot/quota-warning.sh unix_listener quota-warning { user = vmail } user = vmail } My configurations are similar to Patrick ones and works

Re: [Dovecot] Quota warnings not being sent

2011-12-14 Thread Thomas Leuxner
On Wed, Dec 14, 2011 at 10:33:14AM -0200, Leonardo Rodrigues wrote: service quota-warning { executable = script /etc/dovecot/aviso-quota.sh user = dovecot unix_listener quota-warning { user = mail } } Right, looks like the Wiki Example needs to be revamped... [ 90-quota.conf

Re: [Dovecot] Quota warnings not being sent

2011-12-14 Thread Nikolaos Milas
Thank you all for your help. Changing from: unix_listener quota-warning { } to: unix_listener quota-warning { user = vmail } solved the problem! Now my quota warning message is being sent successfully. I think I'll now open a new thread on how to send rich/UTF-8 mail

Re: [Dovecot] Quota warnings not being sent

2011-12-14 Thread Leonardo Rodrigues
Em 14/12/11 15:52, Nikolaos Milas escreveu: I think I'll now open a new thread on how to send rich/UTF-8 mail warnings. Probably you just need to format/encode it properly ... no big deal on that. -- Atenciosamente / Sincerily, Leonardo Rodrigues Solutti