How to bind imap to 2 interfaces

Andrew Morgan morgan at orst.edu
Tue Oct 23 15:46:35 EDT 2007


On Tue, 23 Oct 2007, Tornoci Laszlo wrote:

> Hi,
>
> I have a server with eth0, eth1 and localhost network interfaces. I want
> to have cyrus to service imap on eth0 and localhost, but NOT on eth1.
>
> After reading man cyrus.conf, I can make cyrus to listen on all 3
> interfaces:
>   imap          cmd="imapd" listen="imap" prefork=5
> or just on one of them:
>   imap          cmd="imapd" listen="localhost:imap" prefork=5
>
> How to make it listen exactly on localhost and eth0?

Create 2 service entries in cyrus.conf:

imap	cmd="imapd"	listen="<ip-of-eth0>:imap"	prefork=5
imaplocal	cmd="imapd"	listen="127.0.0.1:imap"	prefork=5


 	Andy


More information about the Info-cyrus mailing list