特殊:Badtitle/NS100:MailServer:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第5行: | 第5行: | ||
Setting up an email server is a difficult process involving a number of different programs, each of which needs to be properly configured. The best approach is to install and configure each individual component one by one, ensuring that each one works, and gradually build your mail server. | Setting up an email server is a difficult process involving a number of different programs, each of which needs to be properly configured. The best approach is to install and configure each individual component one by one, ensuring that each one works, and gradually build your mail server. | ||
=== Mail Transfer Agent === | === Mail Transfer Agent === | ||
A Mail Transfer Agent (MTA) is the program which receives and sends out the email from your server, and is therefore the key part. The default MTA in Ubuntu is [http://www.postfix.org Postfix], but [http://www.exim.org/ exim4] is also fully supported and in the main repository. | A Mail Transfer Agent (MTA) is the program which receives and sends out the email from your server, and is therefore the key part. The default MTA in Ubuntu is [[http://www.postfix.org|Postfix]], but [[http://www.exim.org/|exim4]] is also fully supported and in the main repository. | ||
* [[ | * [[Postfix]] - this guide explains how to set up Postfix. | ||
=== Mail filtering === | === Mail filtering === | ||
You can add filtering in your mail chain, mainly in order to detect spam and viruses. | You can add filtering in your mail chain, mainly in order to detect spam and viruses. | ||
* [[ | * [[PostfixAmavisNew]] - this guide explains how to integrate amavisd-new with Postfix. | ||
* [[UbuntuHelp:PostfixGreylisting|PostfixGreylisting]] - this guide explains how to install [http://postgrey.schweikert.ch/ Postgrey] to implement [http://projects.puremagic.com/greylisting/ greylisting] | * [[UbuntuHelp:PostfixGreylisting|PostfixGreylisting]] - this guide explains how to install [[http://postgrey.schweikert.ch/|Postgrey]] to implement [[http://projects.puremagic.com/greylisting/|greylisting]] | ||
=== Mail Delivery Agent === | === Mail Delivery Agent === | ||
In order to allow you or others to download email from other locations, you need to setup an IMAP or POP3 server. Again, there are many of these, with different advantages and disadvantages. All the servers presented here can be found in the Ubuntu ''main'' repository, which means that it receives security updates when necessary. | In order to allow you or others to download email from other locations, you need to setup an IMAP or POP3 server. Again, there are many of these, with different advantages and disadvantages. All the servers presented here can be found in the Ubuntu ''main'' repository, which means that it receives security updates when necessary. | ||
* [[ | * [[Dovecot]] - this guide explains how to set up Dovecot as a mail server. [[http://www.dovecot.org|Dovecot]] is a good mail server which is simple to setup. | ||
* [[ | * [[Courier]] - this guide explains how to set up Courier as a mail server. [[http://www.courier-mta.org|Courier]] is also quite simple to use and can be used with external database for managing virtual users. It is widely used. | ||
* [[ | * [[Cyrus]] - this guide explains how to set up Cyrus as a mail server. [[http://asg.web.cmu.edu/cyrus/|Cyrus]] is of those MDA the most complicated server. Neverthless, it is the more scalable and a widely used server. It only supports virtual users. '''Warning: Cyrus has been dropped from main.''' It is in universe on dapper and edgy and thus doesn't necessarily receive security updates. | ||
=== Webmail === | === Webmail === | ||
Webmail permits you and your email users to view their email via their webbrowser from anywhere in the world. You'll need to have setup a MTA, a MDA and a webserver (see the [[ | Webmail permits you and your email users to view their email via their webbrowser from anywhere in the world. You'll need to have setup a MTA, a MDA and a webserver (see the [[ApacheMySQLPHP|Apache]] page) for these to work. | ||
* [[ | * [[Squirrelmail]] - this guide explains how to set up Squirrelmail webmail. | ||
* [[ | * [[OpenWebMail]] - this guide explains how to set up the [[UbuntuHelp:OpenWebMail|OpenWebMail]] application. | ||
=== Mailing lists === | === Mailing lists === | ||
You can add to your mail server a mailing-list system to deliver mails to a large number of people, let someone else manage subscription, manage people who are posting, moderate messages. | You can add to your mail server a mailing-list system to deliver mails to a large number of people, let someone else manage subscription, manage people who are posting, moderate messages. | ||
* [[ | * [[Mailman]] - this guide explains howto setup a mailman installation on Postfix and Exim. | ||
== Related Articles == | == Related Articles == | ||
* [[ | * [[POP3Aggregator]] - this guide explains how to set up an IMAP mail server with Dovecot that will download your mail from an external POP3 server, and allow you to access the mail using any IMAP-compatible email client. | ||
----- | ----- | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年10月19日 (日) 12:50的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/MailServer }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/af | • {{#if: UbuntuHelp:MailServer|Afrikaans| [[::MailServer/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/ar | • {{#if: UbuntuHelp:MailServer|العربية| [[::MailServer/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/az | • {{#if: UbuntuHelp:MailServer|azərbaycanca| [[::MailServer/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/bcc | • {{#if: UbuntuHelp:MailServer|جهلسری بلوچی| [[::MailServer/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/bg | • {{#if: UbuntuHelp:MailServer|български| [[::MailServer/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/br | • {{#if: UbuntuHelp:MailServer|brezhoneg| [[::MailServer/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/ca | • {{#if: UbuntuHelp:MailServer|català| [[::MailServer/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/cs | • {{#if: UbuntuHelp:MailServer|čeština| [[::MailServer/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/de | • {{#if: UbuntuHelp:MailServer|Deutsch| [[::MailServer/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/el | • {{#if: UbuntuHelp:MailServer|Ελληνικά| [[::MailServer/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/es | • {{#if: UbuntuHelp:MailServer|español| [[::MailServer/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/fa | • {{#if: UbuntuHelp:MailServer|فارسی| [[::MailServer/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/fi | • {{#if: UbuntuHelp:MailServer|suomi| [[::MailServer/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/fr | • {{#if: UbuntuHelp:MailServer|français| [[::MailServer/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/gu | • {{#if: UbuntuHelp:MailServer|ગુજરાતી| [[::MailServer/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/he | • {{#if: UbuntuHelp:MailServer|עברית| [[::MailServer/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/hu | • {{#if: UbuntuHelp:MailServer|magyar| [[::MailServer/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/id | • {{#if: UbuntuHelp:MailServer|Bahasa Indonesia| [[::MailServer/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/it | • {{#if: UbuntuHelp:MailServer|italiano| [[::MailServer/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/ja | • {{#if: UbuntuHelp:MailServer|日本語| [[::MailServer/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/ko | • {{#if: UbuntuHelp:MailServer|한국어| [[::MailServer/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/ksh | • {{#if: UbuntuHelp:MailServer|Ripoarisch| [[::MailServer/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/mr | • {{#if: UbuntuHelp:MailServer|मराठी| [[::MailServer/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/ms | • {{#if: UbuntuHelp:MailServer|Bahasa Melayu| [[::MailServer/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/nl | • {{#if: UbuntuHelp:MailServer|Nederlands| [[::MailServer/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/no | • {{#if: UbuntuHelp:MailServer|norsk| [[::MailServer/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/oc | • {{#if: UbuntuHelp:MailServer|occitan| [[::MailServer/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/pl | • {{#if: UbuntuHelp:MailServer|polski| [[::MailServer/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/pt | • {{#if: UbuntuHelp:MailServer|português| [[::MailServer/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/ro | • {{#if: UbuntuHelp:MailServer|română| [[::MailServer/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/ru | • {{#if: UbuntuHelp:MailServer|русский| [[::MailServer/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/si | • {{#if: UbuntuHelp:MailServer|සිංහල| [[::MailServer/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/sq | • {{#if: UbuntuHelp:MailServer|shqip| [[::MailServer/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/sr | • {{#if: UbuntuHelp:MailServer|српски / srpski| [[::MailServer/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/sv | • {{#if: UbuntuHelp:MailServer|svenska| [[::MailServer/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/th | • {{#if: UbuntuHelp:MailServer|ไทย| [[::MailServer/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/tr | • {{#if: UbuntuHelp:MailServer|Türkçe| [[::MailServer/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/vi | • {{#if: UbuntuHelp:MailServer|Tiếng Việt| [[::MailServer/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/yue | • {{#if: UbuntuHelp:MailServer|粵語| [[::MailServer/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/zh | • {{#if: UbuntuHelp:MailServer|中文| [[::MailServer/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/zh-hans | • {{#if: UbuntuHelp:MailServer|中文(简体)| [[::MailServer/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MailServer | UbuntuHelp:MailServer | {{#if: | :}}MailServer}}/zh-hant | • {{#if: UbuntuHelp:MailServer|中文(繁體)| [[::MailServer/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:MailServer|:MailServer|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :MailServer/zh | | {{#ifexist: MailServer/zh | | {{#ifeq: {{#titleparts:MailServer|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:MailServer|1|-1|}} | zh | | }}
Setting up an Ubuntu System as an Email Server
Introduction
Setting up an email server is a difficult process involving a number of different programs, each of which needs to be properly configured. The best approach is to install and configure each individual component one by one, ensuring that each one works, and gradually build your mail server.
Mail Transfer Agent
A Mail Transfer Agent (MTA) is the program which receives and sends out the email from your server, and is therefore the key part. The default MTA in Ubuntu is [[1]], but [[2]] is also fully supported and in the main repository.
- Postfix - this guide explains how to set up Postfix.
Mail filtering
You can add filtering in your mail chain, mainly in order to detect spam and viruses.
- PostfixAmavisNew - this guide explains how to integrate amavisd-new with Postfix.
- PostfixGreylisting - this guide explains how to install [[3]] to implement [[4]]
Mail Delivery Agent
In order to allow you or others to download email from other locations, you need to setup an IMAP or POP3 server. Again, there are many of these, with different advantages and disadvantages. All the servers presented here can be found in the Ubuntu main repository, which means that it receives security updates when necessary.
- Dovecot - this guide explains how to set up Dovecot as a mail server. [[5]] is a good mail server which is simple to setup.
- Courier - this guide explains how to set up Courier as a mail server. [[6]] is also quite simple to use and can be used with external database for managing virtual users. It is widely used.
- Cyrus - this guide explains how to set up Cyrus as a mail server. [[7]] is of those MDA the most complicated server. Neverthless, it is the more scalable and a widely used server. It only supports virtual users. Warning: Cyrus has been dropped from main. It is in universe on dapper and edgy and thus doesn't necessarily receive security updates.
Webmail
Webmail permits you and your email users to view their email via their webbrowser from anywhere in the world. You'll need to have setup a MTA, a MDA and a webserver (see the Apache page) for these to work.
- Squirrelmail - this guide explains how to set up Squirrelmail webmail.
- OpenWebMail - this guide explains how to set up the OpenWebMail application.
Mailing lists
You can add to your mail server a mailing-list system to deliver mails to a large number of people, let someone else manage subscription, manage people who are posting, moderate messages.
- Mailman - this guide explains howto setup a mailman installation on Postfix and Exim.
Related Articles
- POP3Aggregator - this guide explains how to set up an IMAP mail server with Dovecot that will download your mail from an external POP3 server, and allow you to access the mail using any IMAP-compatible email client.