Re: How to bind imap to 2 interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux