The information in this article applies to:
SUMMARYThis article describes how the External Mail program (EXTERNAL.EXE) for version 3.2 of Microsoft Mail for PC Networks delivers mail between postoffices. This process involves several files in the Mail database. MORE INFORMATIONThe example shown below shows a typical file transfer of a single piece of mail from postoffice P: COMPANY/CORPORATE to Q: COMPANY/MAIL. First, External checks the postoffices for updates to user/group lists. These lists include all the new user lists and definitions that are defined in the postoffices through the Mail Administrator program (ADMIN.EXE). ExampleA user has composed a message on postoffice COMPANY/CORPORATE and has addressed the message to a user on COMPANY/MAIL. The message is written into the database for COMPANY/CORPORATE in the KEY, MBG, and MAI subdirectories. If an attachment is included, a file will be written to an ATT subdirectory.External then checks for any outgoing mail by opening and closing every external postoffice's KEY file. Flags within the files indicate if any mail is required to be sent. In this example, one mail item is going to be sent from CORPORATE to MAIL. First, External reads the .KEY, .MBG, and .MAI files on P: COMPANY/CORPORATE. The filename in the example is 00000116.MAI. The delivery by the External program is a two-part process called Dispatch and Mailer. The Dispatch program delivers the mail between the postoffices and the Mailer program processes the mail and places messages into recipients' mailbags. DispatchNOTE: SESSION.LOG entries have been indented for reference.The External program first reads the P2 file (00000116.MAI) from the CORPORATE postoffice and writes it to the MAIL postoffice (N:MAI\MA8\00000278.MAI).
The Dispatch program then writes to the P1 subdirectory the envelope
of the mail message. The envelope contains a list of all the people to
whom the mail message must be delivered. This includes the To field
and the Cc field.
The External program then writes to the INQUEUE3.KEY and INQUEUE3.MBG
files the name of the file in the P1 subdirectory that contains the
recipients of the mail.
This concludes the delivery of the mail.
MailerThe Mailer program reads the INQUEUE3 files in the KEY and MBG subdirectory. The MBG queue contains the reference pointer (P1 subdirectory filename). The Mailer program then reads the references contained in the file in the P1 subdirectory and writes to each recipient's KEY file and MBG file a pointer to the mail item contained in the MAI subdirectory.
NOTE: A mail item that is sent to numerous people will contain a
reference pointer for each person who is to receive the mail item;
however, there will only be ONE .MAI file.
Glossary
Additional query words: 3.20 MTA
Keywords : |
Last Reviewed: October 26, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |