Installing through direct embedding (WebMail Pro 6 PHP)

From AfterLogic Wiki

Jump to: navigation, search

Contents

Summary

This manual applies to AfterLogic WebMail Pro PHP (referenced in this document as WebMail).

To integrate WebMail into cPanel, you need to install WebMail on cPanel server and edit a few cPanel scripts.

Files related to cPanel integration are located in webmail/cpanel_integration folders inside WebMail installation package.

List of files and short description of each (in webmail folder of WebMail):

1. cpanel_integration/cpanel.php - a script which handles requests from cPanel

2. cpanel_integration/cpanelwmlogo.png – a WebMail logo to be displayed in cPanel webmail selection screen (the screen where the user can select which webmail to use, change email settings, etc)

3. cpanel_integration/integrate.perl — perl-script for integration with cPanel.

AfterLogic WebMail installation

Install AfterLogic WebMail into /usr/local/cpanel/base/wm/ folder. Installation instructions are available here.

After installation complete your /usr/local/cpanel/base/wm/ folder should have the following content:

Cpanel-y1.png

Do not forget to set read/write permissions for all users (777) for /usr/local/cpanel/base/wm/data/ folder and all its subfolders and set apache.apache as the owner of /usr/local/cpanel/base/wm/data folder and all its contents.

cPanel integration

In order to embed AfterLogic WebMail into cPanel webmail screen, we need to run intergate.perl with superuser permissions:

perl /usr/local/cpanel/base/wm/cpanel_intergation/intergate.perl

We are almost done. Now you can visit

http://your.domain.name/webmail/

in order to see cPanel webmail selection screen presented on the following screen:

Cpanel-y8.png

AutoLoad feature works too so that you can set AfterLogic WebMail as the default webmail.

If you want to use another cPanel skin, you need to adapt the patch to fit another layout.

AfterLogic WebMail AdminPanel

To access AdminPanel, type the URL of AfterLogic WebMail and add /adminpanel. For instance:

http://www.mydomain.com:2095/wm/adminpanel/

Because cPanel may use different port and URL mappings in various configurations, it’s often easier to navigate to http://your.domain.name/webmail/ and then log in AfterLogic WebMail to learn its URL. Now, you can append /adminpanel to that URL to get into AdminPanel.

Last edit: 2011/2/04

WebMail Pro PHP documentation

Installation


Configuring WebMail

Customization

Integration

Synchronization

Clustering

See Also