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.

在郵件服務器上建立兩個用戶,登陸系統而後互相發送一下郵件嘗試一下

相關文章
相關標籤/搜索