提示:請先部署LAMP

上圖,安裝軟件包。

上圖,修改DNS主配置文件。

上圖,修改區域配置文件。

上圖,重啟後測試域名解析是否正常。

上圖,修改inet_interfaces = all.

上圖,將myhostname的值修改為mail.winsnet.com

上圖,將mydomain的值修改為winsnet.com

上圖,修改myorigin的值

上圖,修改mydestination的值

上圖,去掉home前面的#號。

上圖,啟動Postfix。


上圖,安裝telnet軟件包。

上圖,使用telnet命令測試郵件。


上圖,查看測試是否正常。

上圖,創建這兩個用戶,不讓登陸本地系統。


上圖,安裝dovecot源碼軟件包。


上圖,復制配置文件到相關文件夾。

上圖,相關/etc/dovecot/dovecot.conf主配置文件。

上圖,修改/etc/dovecot/conf.d/10-ssl.conf,修改ssl = no

上圖,將那兩行注釋。

上圖,修改/etc/dovecot/conf.d/10-auth.conf.那行修改為NO。

上圖,修改/etc/dovecot/conf.d/10-mail.conf。將那行前面的#號去掉。

上圖,復制生成新的認證配置文件。

上圖,添加那一行。




上圖,測試正常。

上圖,webmail解壓到網站主目錄。

上圖,進入配置。


上圖,配置界面菜單。

上圖,組織參數配置界面。

上圖,服務器設置界面。

上圖,語言參數界面。

上圖,創建用於存儲用戶的個人信息及附件內容。將文件夾的所有者配置為daemon用戶。

上圖,解壓語言包。


上圖,測試郵件。

上圖,添加電信DNS。

上圖,解析外網正常。


上圖,配置密碼驗證方式。

上圖,啟動密碼驗證服務。

上圖,在主配置文件添加這些配置項。

上圖,驗證正常。




上圖,驗證郵件正常。