|
» |
|
|
|
Configuring a system in your workgroup to receive e-mail is a bit more complicated than configuring
it to send e-mail. First you must determine two things: Which type of networking
topography you are going to use (see “Networking Topographies”) Where the system fits
in to the topography: the electronic mail hub, a client in a workgroup
served by a hub, or a standalone system.
Using that information, begin by selecting the
appropriate networking topography below: Central Mail Hub Topography (Receiving E-mail) | |
With this type of electronic mail system, a single
computer serves as the place where all users in a workgroup send and
receive e-mail. To do this, users either log in to the hub computer,
or NFS mount their electronic mailboxes to local (client) systems.
All outgoing e-mail from the entire workgroup, even mail sent from
a system that has NFS mounted an electronic mailbox, appears to have
originated on the hub computer. With Central Mail Hub topography, the electronic
mail hub is the computer that receives e-mail from any computer outside
of the workgroup on behalf of its own users and those of the client
computers that it serves. On
the hub computer only, edit the file /etc/rc.config.d/mailservs: Set
the environment variable SENDMAIL_SERVER to 1 to indicate that this computer is the hub computer: Set
the environment variable SENDMAIL_SERVER_NAME to null
to indicate that no other computer serves this one: (Optional)
Set the environment variable SENDMAIL_FREEZE to 1 to indicate that the sendmail configuration
file is to be frozen. With older computers, and in certain other circumstances,
a frozen configuration file can speed up sendmail’s performance by reducing the time it needs to parse its
configuration file.
Reboot
the hub computer to start up and properly configure the sendmail daemon.
With Central Mail Hub topography, the client computers
do not receive electronic mail directly. Users either log into the
hub computer to process electronic mail, or they NFS-mount their incoming
mailbox files, typically located in the directory /var/mount, and run a Mail User Agent on their client system to process their
mail. For outgoing mail (see “Configuring a System to Send Electronic Mail”), the Mail User Agent will automatically
schedule the sendmail program. Gateway Mail Hub Topography (Receiving E-mail) | |
This type of electronic mail system is similar
to the Central Mail Hub topography in that a single computer sends
and receives e-mail on behalf of the all of the users in the workgroup to and from computers outside of the workgroup. The difference
is that e-mail within the workgroup e-mail does not have to go through
the hub computer because each client machine is running its own copy
of the sendmail daemon allowing it to receive e-mail
directly from other computers in the workgroup. The procedure for configuring the hub computer
in a Gateway Mail Hub topography is: On
the hub computer, edit the file /etc/rc.config.d/mailservs: Set
the environment variable SENDMAIL_SERVER to 1 to indicate that this computer is the hub computer: Set
the environment variable SENDMAIL_SERVER_NAME to null
to indicate that no other computer serves this one: (Optional)
Set the environment variable SENDMAIL_FREEZE to 1 to indicate that the sendmail configuration
file is to be frozen. With older computers, and in certain other circumstances,
a frozen configuration file can speed up sendmail’s performance by reducing the time it needs to parse its
configuration file.
Reboot
the computer to start up and properly configure the sendmail daemon.
Using Gateway Mail Hub topography each of the
clients in a local workgroup can send e-mail to the others without
having to go through the hub. For this to be successful each of the
clients must be running its own sendmail daemon. On each client computer: Fully Distributed (Standalone System) Topography | |
When using a Fully Distributed electronic mail
topography, each computer is a standalone machine (with regard to
electronic mail). Each machine is effectively its own workgroup and
is configured just like the hub computer in a Central Mail Hub topography
e-mail network. The procedure for configuring each system in a
Fully Distributed topography is: Edit
the file /etc/rc.config.d/mailservs: Set
the environment variable SENDMAIL_SERVER to 1 to indicate that this computer will run the sendmail daemon to receive mail: Set
the environment variable SENDMAIL_SERVER_NAME to null
to indicate that no other computer serves this one: (Optional)
Set the environment variable SENDMAIL_FREEZE to 1 to indicate that the sendmail configuration
file is to be frozen. With older computers, and in certain other circumstances,
a frozen configuration file can speed up sendmail’s performance by reducing the time it needs to parse its
configuration file.
Reboot
the computer to start up and properly configure the sendmail daemon.
|