|
|
85a022 |
<sect1 id="services-mail-overview">
|
|
|
85a022 |
|
|
|
85a022 |
<title>Overview</title>
|
|
|
85a022 |
|
|
|
85a022 |
<para>
|
|
|
85a022 |
The mail service provides the software required to let you
|
|
|
85a022 |
send/receive mail messages to/from others. The mail service is
|
|
|
85a022 |
supported by three basic components: the Mail Transfer Agent
|
|
|
85a022 |
(MTA), the Mail Delivery Agent (MDA) and the Mail User Agent
|
|
|
85a022 |
(MUA). The MTA is the program your mail client sends mail
|
|
|
85a022 |
messages to. The MDA, on the other hand, is the program your
|
|
|
85a022 |
mail client reads mail message from (i.e., this is the program
|
|
|
85a022 |
that lets you access your mailbox). The saslauthd daemon is
|
|
|
85a022 |
used by the MDA to authenticate user's credentials (e.g., the
|
|
|
85a022 |
information required to grant access to an specific mailbox)
|
|
|
85a022 |
and in some cases by the MTA to authenticate users before
|
|
|
85a022 |
sending mail to it. The MTA will listen on all network
|
|
|
85a022 |
interfaces it is attached to and will receive mail sent to
|
|
|
85a022 |
specific users inside specific domain names.
|
|
|
85a022 |
</para>
|
|
|
85a022 |
|
|
|
85a022 |
<para>
|
|
|
85a022 |
Inside &TC;; there is support for different MTAs (e.g.,
|
|
|
85a022 |
Sendmail, Postfix and Exim). By default, the
|
|
|
85a022 |
<application>Sendmail</application> program is used as mail
|
|
|
85a022 |
transfer agent, however, we want to use Postfix for our
|
|
|
85a022 |
configuration. This way, to use Postfix as default mail
|
|
|
85a022 |
transfer agent and not Sendmail, it is required to use the
|
|
|
85a022 |
<command>alternatives</command> command. This command will
|
|
|
85a022 |
present you a menu to chose between available mail transfer
|
|
|
85a022 |
agents installed in the system, so you can choose Posfix as
|
|
|
85a022 |
default option. Now that you've made Postfix the default mail
|
|
|
85a022 |
transfer agent, you can saftly remove the sendmail package to
|
|
|
85a022 |
avoid unused software to remain inside the computer.
|
|
|
85a022 |
</para>
|
|
|
85a022 |
|
|
|
85a022 |
<para>
|
|
|
85a022 |
Inside &TC;; there is support for different MDA (e.g., Cyrus
|
|
|
85a022 |
IMPA and Dovecot). By default, the Dovecot program is used as
|
|
|
85a022 |
mail delivery agent (which doesn't require any intermediate
|
|
|
85a022 |
daemon for athentication), however, we want to use Cyrus IMAP
|
|
|
85a022 |
for our configuration (which does require an intermediate
|
|
|
85a022 |
daemon called saslauthd for authentication).
|
|
|
85a022 |
</para>
|
|
|
85a022 |
|
|
|
85a022 |
<para>
|
|
|
85a022 |
Inside &TC;; there is support for different MUA (e.g.,
|
|
|
85a022 |
Evolution, Thunderbird and Mutt). By default, the Evolution
|
|
|
85a022 |
program is used and we stay with it :).
|
|
|
85a022 |
</para>
|
|
|
85a022 |
|
|
|
85a022 |
<para>
|
|
|
85a022 |
In this chapter we describe how to configure each one of these
|
|
|
85a022 |
components to let you send/receive e-mails to/from your
|
|
|
85a022 |
friends.
|
|
|
85a022 |
</para>
|
|
|
85a022 |
|
|
|
85a022 |
</sect1>
|