10 Sep 2010 
Support Center » Knowledgebase » Webmail PRO external login configuration
 Webmail PRO external login configuration
Solution

External login for Webmail PRO - introduction

External login allows you to configure your Webmail PRO in such configuration, that your login form (username & password) could be formated into any page. For example like quick login from your main website (Ex. www.icewarp.com)

Please note, that bellow information is related to new external login for Webmail PRO which is officially released in version 9.2 of IceWarp server.

External login kit

All you need for external login configuration is since beta version 9.1.1+ in folder: Merak\html\webmail\client\_external\

Files location

All files from “Merak/html/webmail/client/_external/”   should be placed in your external site folder structure.

External login configuration

login.html

Include the code of this file to the web page you wish to  externally log in from into the WebMail Pro interface. No modifications of this file are required.

login.js

Edit only the line beginning with:
             “this.sClientUrl = 'http://localhost:32000/ “
where “http://localhost:32000/” should be replaced by URL where Webmail Pro is running and accessible.

login_auto.html

ONLY for IceWarp partners and resellers. Allows users to automatically login into demo accounts (disabled by default).

proxy.php.safe

For security reasons, this file have to be renamed to “proxy.php”.

This file is crucial for external login to work. If this file is not configured correctly, you will not be able to successfully login into WebMail Pro externally.
This file provides redirection from an external site to a running WebMail Pro site.
Lines you need to modify:
$host = "merakdemo.com";
$path = "/webmail/server/webmail.php";
$port = 32000;
For “$host”, enter a short address (hostname) of your WebMail Pro installation (e.g. 127.0.0.1, domain.com).
For  “$path”, enter the correct path to webmail/server/webmail.php file. If WebMail is running directly on the host address (domain.com/webmail), leave  the default “/webmail/server/webmail.php”.
Parameter “$port” is self-explanatory, enter the correct port for your web server where WebMail Pro is running.

rsa.js

No modifycations to this file are required.



Article Details
Article ID: 315
Created On: 26 May 2008 05:25 PM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Knowledgebase | News
Language:

Help Desk Software By Kayako SupportSuite v3.20.02