Linux与云计算——第二阶段Linux服务器架设 第七章:网站WEB服务器架设—电子邮件WEB端搭建SquirrelMail

Linux与云计算——第二阶段Linux服务器架设

第七章:网站WEB服务器架设—电子邮件WEB端搭建SquirrelMail


WEBMAIL:SquirrelMail

使用SquirrelMail配置一个基于WEB的邮件传输系统 php

www.example.com : SquirrelMail installed http Serverweb

mail.example.com : SMTP/IMAP Servervim

[1] 配置SMTP服务器

[2] 配置IMAP服务器

[3] 给http服务器安装PHP

[4] 配置SSL

[5] 安装和配置SquirrelMail.

[root@client ~]# yum -y install squirrelmail服务器

[root@client ~]# curl -O http://www.squirrelmail.org/plugins/compatibility-2.0.16-1.0.tar.gz app

[root@client ~]# curl -O http://www.squirrelmail.org/plugins/empty_trash-2.0-1.2.2.tar.gz curl

[root@client ~]# ls ide

[root@client ~]# tar zxvf compatibility-2.0.16-1.0.tar.gz -C /usr/share/squirrelmail/plugins 网站

[root@client ~]# tar zxvf empty_trash-2.0-1.2.2.tar.gz -C /usr/share/squirrelmail/plugins ui

[root@client ~]# tar zxvf secure_login-1.4-1.2.8.tar.gz -C /usr/share/squirrelmail/plugins 云计算

[root@client ~]# rm -f ./*.tar.gz

# 运行配置脚本

[root@client ~]# /usr/1share/squirrelmail/config/conf.pl

SquirrelMail Configuration : Read: config.php (1.4.0)

---------------------------------------------------------

Main Menu --

1.  Organization Preferences

2.  Server Settings

3.  Folder Defaults

4.  General Options

5.  Themes

6.  Address Books

7.  Message of the Day (MOTD)

8.  Plugins

9.  Database

10. Languages

 

D.  Set pre-defined settings for specific IMAP servers

 

C   Turn color off

S   Save data

Q   Quit

 

Command >> 1     

1---->5--->/webmail  修改登出页面

2---->1---->example.com(修改域名) ---->3---->2(修改SMTP发送邮件---->A----> 4---->mail.example.com(定义IMAP服务器) ---->8---->dovecot修改dovecot---->9---->detect---->B---->4---->mail.example.com---->7---->y---->login---->n

4---->7---->y

8---->7---->8---->15---->q---->y

 

You might want to test your configuration by browsing to

http://your-squirrelmail-location/src/configtest.php

Happy SquirrelMailing!

[root@client ~]# cp /usr/share/squirrelmail/plugins/secure_login/config.sample.php /usr/share/squirrelmail/plugins/secure_login/config.php

[root@client ~]# vim /usr/share/squirrelmail/plugins/secure_login/config.php

# line 24: 修改 (登录后依然使用SSL链接)

$change_back_to_http_after_login = 0;

[root@client ~]# systemctl restart httpd

[6] http://(服务器名或地址/)/webmail/', 而后使用用户帐户登录

[7] Just logined. Try to send or receive messages on here.

在邮件服务器上建立两个用户,登陆系统而后互相发送一下邮件尝试一下

相关文章
相关标签/搜索