Timo Sirainen wrote:
> On 29.6.2012, at 19.21, Daniel Parthey wrote:
> 
> > Jun 29 15:40:31 10.129.3.249 dovecot: doveadm([email protected]):
> > Error: user [email protected]: 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([email protected]): Error: doveadm server failure
doveadm: Error: Failed to iterate through some users

Which information should I provide to help debugging the problem?

Kind regards
Daniel
-- 
https://plus.google.com/103021802792276734820

Reply via email to