-
Download webmailpro_php.zip archive.
-
Unpack contents of web folder from archive into subfolder of web-folder on your web server.
For example into /var/www/html/webmailphp.
-
Unpack contents of data folder from archive into any folder on your web server.
For example into /var/webmail_data. In this folder MailBee WebMail PHP stores
configuration file and temporary files. Please note, to protect this folder contents
from unauthorized access, make sure this folder cannot be accessed from the web.
-
Open inc_settings_path.php file from webmailphp folder, and set the
value of the $dataPath variable to the physical path of data folder
(e.g. $dataPath = "/var/data").
-
Now you should assign owners and their rights.
Change the current working directory to the folder with WebMail PHP scripts:
cd /var/www/html/webmailphp/
Assign rights to files and folders:
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
Assign owner to files and folders. You can assign another owner (the same as owner of other folders/files in /var/www/html/):
find . -type d -exec chown root.root {} \;
find . -type f -exec chown root.root {} \;
Change the current directory to the WebMail PHP working folder:
cd /var/webmail_data/
Assign rights to files and folders:
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
Assign owner to files and folders. Please note, Apache can be started under another user
account, for example, under nobody.nogroup. Apache process (httpd) should have write
permission to the specified folder, thus, you should assign as owner user Apache is running under:
find . -type d -exec chown apache.apache {} \;
find . -type f -exec chown apache.apache {} \;
-
In your browser, navigate to http://yourserver.com/webmailphp/mailadm.php and type "mailadm" as login and "12345" as default password
to enter the Administration Console. Once logged in, it's recommended to click WebMail Settings to change the default password
and then click "Save" button to apply changes.
-
Now you can edit the following settings:
-
Database Settings
-
Users Management
-
WebMail settings
-
Interface settings
-
Login settings
-
Debug settings
-
Select "Database Settings".
Choose database type you wish to use: MS SQL Server or
MySQL Server. To use MS SQL Server or MySQL
Server database, fill "SQL Login", "SQL Password" and "Database Name"
fields. If you wish to connect through DSN, you need to fill "Data Source"
field. Otherwise, to connect through TCP/IP, fill "Host" field.
If the MySQL or MSSQL are used, you should click Save button and then Create Database button.
-
Now installation is complete. Please refer to Administration Panel for administration details.
See WebMail PHP administration
-
MailBee WebMail PHP is ready to use.
Start using it at http://your_server_name/webmailphp/index.php.
-
If you need to integrate WebMail with AfterLogic XMail Server, please refer to
AfterLogic XMail Integration Instructions.
|