4 Feb
2011
4 Feb
'11
7:39 p.m.
On Fri, 2011-02-04 at 15:43 +0100, Thomas Hummel wrote:
protocol imap { listen = xx.xx.xx.xx:143 yy.yy.yy.yy:143 ssl_listen = xx.xx.xx.xx:993 yy.yy.yy.yy:939 }
I started by
service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes }
but I don't know if I should add multiple "address" lines,
The second one will just override the first one.
other inet_listener {} sections, or multiple address on the same "address" line.
These will both work. Or multiple addresses in "listen" setting, which is used as default if inet_listener's address setting is empty.
- besides I don't know if it's possible to listen on the same address to several ports for the same "subservice" : for instance could I have an inet_listener imap {} listen on zz:zz:zz:zz:port1 and zz:zz:zz:zz:port2 ?
Yes. For each new port you need to add a new inet_listener {}.