[Dovecot] Quota, message is never send?

Gedalya gedalya at gedalya.net
Sat May 12 19:00:01 EEST 2012


On 5/12/2012 11:42 AM, Luuk at dovecot wrote:
> In the log, the following message showed:
> 2012-05-12 17:11:43 imap(luuk): Error: quota:
> net_connect_unix(/var/run/dovecot/quota-warning.sh) failed: No such file
> or directory
>
> I think i have to revert the changes, and retest.....;)

Wiki says: quota_warning = <limit configuration> <quota-warning socket 
name> <parameters>


You define a listening socket in the unix_listener line in the service 
definition, and refer to that socket in your quota_warning plugin 
configuration.

Duane wasn't saying to delete the path, he said to use the socket name. 
So, just quota-warning without the .sh

plugin {
   quota_warning = storage=95%% quota-warning 95 %u
   quota_warning2 = storage=90%% quota-warning 90 %u
   quota_warning3 = storage=10%% quota-warning 10 %u
}

service quota-warning {
   executable = script /usr/local/bin/quota-warning.sh
   unix_listener quota-warning {
     user = dovecot
   }
   user = dovecot
}





More information about the dovecot mailing list