个人工具
登录
查看“UbuntuHelp:Squirrelmail”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:Squirrelmail”的源代码
来自Ubuntu中文
←
UbuntuHelp:Squirrelmail
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/Squirrelmail}} {{Languages|UbuntuHelp:Squirrelmail}} == Introduction == Webmail is software which allows you to view email from any computer, anywhere in the world, through your web browser. Squirrelmail is a simple, fast and popular webmail package. The website is [http://www.squirrelmail.org/ here]. This guide will enable you to setup webmail on your own server, for use either within your home network, or outside. == Preparation == In order to run, you need to first set up a number of things: * A working Mail Transfer Engine, see [[UbuntuHelp:MailServer|MailServer]] * A working (IMAP) Mail Delivery Agent, see [[UbuntuHelp:MailServer|MailServer]] * A working Apache installation with PHP, see the [[UbuntuHelp:ApacheMySQLPHP|Apache]] page. * Squirrel mail does not require MySQL, so you can run it on a server without MySQL installed. However if you wish, you can use MySQL for addressbooks, to set up MySQL, see the [[UbuntuHelp:ApacheMySQLPHP|Apache]] page. == Installation == Install the following packages: <code><nowiki>squirrelmail</nowiki></code> (see [[UbuntuHelp:InstallingSoftware|InstallingSoftware]]). == Configuration == === Squirrelmail Configuration === Squirrelmail has a very simple configuration menu. To run it, type:<pre><nowiki> sudo squirrelmail-configure</nowiki></pre> You can use the numbers and letters to browse through the configuration menu. You don't need to edit all the options. In fact, it is a good idea just to edit the necessary options, until you have squirrelmail working, because it is easier to see what might be wrong. After squirrelmail is working, you can customise all the options! It is a good idea to check the following options though: * In ''Menu 2'' (mail server settings), although you shouldn't have to edit these, just check they are correct. You can use an imaps server if you like, but if squirrelmail is running on the same machine as your mail server, it is faster and perfectly safe to use imap (you can configure your imap server to ensure that it only listens on <code><nowiki>localhost</nowiki></code> if you like). Check that your mail settings are:<pre><nowiki> A. Update IMAP Settings : localhost:143 (other) B. Update SMTP Settings : localhost:25</nowiki></pre> * In ''Menu 4'' (general settings), it is a good idea to enable option 11 (Allow server-side sorting). Go on to configure Apache, and then come back and explore the other options! === Apache Configuration === Squirrelmail comes with a sample apache configuration file in <code><nowiki>/etc/squirrelmail/apache.conf</nowiki></code>. You can copy this file to <code><nowiki>/etc/apache2/sites-available/squirrelmail</nowiki></code> with the command:<pre><nowiki> sudo cp /etc/squirrelmail/apache.conf /etc/apache2/sites-available/squirrelmail </nowiki></pre>then link it to the sites-enabled directory with the command:<pre><nowiki> sudo ln -s /etc/apache2/sites-available/squirrelmail /etc/apache2/sites-enabled/squirrelmail </nowiki></pre> Alternatively you can use the a2ensite tool:<pre><nowiki> a2ensite squirrelmail</nowiki></pre> You shouldn't have to edit anything else. Alternatively, if you wish to use a virtual server setup instead, you can. For setting up SSL, uncomment the last section from the configuration file. For more details on how to use apache, see the [[UbuntuHelp:ApacheMySQLPHP|Apache]] page. Restart Apache: <pre><nowiki> sudo /etc/init.d/apache2 restart</nowiki></pre> If you ever wish to disable squirrelmail, you may simply delete the link in the site-enabled directory and restart Apache. == Check it works! == Open a webbrowser, and go to the address <code><nowiki>http://localhost/squirrelmail</nowiki></code>. Change <code><nowiki>localhost</nowiki></code> for the address of your server, or your virtualhost, if you have used that Apache setup. You should see the Squirrelmail login box! == Add plugins == On of the strength of squirrelmail is the large amount of plugins that can be added to the webmail. You can find a list of the plugins available [http://www.squirrelmail.org/plugins.php here]. Installation is very easy, just unpack the plugins in <code><nowiki>/usr/share/squirrelmail/plugins/</nowiki></code> and look for a <code><nowiki>README</nowiki></code> or an <code><nowiki>INSTALL</nowiki></code> file in the plugin directory. For plugin activation, you have to launch the configuration utility of squirrelmail as described in squirrelmail configuration section by typing <code><nowiki>sudo squirrelmail-configure</nowiki></code> == A note about LDAP == A neat setup is to configure both Squirrelmail and Evolution to use LDAP to store addresses - that way, you can access your contact list via Squirrelmail when you're away from home. However, Squirrelmail's default LDAP settings won't talk to OpenLDAP's default settings unless you set Protocol to 3 when adding an LDAP server. [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:Squirrelmail
。