特殊:Badtitle/NS100:Squirrelmail/zh:修订间差异
无编辑摘要 |
|||
第3行: | 第3行: | ||
{{Translator|changems}} | {{Translator|changems}} | ||
{{Languages|UbuntuHelp:Squirrelmail}} | {{Languages|UbuntuHelp:Squirrelmail}} | ||
== | == 简介 == | ||
Webmail是一种让你通过web浏览器查看邮件的软件,无论你身处何方使用什么样的计算机。Squirrelmail是一个简单,快速而且非常流行的webmail软件包。[http://www.squirrelmail.org/ 这里]是网址链接。这个指导可以让你在自己的服务器上建立起一个即可以在家庭网络也可以在外面使用的webmail。 | |||
== Preparation == | == Preparation == | ||
In order to run, you need to first set up a number of things: | In order to run, you need to first set up a number of things: |
2009年4月2日 (四) 15:23的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Squirrelmail }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/af | • {{#if: UbuntuHelp:Squirrelmail|Afrikaans| [[::Squirrelmail/zh/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/ar | • {{#if: UbuntuHelp:Squirrelmail|العربية| [[::Squirrelmail/zh/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/az | • {{#if: UbuntuHelp:Squirrelmail|azərbaycanca| [[::Squirrelmail/zh/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/bcc | • {{#if: UbuntuHelp:Squirrelmail|جهلسری بلوچی| [[::Squirrelmail/zh/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/bg | • {{#if: UbuntuHelp:Squirrelmail|български| [[::Squirrelmail/zh/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/br | • {{#if: UbuntuHelp:Squirrelmail|brezhoneg| [[::Squirrelmail/zh/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/ca | • {{#if: UbuntuHelp:Squirrelmail|català| [[::Squirrelmail/zh/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/cs | • {{#if: UbuntuHelp:Squirrelmail|čeština| [[::Squirrelmail/zh/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/de | • {{#if: UbuntuHelp:Squirrelmail|Deutsch| [[::Squirrelmail/zh/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/el | • {{#if: UbuntuHelp:Squirrelmail|Ελληνικά| [[::Squirrelmail/zh/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/es | • {{#if: UbuntuHelp:Squirrelmail|español| [[::Squirrelmail/zh/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/fa | • {{#if: UbuntuHelp:Squirrelmail|فارسی| [[::Squirrelmail/zh/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/fi | • {{#if: UbuntuHelp:Squirrelmail|suomi| [[::Squirrelmail/zh/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/fr | • {{#if: UbuntuHelp:Squirrelmail|français| [[::Squirrelmail/zh/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/gu | • {{#if: UbuntuHelp:Squirrelmail|ગુજરાતી| [[::Squirrelmail/zh/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/he | • {{#if: UbuntuHelp:Squirrelmail|עברית| [[::Squirrelmail/zh/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/hu | • {{#if: UbuntuHelp:Squirrelmail|magyar| [[::Squirrelmail/zh/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/id | • {{#if: UbuntuHelp:Squirrelmail|Bahasa Indonesia| [[::Squirrelmail/zh/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/it | • {{#if: UbuntuHelp:Squirrelmail|italiano| [[::Squirrelmail/zh/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/ja | • {{#if: UbuntuHelp:Squirrelmail|日本語| [[::Squirrelmail/zh/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/ko | • {{#if: UbuntuHelp:Squirrelmail|한국어| [[::Squirrelmail/zh/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/ksh | • {{#if: UbuntuHelp:Squirrelmail|Ripoarisch| [[::Squirrelmail/zh/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/mr | • {{#if: UbuntuHelp:Squirrelmail|मराठी| [[::Squirrelmail/zh/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/ms | • {{#if: UbuntuHelp:Squirrelmail|Bahasa Melayu| [[::Squirrelmail/zh/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/nl | • {{#if: UbuntuHelp:Squirrelmail|Nederlands| [[::Squirrelmail/zh/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/no | • {{#if: UbuntuHelp:Squirrelmail|norsk| [[::Squirrelmail/zh/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/oc | • {{#if: UbuntuHelp:Squirrelmail|occitan| [[::Squirrelmail/zh/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/pl | • {{#if: UbuntuHelp:Squirrelmail|polski| [[::Squirrelmail/zh/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/pt | • {{#if: UbuntuHelp:Squirrelmail|português| [[::Squirrelmail/zh/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/ro | • {{#if: UbuntuHelp:Squirrelmail|română| [[::Squirrelmail/zh/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/ru | • {{#if: UbuntuHelp:Squirrelmail|русский| [[::Squirrelmail/zh/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/si | • {{#if: UbuntuHelp:Squirrelmail|සිංහල| [[::Squirrelmail/zh/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/sq | • {{#if: UbuntuHelp:Squirrelmail|shqip| [[::Squirrelmail/zh/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/sr | • {{#if: UbuntuHelp:Squirrelmail|српски / srpski| [[::Squirrelmail/zh/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/sv | • {{#if: UbuntuHelp:Squirrelmail|svenska| [[::Squirrelmail/zh/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/th | • {{#if: UbuntuHelp:Squirrelmail|ไทย| [[::Squirrelmail/zh/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/tr | • {{#if: UbuntuHelp:Squirrelmail|Türkçe| [[::Squirrelmail/zh/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/vi | • {{#if: UbuntuHelp:Squirrelmail|Tiếng Việt| [[::Squirrelmail/zh/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/yue | • {{#if: UbuntuHelp:Squirrelmail|粵語| [[::Squirrelmail/zh/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/zh | • {{#if: UbuntuHelp:Squirrelmail|中文| [[::Squirrelmail/zh/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/zh-hans | • {{#if: UbuntuHelp:Squirrelmail|中文(简体)| [[::Squirrelmail/zh/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Squirrelmail | UbuntuHelp:Squirrelmail | {{#if: | :}}Squirrelmail/zh}}/zh-hant | • {{#if: UbuntuHelp:Squirrelmail|中文(繁體)| [[::Squirrelmail/zh/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Squirrelmail|:Squirrelmail/zh|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Squirrelmail/zh/zh | | {{#ifexist: Squirrelmail/zh/zh | | {{#ifeq: {{#titleparts:Squirrelmail/zh|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Squirrelmail/zh|1|-1|}} | zh | | }}
简介
Webmail是一种让你通过web浏览器查看邮件的软件,无论你身处何方使用什么样的计算机。Squirrelmail是一个简单,快速而且非常流行的webmail软件包。这里是网址链接。这个指导可以让你在自己的服务器上建立起一个即可以在家庭网络也可以在外面使用的webmail。
Preparation
In order to run, you need to first set up a number of things:
- A working Mail Transfer Engine, see MailServer
- A working (IMAP) Mail Delivery Agent, see MailServer
- A working Apache installation with PHP, see the 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 Apache page.
Installation
Install the following packages: squirrelmail
(see InstallingSoftware).
Configuration
Squirrelmail Configuration
Squirrelmail has a very simple configuration menu. To run it, type:
sudo squirrelmail-configure
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
localhost
if you like). Check that your mail settings are:
A. Update IMAP Settings : localhost:143 (other)
B. Update SMTP Settings : localhost:25
- 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 /etc/squirrelmail/apache.conf
. You can copy this file to /etc/apache2/sites-available/squirrelmail
with the command:
sudo cp /etc/squirrelmail/apache.conf /etc/apache2/sites-available/squirrelmail
then link it to the sites-enabled directory with the command:
sudo ln -s /etc/apache2/sites-available/squirrelmail /etc/apache2/sites-enabled/squirrelmail
Alternatively you can use the a2ensite tool:
sudo a2ensite squirrelmail
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 Apache page.
Reload Apache Configuration:
sudo /etc/init.d/apache2 force-reload
If you ever wish to disable squirrelmail, you may simply delete the link in the site-enabled directory and Reload Apache's Configuration.
Check it works!
Open a webbrowser, and go to the address http://localhost/squirrelmail
. Change localhost
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 here. Installation is very easy, just unpack the plugins in /usr/share/squirrelmail/plugins/
and look for a README
or an INSTALL
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 sudo squirrelmail-configure
and selecting Option 8: Plugins.
There are a few plugins bundled with the Squirrelmail package - have a look at "abook_take" (add email addresses from an email) and "delete_move_next" (message deletion and moving options from within the message preview). It is also worth having a look at the Addressbook import/export plugin "abook_import_export".
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.
Hardy Heron Issues
Using the early release of Hardy Heron Ubuntu, you may encounter some additional configuration problems.
Firstly, you are prompted to run /usr/sbin/squirrelmail-configure
for configuration, however this does not work since it attempts to locate configuration files relative to the configuration program location. Instead you must run it via the soft link in /etc/squirrelmail
, i.e.:
/etc/squirrelmail/conf.pl
Secondly, the user preferences data directories defined in the default squirrelmail configuration do not match those created by the ubuntu installation. Under Menu 4 you should change Data Directory to /var/lib/squirrelmail/data/
and also change Attachment Directory to /var/spool/squirrelmail/attach/
.
Thirdly, squirrelmail cannot seem to locate its default user preferences file. This results in the error Error opening ../data/default_pref when accessing the login page. The simplest way to resolve this appears to be by creating a soft link via:
ln -s /etc/squirrelmail/default_pref /var/lib/squirrelmail/data/default_pref