mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-29 21:41:00 +08:00
97bd3352b5
renamed: 10 ssh options for a Secure shell for Safe Data Communication.md -> 201404/10 ssh options for a Secure shell for Safe Data Communication.md renamed: 20 Funny Commands of Linux or Linux is Fun in Terminal.md -> 201404/20 Funny Commands of Linux or Linux is Fun in Terminal.md renamed: 2048 Now Available For Offline Play In Ubuntu.md -> 201404/2048 Now Available For Offline Play In Ubuntu.md renamed: "5 Command Line Tools for Downloading Files\357\274\217Torrents and Browsing Websites.md" -> "201404/5 Command Line Tools for Downloading Files\357\274\217Torrents and Browsing Websites.md" renamed: 5 Linux Distributions that Deserve more Love.md -> 201404/5 Linux Distributions that Deserve more Love.md renamed: A Beginners Guide for XP Users to Switch to Linux.md -> 201404/A Beginners Guide for XP Users to Switch to Linux.md renamed: Beautiful Zukitwo Theme Is the First One for GNOME 3.12.md -> 201404/Beautiful Zukitwo Theme Is the First One for GNOME 3.12.md renamed: Because You Can--Windows 8 GTK Theme For Linux.md -> 201404/Because You Can--Windows 8 GTK Theme For Linux.md renamed: Collectl is a powerful tool to monitor system resources on Linux.md -> 201404/Collectl is a powerful tool to monitor system resources on Linux.md renamed: "Daily Ubuntu Tips \342\200\223 Fix Black Screen In Ubuntu Guest With VirtualBox Screen Capture.md" -> "201404/Daily Ubuntu Tips \342\200\223 Fix Black Screen In Ubuntu Guest With VirtualBox Screen Capture.md" renamed: "Daily Ubuntu Tips \342\200\223 HPLIP 3.14.3 Released \342\200\223 Upgrade In Ubuntu.md" -> "201404/Daily Ubuntu Tips \342\200\223 HPLIP 3.14.3 Released \342\200\223 Upgrade In Ubuntu.md" renamed: Easily Switch Audio Sources With Sound Switcher Indicator In Ubuntu.md -> 201404/Easily Switch Audio Sources With Sound Switcher Indicator In Ubuntu.md renamed: GitHub's New Atom Text Editor Is Open Source, Sort Of, Though Not Really.md -> 201404/GitHub's New Atom Text Editor Is Open Source, Sort Of, Though Not Really.md renamed: Here Are Top 20 Linux Tutorials!.md -> 201404/Here Are Top 20 Linux Tutorials!.md renamed: How To Find IP Conflicts In Linux.md -> 201404/How To Find IP Conflicts In Linux.md renamed: How to Wipe Free Disk Space in Linux.md -> 201404/How to Wipe Free Disk Space in Linux.md renamed: How to enable 32-bit support for 64-bit Ubuntu 13.10 or greater.md -> 201404/How to enable 32-bit support for 64-bit Ubuntu 13.10 or greater.md renamed: How to set up RainLoop webmail in Ubuntu server.md -> 201404/How to set up RainLoop webmail in Ubuntu server.md renamed: How to spoof the MAC address of a network interface on Linux.md -> 201404/How to spoof the MAC address of a network interface on Linux.md renamed: Interesting facts about Raspberry Pi.md -> 201404/Interesting facts about Raspberry Pi.md renamed: Linux 3.15 Will Dramatically Reduce Suspend And Resume Times!.md -> 201404/Linux 3.15 Will Dramatically Reduce Suspend And Resume Times!.md renamed: Linux Basics--Analyze Disk Usage In Ubuntu Linux.md -> 201404/Linux Basics--Analyze Disk Usage In Ubuntu Linux.md renamed: Linux Commands Cheat Sheet in Black & White.md -> 201404/Linux Commands Cheat Sheet in Black & White.md renamed: Linux Kernel News - January and February 2014.md -> 201404/Linux Kernel News - January and February 2014.md renamed: Linux and Unix nload App - Monitor Network Traffic and Bandwidth Usage In Real Time.md -> 201404/Linux and Unix nload App - Monitor Network Traffic and Bandwidth Usage In Real Time.md renamed: Meet uGet, an Amazing Download Manager for Linux.md -> 201404/Meet uGet, an Amazing Download Manager for Linux.md renamed: Moving a city to Linux requires political backing, says Munich project leader.md -> 201404/Moving a city to Linux requires political backing, says Munich project leader.md renamed: Open Source Isn't Just For Developers Anymore.md -> 201404/Open Source Isn't Just For Developers Anymore.md renamed: Play the Best Linux Puzzle Games.md -> 201404/Play the Best Linux Puzzle Games.md renamed: Red Hat Updates Open Source Software Development Tools.md -> 201404/Red Hat Updates Open Source Software Development Tools.md renamed: Ubuntu Touch Email Client Mockup Design Looks Fantastic.md -> 201404/Ubuntu Touch Email Client Mockup Design Looks Fantastic.md renamed: Ultimate Edition 3.9 Linux Distro Is a Complete Mess.md -> 201404/Ultimate Edition 3.9 Linux Distro Is a Complete Mess.md renamed: What if Linus Torvalds Would Have Accepted Job Proposal of Steve Jobs.md -> 201404/What if Linus Torvalds Would Have Accepted Job Proposal of Steve Jobs.md renamed: What is good video editing software on Linux.md -> 201404/What is good video editing software on Linux.md renamed: Windows 7 & 8 Complete Transformation Pack Out for Ubuntu, Debian 8, and Arch Linux.md -> 201404/Windows 7 & 8 Complete Transformation Pack Out for Ubuntu, Debian 8, and Arch Linux.md renamed: nSnake--Play The Classic Snake Game In Linux Terminal.md -> 201404/nSnake--Play The Classic Snake Game In Linux Terminal.md
104 lines
4.2 KiB
Markdown
104 lines
4.2 KiB
Markdown
如何在 Ubuntu server 中设置 RainLoop Webmail
|
||
================================================================================
|
||
Webmail无疑是任何邮件服务器必不可少的一部分。虽然本地邮件客户端通常比Webmail的功能更多,但通过电子邮件客户端从外部可信的网络访问IMAP或SMTP有时会很棘手。再者,当你需要在一个特定的工作站、笔记本电脑或者移动设备去使用一个电子邮件客户端时,你可以在任何地方使用Webmail服务,只要你接入互联网。
|
||
|
||
本教程的重点是在一个运行 Apache 的 Ubuntu 服务器上安装配置[RainLoop][1] Webmail。RainLoop 是基于 PHP 的Webmail,并且有以下功能。
|
||
|
||
- 支持apache,nginx和其它网页服务器。
|
||
- 标准接口补充了一个主题库可供选择。
|
||
- 个人和非盈利项目可免费使用。
|
||
|
||
在写这篇文章时,RainLoop 还不支持邮件过滤和不在公司时的自动回复。
|
||
|
||
### 在 Ubuntu 服务器上安装 RainLoop ###
|
||
|
||
首先,在服务器上设置必备的软件包。
|
||
|
||
# apt-get install wget unzip apache2 php5 php5-mysql libmysqlclient15-dev mysql-server poppassd
|
||
|
||
接下来,下载和安装 RainLoop。
|
||
|
||
# mkdir /var/www/webmail
|
||
# cd /var/www/webmail
|
||
# wget http://repository.Rainloop.net/v1/Rainloop-1.6.3.706-e3c14e17bc4370a1561bcc68d1d494fd.zip
|
||
# unzip Rainloop-1.6.3.706-e3c14e17bc4370a1561bcc68d1d494fd.zip
|
||
# rm Rainloop-*.zip
|
||
|
||
然后设置必要的权限。
|
||
|
||
# cd /var/www/webmail
|
||
# find . -type d -exec chmod 755 {} \;
|
||
# find . -type f -exec chmod 644 {} \;
|
||
# chown –R www-data:www-data /var/www/webmail
|
||
|
||
我们马上就可以使用 RainLoop 了。最后,通过管理面板进行调整,接下来会有详细描述。
|
||
|
||
### 通过管理面板首次配置 ###
|
||
|
||
很多配置参数通过一款界面友好的管理面板就能调整。使用以下凭证进入管理面板。
|
||
|
||
1. URL: http://IP/webmail/?admin
|
||
1. user: admin
|
||
1. Pass: 12345
|
||
|
||
当然,建议尽快修改默认密码。我们将使用管理面板去调整一下设置。
|
||
|
||
### 增加邮件域 ###
|
||
|
||
在 管理面板> 域> 增加域 页面设置有效的域。建议服务器 IP 是本地服务器,如 127.0.0.1。基于服务器配置,RainLoop 可以配置使用 IMAP/IMAPS 或 SMTP/SMTPS。并且,确认‘使用短登录表单’复选框已勾选。
|
||
|
||
![](http://farm4.staticflickr.com/3736/12603680854_eb22bd8eb8_z.jpg)
|
||
|
||
使用‘测试连接’按钮验证设置。
|
||
|
||
### 启用联系人 ###
|
||
|
||
联系人功能需要数据库支持。我们将使用 MySQL 数据库启用联系人。RainLoop 可以手动创建所需的数据库,如下。
|
||
|
||
# mysql -u root -p
|
||
|
||
mysqlcreate database rainloop;
|
||
mysqlexit;
|
||
|
||
现在这个功能可以通过管理面板>联系人页面启用。
|
||
|
||
![](http://farm8.staticflickr.com/7452/12603262215_2299bdafc5_z.jpg)
|
||
|
||
再来一次,使用‘测试’按钮检查设置。
|
||
|
||
### 启动密码更改插件 ###
|
||
|
||
在多数 linux 的邮件账户的邮件服务器是用自己的 UID 和 GID 操作系统的实际用户。因此,在过去更改这些账户的密码是很棘手的。幸好,今天有工具可以完成这个工作。这个工具是 poppassd。
|
||
|
||
第一步是在服务器上安装 poppassd,可以用 apt-get 来完成。
|
||
|
||
# apt-get install poppassd
|
||
|
||
接下来,去允许 RainLoop 使用 poppassd,从 管理面板> 软件包 页面安装 RainLoop 插件 poppassd。
|
||
|
||
![](http://farm4.staticflickr.com/3734/12603357113_a966caf534_z.jpg)
|
||
|
||
最后,poppassd 插件可以从 管理面板> 插件页面启用。
|
||
|
||
![](http://farm8.staticflickr.com/7356/12603681254_56fc0b3e9f_z.jpg)
|
||
|
||
现在所有参数已设置,用户可以从他们提供的凭证登录,如截图所示。
|
||
|
||
- URL: http://IP/webmail
|
||
- user: user@domain
|
||
- pass: password
|
||
|
||
![](http://farm4.staticflickr.com/3721/12603357333_724fbddaff_z.jpg)
|
||
|
||
希望这篇文章能帮助到你。
|
||
|
||
--------------------------------------------------------------------------------
|
||
|
||
via: http://xmodulo.com/2014/02/rainloop-webmail-ubuntu-server.html
|
||
|
||
译者:[Vito](https://github.com/vito-L) 校对:[Caroline](https://github.com/carolinewuyan)
|
||
|
||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
|
||
|
||
[1]:http://rainloop.net/
|