После обновления Dovecot в логах postfix-a maillog начала проскакивать ошибка вида:
Error: net_connect_unix(/var/run/dovecot//stats-writer) failed: Permission denied
Читаем на сайте:
https://wiki2.dovecot.org/Upgrading/2.3
service stats {
unix_listener stats-writer {
user = vmail
#mode = 0666 # Use only if nothing else works. It's a bit insecure, since it allows any user in the system to mess up with the statistics.
}
}
где vmail – пользователь под которым работает Dovecot, у меня это nobody. Дописываем в конец файла и рестартуем сервис:
# ee /usr/local/etc/dovecot/conf.d/10-master.conf ## NEW service stats { unix_listener stats-writer { user = nobody #mode = 0666 # Use only if nothing else works. It's a bit insecure, since it allows any user in the system to mess up with the statistics. } } ##