特殊:Badtitle/NS100:MailServer

来自Ubuntu中文
Wikibot留言 | 贡献2008年10月19日 (日) 12:50的版本
跳到导航跳到搜索

{{#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.

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.

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.