Le 22/07/2025 18:32, Matus UHLAR - fantomas via Postfix-users a écrit :
On 22.07.25 15:40, Xavier Humbert via Postfix-users wrote:
From: Xavier Humbert via Postfix-users <postfix-users@postfix.org>
I recently experienced strange errors in mailq :
[root@numenor ~]# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
56BF31C9391 2320 Fri Jul 18 03:42:33 i...@quora.com
(temporary failure. Command output: lda(postfix): Error:
net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission
denied)
post...@groumpf.org
All other messages are getting in without error.
Furthermore these are probably spam which shouldn't get in, since
postfix@ is not in the authorized recipients
When it happens, it is always spam for postfix@
Any idea ?
this is common issue on dovecot's side. Delivery agent needs
permission to write to dovecot sockets:
https://forums.freebsd.org/threads/mail-dovecot-stats-writer-failed-permission-denied.69723/
https://dovecot.org/list/dovecot/2022-January/123745.html
Hi, Mathus
Here is the relevant part of dovecot config :
service stats {
unix_listener stats-reader {
user = $default_internal_user
group = $default_internal_user
mode = 0660
}
unix_listener stats-writer {
user = $default_internal_user
group = $default_internal_user
mode = 0660
}
}
Xavier
--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
https://www.amdh.fr
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org