Hmailserver5.1 installation Configuration

Source: Internet
Author: User
Tags roundcube roundcube webmail squirrelmail
ArticleDirectory
    • Hmailserver5.1 installation Configuration
Hmailserver5.1 installation Configuration

1. Preparation

Download hmailserver-5.1.1-b341.exe

Install the SQL Server 2000 database. Set the SA user password to sa.

2. Install hmailserver

Run hmailserver-5.1.1-b341.exe and select Settings

Location D: \ hmail \ hmailserver

Component full installation

Database use external database engine (MSSQL, MySQL or PostgreSQL)

Configure the database (the system will automatically create the database hmail and related tables)

Select create hmailserver Database

Database Microsoft SQL Server

Database connection information

Database server address local IP Address

Database Name hmailserver

Use the SQL Server to verify the user name SA and password SA

Configure the system administrator password (the system automatically requires the system administrator password to be entered after the Database Wizard is completed)

Enter the Administrator Password

3. Operation System Management

Select Start Menu-allProgram-Hmailserver administrator: The management interface is displayed.

Create new domain hmail.com

Create an account

Go to setting-advanced and set the default domain to hmail.com (otherwise, the client must use the mailbox name to log on)

Enable the log function and select the log type to be logged

4. Configure Outlook Express

After configuration, you can send and receive emails through Outlook Express.

5. Web Management System Configuration

1. Install php5.2.1

Download php-5.2.1-win32.zip from the official http://www.php.net website

Decompress the package to the local computer D: \ hmail \ PHP

Copy the D: \ hmail \ PHP. ini-Dist file to c: \ windows \ PHP. ini

Copy the D: \ hmail \ PHP \ php5ts. dll file to c: \ windows \ system32 \ php5ts. dll. if it already exists, it will not be overwritten.

Modify c: \ windows \ PHP. ini

Because there is no Directory D: \ hmail \ PHP \ des

; Include_path = "D: \ hmail \ PHP \ shortdes"

; Set the extended directory

Extension_dir = "D: \ hmail \ PHP"

; Set the extended dynamic library (because only IMAP and mssq are used, only these two settings are enabled)

Extension = php_imap.dll

Extension = php_mssql.dll

; Set the attachment size (Note: upload_max_filesize <post_max_size <memory_limit)

Max_execution_time = 120; maximum execution time of each script, in seconds

Max_input_time = 240; maximum amount of time each script may spend parsing request data

Memory_limit = 128 M; maximum amount of memory a script may consume (128 MB)

Post_max_size = 70 m; maximum size of post data that PHP will accept.

Upload_max_filesize = 50 m; maximum allowed size for uploaded files.

2. Configure Internet Information Service

Select: Default web site and open its properties

Set: ISAPI filter -- add

Filter Name: PHP

Executable File: D: \ hmail \ PHP \ php5isapi. dll

Set: Home Directory -- Configuration

Executable File: D: \ hmail \ PHP \ php5isapi. dll

Extension: PHP

3. Modify and configure phpwebadmin

Enter the Directory D: \ hmail \ hmailserver \ phpwebadmin

Copy the file config-dist.php to config. php

Modify config. php

$ Hmail_config ['rootpath'] = "D:/hmail/hmailserver/phpwebadmin ";

$ Hmail_config ['rooturl'] = "http: // localhost/adminmail ";

$ Hmail_config ['includepath'] = $ hmail_config ['rootpath']. "/include /";

$ Hmail_config ['temppath'] = $ hmail_config ['rootpath']. "/temp /";

$ Hmail_config ['defaultlanguage'] = "English ";

Create a virtual directory adminmail on the default web site and select D: \ hmail \ hmailserver \ phpwebadmin as the path.

Create Directory D:/hmail/hmailserver/phpwebadmin/temp

6. Web-based email sending and receiving system installation Configuration

Decompress squirrelmail-1.4.9a.zip to D: \ hmail \ WebMail

Sort all extracted files and directories to D: \ hmail \ webmail.

Enter the Directory D: \ hmail \ WebMail

Create a directory named temp.

Create directories Temp \ userpref and temp \ upload

Enter the Directory D: \ hmail \ webmail \ config

Copy config_default.php to config. php.

Add the following content to the config_local.php file (Note: The global configuration can be modified in this file to replace the configuration information in config. php)

$ Domain = 'hmail. com ';

$ Imap_server_type = 'hmailserver ';

$ Data_dir = '../temp/userpref ';

$ Attachment_dir = '../temp/upload ';

$ Default_left_size = '000000 ';

$ Squirrelmail_default_language = 'zh _ cn ';

$ Default_charset = 'gb2312 ';

Decompress zh_cn-1.4.9-20070106.zip to D: \ hmail \ webmail.

Set the Home Directory of the default web site to D: \ hmail \ webmail.

Configure D: \ hmail \ webmail \ Temp to writable in Internet Information Service.

7. The new beautiful WebMail2007-10-30 recently on the hmailserver Forum looked at, found a new webmail client: roundcube webmail.

Official homepage: http://www.roundcube.net/, go to the upper and lower pages, and feel more beautiful than squirrelmail, and install the Assembly immediately.

1. Download roundcube webmail, latest version 0.1 RC2

2. install apache2, MySQL, PHP, and pear (including the following components dB, mail_mime, and net_smtp, and install the components through pear install dB/mail_mime/net_smtp ), at the beginning, I reported an error because these components of pear were not installed.

3. decompress the downloaded compressed file in the path D: \ roundcubemail, open the D: \ roundcubemail \ config folder, and load the DB. inc. PHP. dist, Main. inc. PHP. rename DIST to DB. inc. PHP, Main. inc. PHP.

4. Create a database roundcube in MySQL and run D: \ roundcubemail \ SQL \ mysql5.initial. SQL to initialize the database.

5. Modify $ rcmail_config ['db _ dsnw '] in db. Inc. php to the database string value, for example, MySQL: // root: root @ localhost/roundcube.

6. modify main. inc. in PHP, the $ rcmail_config ['default _ host'] value is entered. Because it is a local mail service, localhost; $ rcmail_config ['temp _ dir'] value is entered, such as D: \ myamp \ roundcubemail \ Temp; $ rcmail_config ['Log _ dir'] value, such as D: \ myamp \ roundcubemail \ logs.

7. Add a virtual directory in Apache, such as webmail. Open http: // localhost/webmail in the browser, and you can see the logon interface of roundcube webmail.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.