MMDF receives incoming mail from each channel's
input program.
How MMDF handles incoming mail is illustrated in
Figure 4-2, ``Incoming mail''.
Figure 4-2 Incoming mail
Each message is delivered using this procedure:
The
submit program
determines the destination of
the message and then designates the channel to use to deliver the mail.
MMDF selects a channel:
Mail destined for the local machine goes to the local channel.
When the machine is local, but the user is not, mail goes
to badusers.
If mail requires further processing to determine the destination,
the message goes to the badhosts channel.
If the message is destined for another machine, such as when
the local machine is acting as a gateway between networks,
MMDF selects another network channel, such as UUCP.
The submit program puts the message in the
appropriate channel queue.
The deliver program
transfers the mail from each queue to the appropriate channel.