Page 1 of 1

bind to a specific ip address

Posted: Mon Apr 10, 2006 2:49 pm
by jleq
I would like to run Scalix on my server (for one specific client), as well as courier-imap/qmail (that I use for everyone else). How can I force Scalix to bind to a specific IP address?

Thanks!

Posted: Wed Apr 12, 2006 6:48 am
by florian
You will need to make scalix think that it's running more than one instance of it, then the default behaviour will be that each instance only binds to it's designated IP instead of the 0.0.0.0 wildcard.

the official way to do this is by creating another instance with the ommakeom command; check the manpage.

However, you can just "simulate" it by creating another instance registration entry in /opt/scalix/global/config. Just duplicate the block that you find in there. Be sure to set AUTOSTART to true.

the negative consequence of this will be that, for using any kind of command line admin going forward, you will need to set the OMCURRENT environmental variable to the name of your running instance - for one that should not be a big issue through /etc/profile.

Note that this is not fully supported except for in clustered Enterprise Edition environments. Properly implemented, it will work well though.

-- f.