install_update_dovecot.sh: Cconfigure stats service (10-master.conf).
This commit is contained in:
parent
98b68a68b0
commit
a831ea065f
@ -2964,6 +2964,41 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
## - configure stats service (10-master.conf)
|
||||||
|
## -
|
||||||
|
echononl "\tConfigure stats service (10-master.conf)"
|
||||||
|
cat <<EOF >> /usr/local/dovecot-${_version}/etc/dovecot/conf.d/10-master.conf
|
||||||
|
|
||||||
|
service stats {
|
||||||
|
|
||||||
|
fifo_listener stats-mail {
|
||||||
|
user = vmail
|
||||||
|
group = dovecot
|
||||||
|
mode = 0660
|
||||||
|
}
|
||||||
|
|
||||||
|
unix_listener stats-reader {
|
||||||
|
user = vmail
|
||||||
|
group = dovecot
|
||||||
|
mode = 0660
|
||||||
|
}
|
||||||
|
|
||||||
|
unix_listener stats-writer {
|
||||||
|
user = vmail
|
||||||
|
group = dovecot
|
||||||
|
mode = 0660
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
if [[ $? -gt 0 ]] ; then
|
||||||
|
echo -e "$rc_failed"
|
||||||
|
error "Configure stats service (10-master.conf) failed!"
|
||||||
|
else
|
||||||
|
echo -e "$rc_done"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## - configure post-login service (10-master.conf)
|
## - configure post-login service (10-master.conf)
|
||||||
## -
|
## -
|
||||||
## - see also: https://wiki.dovecot.org/PostLoginScripting
|
## - see also: https://wiki.dovecot.org/PostLoginScripting
|
||||||
|
Loading…
Reference in New Issue
Block a user