"Rainmail Server" works with RedHat Linux v5.2 or better. RedHat Linux can be installed on an ordinary IBM compatible PC. The hardware requirements for installing "Rainmail Server" are given below.
- Pentium or better processor.
- 64MB of RAM (128MB recommended).
- 4GB of free hard disk space.
- Connectivity to ISP (External modem for dial up and router for Leased lines).
- Network card to connect to rest of your LAN*.
- VGA or better monitor*.
- CD-ROM Drive.
* The Network and VGA cards must be Linux compatible. For a list of Linux compatible card, visit http://www.getcloser.net/compatible.html.
"Rainmail Server" can be installed on a system with RedHat Linux v5.2 or better. The modem and network card must be working correctly with a working installation of RedHat Linux v5.2 (or above). In the following section, we talk about various things to check before proceeding with the Installation.
If you are installing RedHat on a new machine, please remember that you can assign any IP address to the machine and any name. "Rainmail Server" recognizes these IP addresses and maintains them the same during installation. However, we recommend assigning a private IP address like "192.168.1.1" if you are going to be connected to Internet using a dial-up medium. This would greatly enhance the security of your internal LAN.
Installing RedHat Linux
If you are installing RedHat on a new machine, here are some general guidelines you can follow to make the installation smooth:
- We recommend selecting the default KDE installation.
- As "Rainmail Server" stores mail and proxy files in the "/var" directory, it is recommended that you allocate at least 1GB for the partition containing this directory (more if you have large number of users).
- "Rainmail Server" stores your file contents in "/usr/share/smb" directory. Therefore, we recommend allocating at least 1GB for the partition containing this directory.
- You can assign any free IP address in your network to this machine. "Rainmail Server" uses this IP address while installing. Generally, private networks with less than 100 machines are class C network and have IP addresses in the range 192.168.1.X (where X may range from 1-254). We recommend allocating an IP address of "192.168.1.1" to your "Rainmail Server".
Pre-Installation Check List
"Rainmail Server" rewrites a lot of your Linux network configuration upon installation. If you had any networking software, other than the ones installed by RedHat Linux on installation, please remember to take a back up of their configurations.
The following checklist ensures that various systems that "Rainmail Server" depends on is working. If any step fails, you can talk to your OS and/or hardware vendor to make sure that the hardware is functional.
- Modem: If you are connecting to Internet with a dialup line (Analog or ISDN Modem), ensure that the modem is installed and working in the system. If you are connecting to Internet with DSL, Cable Modem or a Leased line, you can skip over to the next step ("Network").
Ensure that modem is installed and working fine by following these steps:
- In a new console (either xterm or a normal screen console), check that the modem device file exists by typing in
"ls -al /dev/modem"
If the system says that the file is not found, modem has not been installed on your machine. If the modem device exists, proceed to Step 3.
- Find out the COM port the modem is connected to. Then create a link from the modem device to that COM port. Suppose the modem is connected to port COM1, you can create a modem device file by typing in
"ln -s /dev/cua0 /dev/modem" (in RedHat 5.2)
"ln -s /dev/ttyS0 /dev/modem" (in RedHat 6.0 and above)
- After making sure that the modem device file (/dev/modem) is present, you can test if modem is working by using minicom. Type in
minicom will try to initialize the modem and output the result of initialization. If you see the lines "OK", your modem setup has been correct so far.
- Try dialing out by typing
"ATDP<PHONENUMBER>"where <PHONENUMBER> is a phone number you know.
You might have to replace "ATDP" with "ATDT" if your phone only supports Tone dialing. If the modem dials out, the test has been successful. To quit "minicom", you can press "Ctrl-A", "z" and then "x".
- Network (Please skip this step if you are connecting to Internet using Analog or ISDN Modem): If you are connecting to Internet with DSL, Cable Modem or a Leased line, you will need some additional information to connect to Internet. However, you do not need this information at installation time. At Installation time, we will do the install for a dial up link. Once the installation is complete, you can use the configuration program to make "Rainmail Server" work with your Cable Modem, DSL or Leased line link.The advantage of this method is that if the permanent link fails, you can switch over to an analog or ISDN connection as a backup. For installation purpose, choose an unconnected serial port that you would connect a modem (in case of permanent link failure). Suppose it is COM1, you can set the link for modem as follows:
"ln -sf /dev/cua0 /dev/modem" (in RedHat 5.2)
"ln -sf /dev/ttyS0 /dev/modem" (in RedHat 6.0 and above).
- Network Card Ensure that the network card is working and configured correctly by typing
"ping <ip address of client>"
You can replace <ip address of client> by IP address of another machine in your LAN. If the command succeeds, your network card is working fine and has been configured properly.
Installation of "Rainmail Server" requires some information so that it can connect to your ISP and also offer many of its other facilities. Some of the information will be contained in the letter you received with the copy of this software (Please call technical support if the letter is missing). You will also require other information. The following section gives a list of all the information you will need to install "Rainmail Server" and gives a pointer to where the information can be found.
- Name of your installation's domain. Will be in letter accompanying this package.
- Name of your installation's email domain (if you chose to use email domain): Will be in letter accompanying this package.
- Your ISP account name: Contact your system administrator or ISP for this information.
- Your ISP account password: Contact your system administrator or ISP for this information.
- Your ISP Dialing number: Contact your system administrator or ISP for this information.
- Your ISP Name servers: Contact your system administrator or ISP for this information.
- Your ISP mail relay host: Contact your system administrator or ISP for this information.
- Your mail server address: Will be in letter accompanying this package.
- Your mail server account name: Will be in letter accompanying this package.
- Your mail server password: Will be in letter accompanying this package.
- Your ISP authentication information: Contact your system administrator or ISP for this information. If you cannot get this information, select "PAP" in the setup dialog. Most ISP's allow authentication using PAP and normally you should not have any problems connecting using the default. The web site http://www.getcloser.net/ contains a link to the type of authentication used by common ISP's.
- "Rainmail Server" license password: Will be in the letter accompanying this package.
Even if you are using only a DSL, Cable Modem or Leased line to connect to Internet, we recommend that you have valid values ready for above ISP information. You can buy an additional ISP dial up account and the values as above. This way, switching from your main link to backup and vice-versa becomes real easy.
"Rainmail Server" overwrites many configuration files when installed. Normally, there will be no need to get back to your current configuration. However, if you want to get back to your current configuration, you must make a backup copy of all your cofiguration files (all files from "/etc" and "/var" directories) before installing "Rainmail Server". You can ignore this warning if you are installing "Rainmail Server" on a fresh RedHat 5.2(or up) installation.
Installation is relatively straightforward and is GUI driven. Following the given steps will ensure a trouble free and easy installation:
- Logon as root. "Rainmail Server" modifies your system configuration files and needs root permission to do them.
- Start X GUI (if not already started). This can be done by typing
at command prompt. If it fails or locks up the screen for some reason, your GUI is configured incorrectly. Please contact your Hardware/OS vendor for correcting this problem.
- Open up a new terminal.
In "fvwm2", this can be done by clicking the left mouse button on the screen and selecting "New shell".
In "KDE" and "GNOME", this can be done by clicking on the Start menu (on bottom left hand side of the screen) and selecting "Utilities" and then "Terminal".
- Place your "Rainmail Server" CD in the CD-ROM drive.
Mount the CD by typing in the opened xterm
"mount /dev/cdrom /mnt/cdrom"
Please note that the CD must be mounted in /mnt/cdrom for the setup program to function properly.
From the terminal, change directory to "/mnt/cdrom/rainmails" by typing
- Start the setup program by typing
One word of comfort before starting with the setup program: All the parameters you enter in the setup program (with the exception of email domain name in the second screen) can be changed even after installing the software. Therefore, there is no need to be afraid of entering invalid values during the setup phase. The values can always be corrected after the software is installed. However, entering the correct value during the setup phase is recommended.
The setup program is Java based. The program will check if you have Java installed on your machine and if not, will install it from the CD. After installing Java, setup program will begin to execute. When it starts up, you will see the following screen:
Press the "Next >>" button. You will be presented with the following screen:
If your email address is of the form "email@example.com" then in this screen enter the email domain assigned to your organization. This will be present in the letter that came with the software. If you have an email domain, make sure that the check box "Use Email Domain" is checked. In this example, the name of the email domain is "icsoft".If your email address is of the form "firstname.lastname@example.org", then you have to uncheck the "Use Email Domain" checkbox. When you do that, the email domain field becomes disabled.
After entering a value for the email domain (or not - depending on your configuration), Press the "Next >>" button.
Pressing the "<< Back" button will take you to the previous screen. Pressing the "Next >>" button will take you to the following screen: In this screen you will need to enter the name of your actual Internet domain. This would also have been provided in the letter. The default domain name is "getcloser.net".
You need to change it only if your letter specified a different domain. Press "Next >>" after entering the correct value for this field. That will take you to the following screen:
In this screen, you will require to enter information about how your ISP authenticates. You can get this information from your ISP. Most ISP's support PAP and therefore the default should work fine. If you encounter any problems connecting to your ISP, you can try changing to "Login" later. Choose the default (PAP), unless you are sure that your ISP uses Login mechanism. You can also enter text to expect before sending user name, password and the "ppp" command if your ISP uses login authentication.
Press "Next >>" after you enter the correct information. That will take you to the next screen.
In this screen, you will need to enter information that will help the computer connect to your ISP. You can also specify whether you want to allow Internet access to your clients (this can be changed later too) and if your telephone needs to dial using Pulse or Tone dialing. Information about ISP User ID and Password can be obtained from your system administrator or ISP. The default for other fields give the values used by VSNL Chennai. If you use a different ISP, you will need to fill in the values from your ISP (This information can also be obtained from your ISP). Please note that you have to enter your ISP password twice. This is necessary because the password does not appear on the screen when you type it in and it is easy to make mistakes if you type it in only once.
By default, the SmartProxy included in "Rainmail Server" allows other machines in LAN to access the Internet using the server machine as a gateway. Unchecking the "Enable Smart Proxy Services" disables this access.
By default, your modem is configured to dial in the Pulse mode by "Rainmail Server". Selecting the "Tone" radio button can change this setting. After entering the value for all the fields, you can proceed to the next screen by pressing the "Next >>" button.
In this screen, you will need to enter information about your incoming POP mail server. All the information required in this screen will be supplied in the letter you received with the software. You will need to change the fields only when they do not match the ones in the letter. This is the final input screen in the setup program. If necessary, you can review your inputs by going back using the "<< Back" button.
The setup program will start installing all the required software.
A progress bar on the screen will indicate the progress of installation. At end of installation, a message box will be displayed and on pressing "OK", the "Finish" button will be enabled.
Pressing the "Finish" button completes the installation.
It is recommended that you reboot the machine after this installation. When a message box appears asking whether to reboot, save all your existing documents and press "Yes". That will automatically reboot the machine
Validating your license
There is just one more step to the installation. Even though you have a fully functional server, you will not be able to create users using the "Rainmail Server" configuration program or use the web caching proxy server to access Internet because the license to your software has not been validated. To validate your license, you must enter the password supplied in your letter in the Configuration program. To validate the license, do the following:
Start "Rainmail Server" configuration program. For detailed steps on how to do this, refer to the section named "Starting the Configuration program"
In the configuration program that comes up, select "Set Maximum Users" in the left-hand side panel. That will bring up the following screen:
In the above screen, select the radio button corresponding to the license you have purchased (If you have purchased a 25 user license, click on the 25 radio button) and enter the password supplied with the letter. Make sure that you enter the password (which will be exactly 13 characters) as given in the letter. You will have to enter it twice, once in the "Password" field and once in the "Confirm Password" field. If the password entered is valid, the system will validate your license and issue a success message.
Recommended Post Installation steps
Though the server is fully functional after the above step, it is recommended that you do the following step to increase the performance of your server. Start the configuration program (for details, please look at the section named "Starting the Configuration program" and go to the panel "Mail Check Timings"). You will see the following screen:
In the above screen enter any valid value for the two edit fields ("Enter hour of day" and "Enter minute of hour"). Please take care to not use the defaults. There are no correct values for these fields and the more random it is, the better the performance of your system will be. After entering valid values, Press the "Set" button to accept the values.
This completes the installation of "Rainmail Server".
Configuring your DSL, Cable Modem or Leased line
We will configure your "Rainmail Server" to work with these devices by establishing an (possibly virtual) interface to the DSL, Cable Modem or Leased line router. To do this, you will need to assign another IP address to your machine (this has to be on the same network segment as your router).
You will also need to know the IP address of the router. We will use the router as gateway. Finally, you will need to name this (possibly virtual) interface.
If you have only one network card, your new interface must be virtual. You can named the new interface based on the old interface. In this scenario, giving a name of "eth0:1" will do. If you have two network cards (one to your LAN and another top your router), you can give this interface a new name (like "eth1").
Once you have this information, start the configuration program using the steps given in "Starting the Configuration Program" and choose the "Select Connectivity" item on the left hand side. That will bring up the following screen:
In the above screen, select "Permanent" in the "Connectivity" field. This will enable the next four edit boxes. Enter IP address of router in the "Gateway Address" field, name of our new interface in "Gateway Device" field, our second IP address in "IP Address" field and the NetMask address in the " NetMask" field. Then press "Set" to use Cable Modem, DSL or Leased line connectivity to Internet. You will have to reboot the machine for this to take effect.
Starting the Configuration Program
Once you have installed "Rainmail Server", you can start the configuration program in GUI mode.
- Start GUI mode. If you are not already in GUI mode, you can type in
to get into the GUI mode.
- If your window manager is "fvwm2" (default installation in RedHat Linux 5.2), you can start the configuration program by clicking your left mouse button anywhere in the screen and selecting "Administration" and then "Configure Rainmail Server".
- If your window manager is "KDE" or "GNOME", you can click on the start icon (in the bottom left of your screen), select "System" and then "Configure Rainmail Server".
This will bring up the configuration program.
- If the modem is currently connecting to an ISP, wait for it to disconnect (Do not turn off the modem).
- Make sure that the modem is turned on and is plugged into the telephone line.
- Open up Netscape browser.
- Type in the URL http://www.getcloser.net/
- If the modem starts to dial, it means that proxy server is working properly.
- You can do other tests once you add users and modify configuration to suit your needs.