Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

SquirrelMail and AXIGEN WebMail



This document aims to explain how to install and configure SquirrelMail on a machine to act as a webmail interface for AXIGEN. It also focuses on what would be the best choice as a webmail interface in different scenarios.

In the following section the two implementations are compared to help administrators decide whether they want to keep AXIGEN WebMail or set up SquirrelMail.

AXIGEN WebMail pros:- No need to setup a web server.- Independent of IMAP and POP3.- Minimal configuration required.- Advanced skinning and layout support.

AXIGEN WebMail cons: - No support for text web browsers.- Hard to implement in an already existing site.

SquirrelMail pros:- Support for text web browsers. - No JavaScript support required. - Easy integration into an already existing site. - Advanced skinning support.

SquirrelMail cons:- A separate web server must be set up.- Moderate configuration required.- Low error control and tracing possibilities. - IMAP must be enabled.

As a side note, you can choose not to use only one of them. Both webmail interfaces can be run at the same time on the same machine without any interference from one another.

SquirrelMail Installation

To set up SquirrelMail the following elements are required:
  1. A PHP enabled web server (Apache 1.3/Apache 2.0 are commonly used).
  2. PHP version 4.1.2 or higher.
  3. Perl installed and running for the initial configuration.
First you need to download the tar-ball from the SquirrelMail website and save it on the machine that runs the web server. After this step is completed, copy the contents of the archive into a folder named "webmail" and place this folder in the site root.
It is very important to make sure that the contents of this folder are accessible by the user running the web server. The Apache software uses "www-data" by default as the user. Permissions on the contents of the "webmail" folder must give read and write access to this user. Failing to do so will generate access errors while logging into the webmail interface.

At this point, the login screen should be accessible in a web browser using the base address followed by the name of the folder, in this care "webmail". If this page is not accessible at all and you get an error you probably have encountered an issue related to access rights. Go back to the previous steps and make sure that everything is configured accordingly and retry.

SquirrelMail Configuration

Before logging into the webmail interface, it needs to be set up. The setup procedure depends on the particular setup a company uses. To start this procedure run the "configure" script found in the "webmail" folder.

While configuring SquirrelMail you have to make sure you specify the correct options for the current setup on your AXIGEN Mail Server. The server address for SMTP and IMAP should be set, and port numbers should match those of the respective listeners defined in the AXIGEN configuration. The authentication type is also very important and should never be overlooked. An important note here would be SquirrelMail's inability to automatically detect the supported authentication types of the AXIGEN Mail Server. This does not however prevent SquirrelMail from correctly connecting while using any of the available authentication methods.

If you do not have Perl installed or for some reason you cannot run the configuration script, all the changes must be made by editing the configuration file, before logging in for the first time.

SquirelMail acts as an IMAP client and connects to the AXIGEN Mail Server through this protocol to access e-mail messages. For as long as the web server and AXIGEN are running and the configuration is correct you will not encounter any issues.

Different set-up configurations for AXIGEN WebMail

The main reason one would prefer to have the SquirrelMail interface is its easy integration process with an already running site. This section of the article aims to explain how the AXIGEN WebMail interface can be run along side a web server.

The simplest solution is to have AXIGEN set up on a different machine. This is the best practice recommended for general use. Having multiple business-critical elements on one machine can be unfortunate in the event of that machine becoming compromised.

In some cases however, this approach is not possible. An alternative is to run the AXIGEN WebMail interface on a different port than 80, but this is very uncomfortable at times for end-users.

Also, in case a pool of yet unassigned IP addresses is at hand, a multiple interface scenario can be used. Having the web server bind to one address on port 80 and WebMail or another interface on port 80 also solves the issue. Of course, multiple network adapters are mandatory in this case and virtual interfaces can be used.

Merging the code of the parent site into the WebMail interface is also possible, though it requires heavy modifications and can generate many issues if done incorrectly. This is actually the best method of all, but requires the most resources and can be very time consuming, depending on the complexity of the site. Some experience and a good understanding of HTML and HSP are required to succeed.


Choosing the right tools for a specific environment can be a challenging task. Depending on what is required and the resources assigned, the network administrator should decide the best action to take. Both webmail implementations converge to the same purpose but take different paths in achieving this. Perhaps having them both set up and running would be an "all win" scenario in this dispute.

By Ciprian Negrila
Technical Support Engineer
GeCAD Technologies,
AXIGEN Division

mail this link | score:8745 | -Kayla Vincent, January 19, 2007 (Updated: March 22, 2007)
More Software articles...

Buy Abstract Art Canvas Prints

apps headlines

Install openQRM 5.1 on Debian 7

GIMP 2.8.6 released

Install Cinnamon on Fedora 19

Arronax: Nautilus Plugin to create and modify Application Launchers

How to install Icinga (Nagios Fork) in Ubuntu 12.10 server

Tutorial: Install Cinnamon Desktop on Fedora 18

How to customize Cinnamon 1.6

Top applications GNOME 3 menu extensions

Tutorial: Take Screenshots of VirtualBox VMs

iPPea TV: Android 4.0 dongle for HDMI-enabled DTVs

MATE vs Cinnamon

KLook: A Swiss Army Knife of media type viewers

How to install Jitsi in Fedora

Install applications and update Linpus Lite Desktop 1.7

Tutorial: Install Cinnamon 1.3.1 in Ubuntu 11.10

Tutorial: Run Simple Groupware on Nginx on Debian 6, Ubuntu 11.10

Bouncer: Evict malware from Android

How to compile and install Takeoff Launcher on Linux Mint 12 KDE

Three hot extensions for Fedora 16 and GNOME 3 installations

Tutorial: Install Cinnamon on Fedora 16

video: Change the LightDM login background in Ubuntu 11.10

Tutorial: Enable Compiz on Linux Mint 12

PDNSD HowTo: A DNS Caching Personal Server


Firefox sidebar

Site map

Site info

News feed


(to post)


Articles are owned by their authors.   © 2000-2012 Ray Yeargin