Applicable to:
- Plesk for Linux
Symptoms
-
The following error can be observed in
/var/log/maillog
:CONFIG_TEXT: postfix/pipe[11470]: 0FBA25698AB: to=jdoe@example.com, relay=plesk_virtual, delay=0.17, delays=0.13/0/0/0.03, dsn=2.0.0, status=sent (delivered via plesk_virtual service (lda(jdoe@example.com,)Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied))
-
There is no custom configuration for Dovecot stats service:
# grep -r stats /etc/dovecot/
# << empty output
Cause
Product issue:
-
#PPPM-10408 "The Dovecot LDA service no longer shows warnings that it cannot report statistics under popuser:popuser in Postfix."
Fixed in:- Plesk Obsidian 04 June 2019 (fixed as PPP-41828, Linux)
Resolution
Workaround
If update is not possible for some reason you may try the following
-
Connect to the server via SSH.
-
Create a file
/etc/dovecot/conf.d/25-custom-stats.conf
with the content below:CONFIG_TEXT: service stats {
unix_listener stats-reader {
user = root
group = popuser
mode = 0600
}
unix_listener stats-writer {
user = root
group = popuser
mode = 0660
}
}Note: File prefixes between 10 & 20 and 90 to 95 (inclusive) are reserved for Plesk. Please do not use them or edit files with these prefixes.
-
Restart Dovecot service:
# systemctl restart dovecot
Comments
0 comments
Please sign in to leave a comment.