beautypg.com

How mail service uses ssl, How mail service uses dns, Where mail is stored – Apple Mac OS X Server (version 10.2.3 or later) User Manual

Page 394: How mail service uses ssl 394, How mail service uses dns 394, Where mail is stored 394

background image

394

Chapter 9

How Mail Service Uses SSL

The mail service supports secure IMAP connections with mail client software that requests
them. If a mail client requests a Secure Sockets Layer (SSL) connection, the mail service can
automatically comply. The mail service still provides non-SSL (unencrypted) connections to
clients that do not request SSL. The configuration of each mail client determines whether it
connects with SSL or not.

How Mail Service Uses DNS

Before sending an email, your mail service will probably have a Domain Name System (DNS)
service determine the Internet Protocol (IP) address of the destination. The DNS service is
necessary because people typically address their outgoing mail by using a domain name,
such as example.com, rather than an IP address, such as 198.162.12.12. To send an outgoing
message, your mail service must know the IP address of the destination. The mail service
relies on a DNS service to look up domain names and determine the corresponding IP
addresses. The DNS service may be provided by your Internet service provider (ISP) or by
Mac OS X Server, as explained in Chapter 14, “DNS Service.”

The mail that your mail service receives comes from other servers, and they use DNS to look
up your mail service. DNS is able to find your mail service if you have created a mail
exchange (MX) record for it. Your MX record specifies the name of the computer that
handles mail service for your domain. This computer is known as a mail host. For example,
the MX record for the domain example.com may specify that the name of the mail host is
mail.example.com. If a mail service wants to send mail that’s addressed to
[email protected], the mail service requests the MX record for the domain
example.com and learns that it should actually send the mail to
[email protected].

An MX record can provide redundancy by listing an alternate mail host for a domain. If the
primary mail host is not available, the mail can be sent to the alternate mail host. In fact, an
MX record can list several mail hosts, each with a priority number. If the lowest priority host
is busy, mail can be sent to the host with the next lowest priority, and so on.

Where Mail Is Stored

The mail service keeps track of email messages in a small database, but the database does not
contain the messages. The mail service stores each message as a separate file in a mail folder.
The mail service stores its database file and folder of messages in the folder /Library/
AppleMailServer by default. You can change the location of the mail folder and database to
another folder, disk, or disk partition. You can even specify a shared volume on another
server as the location of the mail folder and database, although using a shared volume incurs
performance penalties.

LL0395.Book Page 394 Wednesday, November 20, 2002 11:44 AM