-
Download webmail_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.
-
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 {} \;
-
You should specify path to the MailBee WebMail PHP working folder in
/var/www/html/webmailphp/settings_path.php file (for example /var/webmail_data/).
-
Please make sure extensions php-imap, php-iconv, php-domxml (php-dom for PHP 5 and higher) exist. PHP should be able to use
these extensions. If one of these extensions is not available, you will get one of the following
messages:
The IMAP module does not seem to be installed on this PHP setup.
The ICONV module does not seem to be installed on this PHP setup.
The DOM XML module does not seem to be installed on this PHP setup.
The DOM module does not seem to be installed on this PHP setup.
In order to solve this problem, you should install these extensions from packages of your OS
distributive. Please note, extension major version must be the same as PHP engine major version.
Then you should restart Apache:
/etc/init.d/httpd restart
-
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:
-
WebMail settings
-
Interface settings
-
Login settings
-
Debug settings
Also, you can browse the online documentation ("Help" link) or log out of
Administration Console ("Exit" link).
-
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.
|