bind to a specific ip address

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

jleq

bind to a specific ip address

Postby jleq » Mon Apr 10, 2006 2:49 pm

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!

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Wed Apr 12, 2006 6:48 am

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.
Florian von Kurnatowski, Die Harder!


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 17 guests