How to Add Additional Browsers to the Mobile Interface

This KB article will focus on the process of adjusting the Axigen configuration in order for the mobile interface to be available to other browsers than the ones configured by default.

Solution

The Axigen Mobile Webmail interface is made available automatically based on the user-agent browser information. This means that it is not be displayed for unrecognized browsers even if it is enabled inside the Axigen configuration.
This is not a big problem since all the major mobile browsers are already specified in the Mobile Webmail's configuration file, it may be possible that some browsers that are available for mobile devices to be not recognized thus the full Webmail interface to be displayed.

In this document we will describe the process of finding the user-agent string of the browser used and modifying the configuration of Axigen for the browser to be recognized by the Mobile Webmail interface.

By using an online tool we can find the user-agent used by your browser. Using the unrecognized browser navigate to the following address in order to see the user-agent that the browser is using: http://whatsmyuseragent.com/

After finding out the user-agent string, using a text editor, open the /var/opt/axigen/mobile_ua.cfg or /var/axigen/mobile_ua.cfg file and add a part of text from the user-agent string that identifies the browser (the browser name for example). When a browser tries to access the Webmail interface the user-agent string is checked and if one of the words specified in the mobile_ua.cfg file is found in the user-agent string than the Mobile Webmail interface will be displayed rather tahn the regular one.

Inside the mobile_ua.cfg, the strings, can also be specified as regular expressions to further refine the differences between certain versions of the same browser for example.
OS: LinuxFreeBSDNetBSDOpenBSDSolaris
Distros: DEB based distros amd64