windows7+hmailserver+squirrelmail搭建邮件服务器 |
您所在的位置:网站首页 › hmailserver安装教程 › windows7+hmailserver+squirrelmail搭建邮件服务器 |
1.Apache+Mysql环境搭建 安装xampp软件,在安装过程中选择如下安装。
2.安装Hmailserver 在安装过程中选择mysql数据库。
输入管理员密码。 把libmysql.dll复制到hmailserver/bin目录下,创建数据库。
然后选择mysql。 输入数据库信息。
安装完成后创建域名和账户。 3.搭建squirrelmail web 客户端 把squirrelmail复制到htdocs目录下。 安装ActivePerl_5.16.2.3010812913.msi 来执行htdocs\squirrelmail\config\conf.pl 只修改serversetting下面的domain
按S保存,并退出。接着会在htdocs\squirrelmail\config目录下生成config.php. 编辑config.php 把$data_dir = '/var/local/squirrelmail/data'; 改成 $data_dir = 'C:\xampp\htdocs\squirrelmail\data'; 把$data_dir = '/var/local/squirrelmail/attach'; 改成 $data_dir = 'C:\xampp\htdocs\squirrelmail\attach' 保存退出。 并在C:\xampp\htdocs\squirrelmail目录下创建目录attach 现在可以通过http://localhost/squirrelmail 访问。
4.web管理后台搭建 把hmailserver下的PhpWebAdmin复制到htdocs\squirrelmail目录下。 把config-dist.php改成config.php 编辑config.php 设置以下值 $hmail_config['rooturl']= "http://localhost/phpwebadmin/"; 其中localhost可以改为域名。 为了支持COM类,需要配置php.ini文件 编辑php.ini 添加 allow_dcom=true extension=php_com_dotnet.dll 然后重启apache服务。 接着可以打开http://localhost/phpwebadmin 页面。账号:administrator 密码:hmailserver设置的密码登录
5.参考资料 1) hMailServerdocumentation 2)架设Hmailserver+webmail邮件服务器 3)Squirrelmail documentation 4)Windows下配置HMailServer+Squirrelmail
|
今日新闻 |
点击排行 |
|
推荐新闻 |
图片新闻 |
|
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭 |