特殊:Badtitle/NS100:MailServer:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Oneleaf留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
第2行: 第2行:
{{Languages|UbuntuHelp:MailServer}}
{{Languages|UbuntuHelp:MailServer}}
== Setting up an Ubuntu System as an Email Server ==
== Setting up an Ubuntu System as an Email Server ==
=== Introduction ===
=== 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.
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.
* [[UbuntuHelp:Postfix]] - this guide explains how to set up Postfix.
* [[UbuntuHelp: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.
* [[UbuntuHelp:PostfixAmavisNew]] - this guide explains how to integrate amavisd-new with Postfix.
* [[UbuntuHelp:PostfixAmavisNew]] - this guide explains how to integrate amavisd-new with Postfix.
* PostfixGreylisting - this guide explains how to install [http://postgrey.schweikert.ch/ Postgrey] to implement [http://projects.puremagic.com/greylisting/ greylisting]
* 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.
* [[UbuntuHelp: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.
* [[UbuntuHelp: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.
* [[UbuntuHelp:Courier]] - this guide explains how to set up Courier as a mail. [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.
* [[UbuntuHelp:Courier]] - this guide explains how to set up Courier as a mail. [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.
* [[UbuntuHelp: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.
* [[UbuntuHelp: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 [[UbuntuHelp:ApacheMySQLPHP|Apache]] page) for these to work.
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 [[UbuntuHelp:ApacheMySQLPHP|Apache]] page) for these to work.
* [[UbuntuHelp:Squirrelmail]] - this guide explains how to set up Squirrelmail webmail.
* [[UbuntuHelp:Squirrelmail]] - this guide explains how to set up Squirrelmail webmail.
* [[UbuntuHelp:OpenWebMail]] - this guide explains how to set up the OpenWebMail application.
* [[UbuntuHelp:OpenWebMail]] - this guide explains how to set up the 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.
* [[UbuntuHelp:Mailman]] - this guide explains howto setup a mailman installation on Postfix and Exim.
* [[UbuntuHelp:Mailman]] - this guide explains howto setup a mailman installation on Postfix and Exim.
-----
-----
[[category:CategoryDocumentation]] [[category:CategoryNeedsExpansion]]
[[category:CategoryDocumentation]] [[category:CategoryNeedsExpansion]]


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2007年11月30日 (五) 20:12的版本

{{#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 Postfix, but exim4 is also fully supported and in the main repository.

Mail filtering

You can add filtering in your mail chain, mainly in order to detect spam and viruses.

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.

  • UbuntuHelp:Dovecot - this guide explains how to set up Dovecot as a mail server. Dovecot is a good mail server which is simple to setup.
  • UbuntuHelp:Courier - this guide explains how to set up Courier as a mail. Courier is also quite simple to use and can be used with external database for managing virtual users. It is widely used.
  • UbuntuHelp:Cyrus - this guide explains how to set up Cyrus as a mail server. 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 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.

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.

  • UbuntuHelp:Mailman - this guide explains howto setup a mailman installation on Postfix and Exim.