Experiment
The installation environment requires LAMP,postfix,dovect:
To install lamp Please refer to: http://9067358.blog.51cto.com/9057358/1619748
For installation of postfix and Dovecot please refer to: http://9067358.blog.51cto.com/9057358/1620235
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=" http://s3.51cto.com/wyfs02/M01/5B/41/wKioL1UD4mewEewiAAFNZvRPBOE882.jpg "title=" 1.jpg " alt= "Wkiol1ud4meweewiaafnzvrpboe882.jpg"/>
Unzip the multi-language installation package to the squirrelmail Default Web page:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/47/wKiom1UD4VuC1leYAADoCZd9C2E385.jpg "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=" http://s3.51cto.com/wyfs02/M02/5B/41/wKioL1UD4o_Bb0J4AACsYLH1YIs695.jpg "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=" http://s3.51cto.com/wyfs02/M02/5B/47/wKiom1UD4YqAw6xvAAEhxMou_Tg676.jpg "title=" 4.jpg " alt= "Wkiom1ud4yqaw6xvaaehxmou_tg676.jpg"/>
Copy the squirrelmail configuration file to config.php, and then edit it:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/47/wKiom1UD4bSQ8_rqAACf2nfoEV4488.jpg "title=" 5.jpg " alt= "Wkiom1ud4bsq8_rqaacf2nfoev4488.jpg"/>
Locate the following configuration items to add and modify:
$domain = ' benet.com '; * 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=" http://s3.51cto.com/wyfs02/M01/5B/47/wKiom1UD4czBDe-fAAEadgIiA0U363.jpg "title=" 6.jpg " alt= "Wkiom1ud4czbde-faaeadgiia0u363.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/47/wKiom1UD4gnAdTw1AADYaqTNpGE961.jpg "style=" float: none; "title=" 7.jpg "alt=" Wkiom1ud4gnadtw1aadyaqtnpge961.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/41/wKioL1UD4yzi1k8QAADGQ1Fl2ag005.jpg "style=" float: none; "title=" 8.jpg "alt=" Wkiol1ud4yzi1k8qaadgq1fl2ag005.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/47/wKiom1UD4gnxvnvSAACFEWBSfbU103.jpg "style=" float: none; "title=" 9.jpg "alt=" Wkiom1ud4gnxvnvsaacfewbsfbu103.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/41/wKioL1UD4yyjD4QYAACROtt8-eQ224.jpg "style=" float: none; "title=" 10.jpg "alt=" Wkiol1ud4yyjd4qyaacrott8-eq224.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/47/wKiom1UD4gnx6rdqAAC_BDtUswE636.jpg "style=" float: none; "title=" 11.jpg "alt=" Wkiom1ud4gnx6rdqaac_bdtuswe636.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/41/wKioL1UD4yzj31y2AAD-zr7i7Co042.jpg "style=" float: none; "title=" 12.jpg "alt=" Wkiol1ud4yzj31y2aad-zr7i7co042.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/47/wKiom1UD4gnzsVw4AABztjtVH-8397.jpg "style=" float: none; "title=" 13.jpg "alt=" Wkiom1ud4gnzsvw4aabztjtvh-8397.jpg "/>
Restart the DNS and Apache Services:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/47/wKiom1UD4iqx2CtGAACCMMSpNew316.jpg "title=" 14.jpg "alt=" Wkiom1ud4iqx2ctgaaccmmspnew316.jpg "/>
Using Client access:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/41/wKioL1UD41_ymxt7AAFLHf7Sdbc721.jpg "title=" 15.jpg "alt=" Wkiol1ud41_ymxt7aaflhf7sdbc721.jpg "/>
Test and send mail:
To send mail using Zhangsan login:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/47/wKiom1UD4lPjS5h1AAC-284TjS4201.jpg "title=" 16.jpg "alt=" Wkiom1ud4lpjs5h1aac-284tjs4201.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/41/wKioL1UD45OCpTusAAClqosrfJo666.jpg "title=" 17.jpg "alt=" Wkiol1ud45ocptusaaclqosrfjo666.jpg "/>
Use Lisi login to view mail:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/47/wKiom1UD4payQCO3AACwuFx40o8179.jpg "title=" 18.jpg "alt=" Wkiom1ud4payqco3aacwufx40o8179.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/41/wKioL1UD48HhUmVUAAEmIKXuPWs326.jpg "title=" 19.jpg "alt=" Wkiol1ud48hhumvuaaemikxupws326.jpg "/>
Experiment completed
This article from "Joint efforts, common progress ~ ~" blog, please be sure to keep this source http://9067358.blog.51cto.com/9057358/1620350
Build a Web mail system on a Linux server SquirrelMail