14 Dec
2011
14 Dec
'11
3:02 p.m.
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 ] matches the real life examples posted:
Example quota-warning service. The unix listener's permissions should
be
set in a way that mail processes can connect to it. Below example
assumes
that mail processes run as vmail user. If you use mode=0666, all
system users
can generate quota warnings to anyone.
#service quota-warning {
executable = script /usr/local/bin/quota-warning.sh
user = dovecot
unix_listener quota-warning {
user = vmail
}
#}