[Dovecot] Multiple IP(or Host) listen in dovecot.conf.
Yoshihiro Kawabe
sowhat at amnis.co.jp
Wed Mar 28 14:35:16 EEST 2007
Hi.
Does someone make update for `Multiple IP(or Host) listen in
dovecot.conf'?
I made trivial patch so.
But this patch doesn't solve `Support listening in multiple sockets'
in TODO. It appends only the capability as multiple listen in
dovecot.conf. So, `login_processes_count' becomes ambiguous.
In CASE1, login_processes_count = 2, forked imap-login processes are
8.
--
samples dovecot.conf applied this patch are following.
CASE 1:
listen = 127.0.0.1, 192.168.0.10, imap-server1, imap-server2.example.com
or
CASE 2:
protocol imap {
listen = 127.0.0.1:143, imap-server1:10143
ssl_listen = imap-server2:10943, 127.0.0.1
..
}
protocol pop3 {
listen = 127.0.0.1, pop-server1:10100
..
}
--
Update brief.
src/master/
master-setting.h:
listen_fd and related members changed to array_t.
also name add (s).
master-setting.c:
few member initialization delete.
main.c:
handle multiple IP and port, fds as array_t.
resolve_ip argment change.
login-process.h:
add listen_fd and ssl_listen_fd member to login_group structre.
login-process.c:
add login_groups_create function for mapping login process to
each listen fd.
change dup2 source fd in create_login_process.
src/lib
network.c:
change getnameinfo error value.
--
Kawabe,Yoshihiro <sowhat at amnis.co.jp>
As the stars blink in the night sky, our married hearts are never splitted.
Even if we will unclasp each other hands, until we retain that. by H.S.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dovecot-1.0.rc28_multi-listen-1.patch.gz
Type: application/octet-stream
Size: 4351 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20070328/cc4aebc6/attachment-0001.obj
More information about the dovecot
mailing list