If you came here, it means that "something" is not working with your Scalix Community Edition installation on a Centos GNU/Linux machine. Well, this may be a good ending point. The tested Scalix version was Scalix 11.2.0 on a CentsOS 5 machine. This should be pretty much the same as installing on a RHEL 5 (Red Hat Enterprise Linux) server.

This is a beginners guide / manual, but it still assumes that you would know how to work in a GNU/Linux environment. After all, you ARE installing a server, aren't you?

A good starting point will be the Scalix forums, that hold a very good assembly of Q&A, help and guidance. BTW, Scalix s an Exchange Server replacement, that connects fully to MS Outlook and to Ximian Evolution.

Now, to the guide itself. We will be working on a domain called centos5.com for our examples. There is a real domain by this name, and it is not related to this guide.

Important: almost all network changes can be made through the system-config-network-tui or the system-config-network-gui tools. 

Network Basic Settings 

The first and most important thing that you need to remember, is to change your machine name to the name of domain that you intend to use. This is done by editing the file /etc/sysconfig/network and changing the HOSTNAME value to your own domain name. I.E., instead of localhost.localdomain you should have centos5.com or whatever domain name that you use. There is a world of trouble that awaits those who fail to remember that.

Secondly, add your domain name to the file /etc/hosts right after the loopback device (I.E., after It should look like this:


# Do not remove the following line, or various programs
# that require network functionality will fail.       localhost.localdomain   localhost   centos5.com     centos5


You need to replace the to your own local IP address.

Please, oh pretty please: change your network settings from DHCP to static IP address. This can be done through the setup command. After you make this change, restart the networking services by typing service network restart.

It is advised that after all these steps, you restart your machine. Although there are other ways to apply these changes, it is best that you restart. Besides, you are probably working on a non-production server, otherwise you wouldn't be reading this guide.

Network DNS Settings

This part is for those who wish to have internal domain and IP referrals inside their machines.

What does it mean? Well, it means that before your server starts looking for an external DNS server, it will look at its internal DNS server, and will resolve to the IP addresses that you supply to it.

Edit the file /etc/resolv.conf and add to it the next 1st line:


Edit the file /var/named/chroot/etc/named.conf to make it look this way:

 zone "centos5.com" {
  type master;
  file "/var/named/centos5.com.zone";

Pay a close attention to the location of the centos5.com.zone file. We will not be using this location, but this the correct line to enter in the file. The reason that we will be using a different location, has to do with default chrooting in the CentOS server. If you didn't understand what I just said, it really doesn't matter.

Now you need to create the following file /var/named/chroot/var/named/centos5.com.zone and this will be our zone file.

The contents of the zone file should look something like this (whatever comes after the ; are comments):

; the start of the file

$ORIGIN centos5.com.
$TTL 86400
@     IN     SOA    centos5.com.     administrator.centos5.com. (
                    2001062501 ; serial
                    518400      ; refresh after 6 days
                    3600       ; retry after 1 hour
                    604800     ; expire after 1 week
                    86400 )    ; minimum TTL of 1 day

      IN     NS     centos5.com.

      IN     MX     10     mail.centos5.com. ; this is the line for the mail MX records

             IN     A
server1      IN     A
server2      IN     A

ftp          IN     CNAME   server2 ; this will cause ftp.centos5.com to resolve go to
mail         IN     CNAME   server1 ; this will cause mail.centos5.com to resolve to
www          IN     CNAME   server1 ; this will cause www.centos5.com to resolve to

; the end of the file

Network Firewall Settings

There is a very easy-to-use tool that comes with CentOS for configuring the firewall. It has 2 versions: the system-config-securitylevel-tui for the textual CLI environment (CLI = Command Line Interface), and the system-config-securitylevel for the graphical environment. These tools are warmly recommended as configuration tools for iptables, with great ease.

Recommended settings:

Security Level: Enabled

SELinux: Disabled

Inside the Customize option of the CLI, and in the Firewall Options tab in the GUI:

Allow incoming: SSH, WWW (HTTP), Secure WWW (HTTPS), Mail (SMTP)

Other ports: 5900:tcp openmail:tcp imap:tcp

Regarding port 5900: this is the default port for VNC connections. Each VNC server receives its own port, so if you plan on opening a server in :3 you will need to open port 5903:tcp instead. If you don't know how to work with VNC, or don't intend to use it, don't open the 5900 port.

Regarding SSH port: this allows remote connections to the server. If you don't know how to work with SSH, or don't intend to use it, don't open the port.

Scalix Installation and Usage

I can not believe that I'm writing this down: do not use the textual installer. Login to your server using VNC (the command is: vnc -X This e-mail address is being protected from spambots. You need JavaScript enabled to view it..1.5), and install Scalix with the graphic installer. The reason is, that the textual installer, for some reason, creates a postgresql problem installing Scalix. In simpler words: the textual installer may not install. This issue doesn't reproduce itself, so you should try it for yourself.

Download the Scalix Community Edition from this link. You need to enter an Email address, and then you are directed to the download page. It's OK: the Scalix team doesn't sent junk mail. If you intend to use Scalix with MS Outlook, then this is also where the Outlook Connector is.  

Extract the files from the scalix-11.2.0-GA-core-rhel5-intel.tgz file, and from the new scalix-11.2.0-GA folder, activate the following command:

./scalix-installer --override=rhel5

* A note about these 2 steps: in Scalix version 11.3 and above, the file to download has a different name, and there is no need to override the RHEL detection. 

After installing Scalix, go with a web browser to to the administrator console, and setup users and the server.

In you will find the Scalix web interface. Of course, you can also find it at http://centos5.com/webmail/ if it is properly redirected.

And that's it! You now have an alternative for an Outlook Exchange server, good for 25 Premium users, with a fully functional web access, Calendar sharing, Email and webmail, and all other good stuff.


Dotan Mazor 

מילות מפתח לחיפוש:

מדריך סקאליקס, סקליקס, תרגום עברית, סנטוס, סנט או אס, התקנה, התקנת, centOS, scalix, תחליף שרת אאוטלוק אקסצ'יינג', לינוקס, קוד פתוח ותוכנה חופשית