[Dovecot] dovecot director service

Xavier Pons xavier.pons at uib.es
Fri Jul 23 10:55:44 EEST 2010


  El 22/07/2010 17:08, Timo Sirainen escribió:
> On Thu, 2010-07-22 at 12:35 +0100, Timo Sirainen wrote:
>> director_doveadm_port = 991
>>
>> Kind of annoying, but I guess I could add that.
> Added: http://hg.dovecot.org/dovecot-2.0/rev/ab85d17947db
>
>
Hi Timo,

like you say, I have added director_doveadm_port = 990 to my director 
configuration, but how
I must add the inet_listener for this port?
I have tried with:

service director {
   unix_listener login/director {
     mode = 0666
   }
   fifo_listener login/proxy-notify {
     mode = 0666
   }
   unix_listener director-userdb {
     mode = 0666
   }
# director service port
   inet_listener {
     port = 991
   }
#director-doveadm service port
   inet_listener {
     port = 990
   }
}

but I get the error:

[root at imap2 ~]# doveadm director status -a imap2:990
doveadm(root): Fatal: imap2:990 not a compatible director-doveadm socket

and the log says:
Jul 23 09:50:14 imap2 dovecot: director: Error: 
director(10.180.188.12/in): Wrong protocol in socket (director-doveadm 
vs director)

then also I have tried with:

service director-doveadm {
   inet_listener {
     port = 990
   }
}

but when restart the daemon get:

doveconf: Error: service(director-doveadm): executable is empty
doveconf: Fatal: Error in configuration file 
/etc/dovecot-proxy/dovecot.conf: service(director-doveadm): executable 
is empty

How is the correct format to define the inet director-doveadm port?

thanks

Xavier


More information about the dovecot mailing list