Daniel Parthey wrote:
Timo Sirainen wrote:
On 29.6.2012, at 19.21, Daniel Parthey wrote:
Jun 29 15:40:31 10.129.3.249 dovecot: doveadm(user31@domain1.example.org): Error: user user31@domain1.example.org: Error reading configuration: net_connect_unix(/var/run/dovecot/config) failed: Permission denied
I've noticed a similar problem happening somewhat randomly, but I still haven't looked into why exactly it happens. Anyway the attached patch should fix this specific error, but I'm not sure if there isn't another one. Try and let me know? :)
Unfortunately, the problem still persists with dovecot 2.1.8, which already contains the following code:
enum master_service_flags service_flags = MASTER_SERVICE_FLAG_KEEP_CONFIG_OPEN; const char *error; master_service = master_service_init("doveadm", service_flags, &argc, &argv, NULL); if (master_getopt(master_service) > 0) return FATAL_DEFAULT;
The command /usr/bin/doveadm -c /etc/dovecot-director/dovecot-director.conf -D purge -A still generates the following errors after iterating some dozen users:
doveadm(nagios@metaways.de): Error: doveadm server failure doveadm: Error: Failed to iterate through some users
Which information should I provide to help debugging the problem?
The change in 2.1.8 didn't fix it and still does not iterate *all* users. My current workaround is to list all users, run a for-loop over the userlist and flush one mailbox after another via the director.
Any hints how to solve this?