
12 Chapter 1 Mail Service Setup
Where Mail Is Stored
Mail is stored in either an outgoing queue awaiting transfer to a remote server or in a
local mail store accessible by local mail users.
Outgoing Mail Location
Outgoing mail messages are stored, by default, in the following spool directory on the
startup disk:
/var/spool/postfix
This location is temporary, and the mail is stored until it’s successfully transferred out to
the Internet. These locations can be moved to any accessible volume (either local or
NFS mounted) and symlinked to by the mail administrator.
Incoming Mail Location
The mail service keeps track of incoming email messages with a small database
(BerekeleyDB.4.1), but the database doesn’t contain the messages themselves. The mail
service stores each message as a separate file in a mail folder for each user. Incoming
mail is stored on the startup disk in the following directory:
/var/spool/imap/[user name]
Cyrus puts a database index file in the folder of user messages. You can change the
location of any or all of the mail folders and database indexes 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. The incoming mail remains on the server until deleted by an MUA.
Maximum Number of Mail Messages per Volume
Because the mail service stores each email message in a separate file, the number of
messages that can be stored on a volume is determined by the total number of files
that can be stored on the volume.
The total number of files that can be stored on a volume that uses Mac OS Extended
format (sometimes referred to as HFS Plus format) depends on the following factors:
• The size of the volume
• The sizes of the files
• The minimum size of a file, which by default is one 4K block
For example, a 4 GB HFS Plus volume with the default block size of 4KB has one million
available blocks. This volume could hold up to a million 4KB files, which means a
million email messages that were 4KB or less apiece. If some email messages were
larger than 4KB, this volume could hold fewer of them. A larger volume with the same
default block size could hold proportionately more files.
LL2349.Book Page 12 Friday, August 22, 2003 2:47 PM
Commentaires sur ces manuels