[Dovecot] Kicking by dovecot as proxy?
I'm using dovecot 2.0 as proxy to make easy the migration from Courier to Dovecot.
¿Is it possible to use doveadm kick on a proxy connection?
Example:
telnet (login as user1) -> dovecot (proxy) (user1) -> courier (user1)
If I exec doveadm who on "dovecot", any user are connected.
-- Antonio Pérez-Aranda Alcaide aperezaranda@yaco.es
Yaco Sistemas S.L. http://www.yaco.es/ C/ Rioja 5, 41001 Sevilla Teléfono +34 954 50 00 57 Fax +34 954 50 09 29
On Mon, 2010-12-27 at 21:08 +0200, Timo Sirainen wrote:
On Mon, 2010-12-27 at 16:58 +0100, Antonio Perez-Aranda wrote:
¿Is it possible to use doveadm kick on a proxy connection?
No. No such state is kept anywhere. Maybe some day, but it's a low priority for me.
More precisely: Each login process tracks the proxying state internally. There is no global state tracked or any way to talk to login processes. I think the most efficient way to implement this some day would be to add:
- admin connection to login processes where you can issue commands such as "kick" or "list users"
- a "login process tracker" process, which has a connection to all the login processes and can proxy commands/replies to them (without this each process would have to have its own UNIX socket listener, such as login-admin-<pid>, which is kind of ugly)
- doveadm commands that can talk to login processes via the tracker process
participants (2)
-
Antonio Perez-Aranda
-
Timo Sirainen