[Dovecot] director with multiple instances

Will Yardley dovecot.org at veggiechinese.net
Thu Jun 5 17:18:50 UTC 2014


I'm guessing this is the most significant issue:

Jun  3 16:22:33 retr01 dovecot: director: Fatal: No inet_listeners defined for director service (for standalone keep director_servers empty)

What confuses me, is that not only do I have this in my config:

service director {
  fifo_listener login/proxy-notify {
    mode = 0666
  }
  inet_listener {
    port = 2888
  }

[...]

but I can telnet to port 2888, and I can see that it's bound to the
correct instance of Dovecot (though the first time I telnet to that
port, I get the connection closed right away (this lines up with the
error about inet_listeners); the second time, it doesn't close):

[root at retr01 ~]# telnet localhost 2888
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
[root at retr01 ~]# telnet localhost 2888
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

The default config (without any 'service director {}' section) for the
other (backend) instance gives me (in doveconf -c
/etc/dovecot-main.conf):
service director {
[...]
  service_count = 0
  type = 
  unix_listener director-admin {
    group = 
    mode = 0600
    user = 
  }
  unix_listener login/director {
    group = 
    mode = 00
    user = 
  }
[...]

Do I need to set mode to 00 for director-admin (again, on the *non*
director instance) as well (I think I've seen something about this on
the list).

Does anyone have any suggestions, especially anyone who has a similar
setup working on 2.0.x?

w



More information about the dovecot mailing list