Build a Web mail system on a Linux server SquirrelMail

Source: Internet
Author: User
Tags imap dovecot squirrelmail


The installation environment requires LAMP,postfix,dovect:

To install lamp Please refer to:

For installation of postfix and Dovecot please refer to:

Extract the installation package named SquirrelMail and support for multiple languages to the directory of the Apache website default home page:

650) this.width=650; "src=" "title=" 1.jpg " alt= "Wkiol1ud4meweewiaafnzvrpboe882.jpg"/>

Unzip the multi-language installation package to the squirrelmail Default Web page:

650) this.width=650; "src=" "title=" 2.jpg " alt= "Wkiom1ud4vuc1leyaadoczd9c2e385.jpg"/>

Go to the Site storage location modify the directory name to facilitate browser access:

650) this.width=650; "src=" "title=" 3.jpg " alt= "Wkiol1ud4o_bb0j4aacsylh1yis695.jpg"/>

Enter Webmail to create a directory that holds the email attachments and give daemon permission to support Apache:

650) this.width=650; "src=" "title=" 4.jpg " alt= "Wkiom1ud4yqaw6xvaaehxmou_tg676.jpg"/>

Copy the squirrelmail configuration file to config.php, and then edit it:

650) this.width=650; "src=" "title=" 5.jpg " alt= "Wkiom1ud4bsq8_rqaacf2nfoev4488.jpg"/>

Locate the following configuration items to add and modify:

$domain = ' '; * Modify mail domain name //

$smtpServerAddress = ' localhost '; SMTP server address //

$smtpPort = 25; SMTP port number //

$imap _server_type = ' dovecot '; * Modify IMAP server type //

$imapPort = 143; IMAP port number //

$data _dir = '/usr/local/apache/htdocs/webmail/data/'; * Modify Data Directory location //

$attachment _dir = '/usr/local/apache/htdocs/webmail/attach/'; * Modify Email Attachment directory location //

$squirrelmail _default_language = ' ZH_CN '; * the language of the modified interface is Chinese //

$default _charset = ' zh_cn. UTF-8 '//* Modify the default character set to Chinese and utf-8//

650) this.width=650; "src=" "title=" 6.jpg " alt= "Wkiom1ud4czbde-faaeadgiia0u363.jpg"/>

650) this.width=650; "src=" "style=" float: none; "title=" 7.jpg "alt=" Wkiom1ud4gnadtw1aadyaqtnpge961.jpg "/>

650) this.width=650; "src=" "style=" float: none; "title=" 8.jpg "alt=" Wkiol1ud4yzi1k8qaadgq1fl2ag005.jpg "/>

650) this.width=650; "src=" "style=" float: none; "title=" 9.jpg "alt=" Wkiom1ud4gnxvnvsaacfewbsfbu103.jpg "/>

650) this.width=650; "src=" "style=" float: none; "title=" 10.jpg "alt=" Wkiol1ud4yyjd4qyaacrott8-eq224.jpg "/>

650) this.width=650; "src=" "style=" float: none; "title=" 11.jpg "alt=" Wkiom1ud4gnx6rdqaac_bdtuswe636.jpg "/>

650) this.width=650; "src=" "style=" float: none; "title=" 12.jpg "alt=" Wkiol1ud4yzj31y2aad-zr7i7co042.jpg "/>

650) this.width=650; "src=" "style=" float: none; "title=" 13.jpg "alt=" Wkiom1ud4gnzsvw4aabztjtvh-8397.jpg "/>

Restart the DNS and Apache Services:

650) this.width=650; "src=" "title=" 14.jpg "alt=" Wkiom1ud4iqx2ctgaaccmmspnew316.jpg "/>

Using Client access:

650) this.width=650; "src=" "title=" 15.jpg "alt=" Wkiol1ud41_ymxt7aaflhf7sdbc721.jpg "/>

Test and send mail:

To send mail using Zhangsan login:

650) this.width=650; "src=" "title=" 16.jpg "alt=" Wkiom1ud4lpjs5h1aac-284tjs4201.jpg "/>

650) this.width=650; "src=" "title=" 17.jpg "alt=" Wkiol1ud45ocptusaaclqosrfjo666.jpg "/>

Use Lisi login to view mail:

650) this.width=650; "src=" "title=" 18.jpg "alt=" Wkiom1ud4payqco3aacwufx40o8179.jpg "/>

650) this.width=650; "src=" "title=" 19.jpg "alt=" Wkiol1ud48hhumvuaaemikxupws326.jpg "/>

Experiment completed

This article from "Joint efforts, common progress ~ ~" blog, please be sure to keep this source

Build a Web mail system on a Linux server SquirrelMail

Related Article

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: 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.