How to bind imap to 2 interfaces

Alain Spineux aspineux at gmail.com
Tue Oct 23 16:01:50 EDT 2007


On 10/23/07, Tornoci Laszlo <torlasz at xenia.sote.hu> 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?

use the ip address of your interface, for example :

listen=[1.2.3.4]:imap



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


-- 
Alain Spineux
aspineux gmail com
May the sources be with you


More information about the Info-cyrus mailing list