Re: How to bind imap to 2 interfaces

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

 



You pretty much answered your own question,

However, I will spell it out.

<code>
imaplocal   cmd="imapd" listen="localhost:imap" prefork=5
imapeth0    cmd="imapd" listne="ipofeth0:imap" prefork=5
</code>

Now of course you will want to replace ipofeth0 with the IP address on
eth0.  if you have multiple IP address's on eth0, you may want to make
more entry's for each IP address.

Cheers

Scott

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?
>
> 					Yours: Laszlo
> ----
> 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
>
>
> !DSPAM:471e54f974051218716433!
>
>
>   

----
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