PMDF popstore & MessageStore Manager's Guide
PMDF-POP-6.0


Previous | Contents


Chapter 10
Inbound Message Delivery & Message Bouncer

The popstore and MessageStore share a common inbound delivery channel. The popstore also has a message bouncer process which returns or removes old, undeleted e-mail from the popstore. The function of these two agents are described in this chapter. See the PMDF Installation Guide & Release Notes for directions on configuring these agents.

10.1 The inbound delivery channel

The inbound delivery channel runs as a normal PMDF delivery channel. Messages are queued to it by PMDF for delivery to the popstore or MessageStore. The delivery channel then processes each inbound message, either delivering it to the popstore or MessageStore, forwarding it elsewhere, or returning it to its originator as undeliverable.

In the popstore, the messages are stored in a ready-to-download format so that the POP3 server can simply map them into memory and send the bytes down to the client without the need for any further processing. Envelope information is also stored in the message file.

On UNIX systems, the message files are kept in the directory tree specified by the PMDF_POPSTORE_MESSAGES option in the PMDF tailor file; On NT systems, the message files are kept in the directory tree specified by the PMDF_POPSTORE_MESSAGES registry entry; amd, on OpenVMS systems, they are stored in the PMDF_POPSTORE_MESSAGES: directory tree. Read and write access to these files is controlled using private locks.

In the MessageStore, the messages are stored in a ready-to download format for IMAP, and the index and cache files in the appropriate folder are updated to include pre-calculated responses to common IMAP queries. This makes the MessageStore delivery process a bit slower in exchange for making all IMAP queries much faster.

The MessageStore message files are kept in a directory subtree with the user profiles. On UNIX systems, user profiles are located in the directory tree specified by the PMDF_POPSTORE_PROFILES option in the PMDF tailor file (usually /pmdf/user); on Windows NT systems, the directory tree is specified by the PMDF_POPSTORE_PROFILES registry entry; on OpenVMS systems, they are stored in the PMDF_POPSTORE_PROFILES: directory tree. Read and write access to these files is controlled using private locks.

10.1.1 Rewrite rule

The popstore and MessageStore use a special rewrite rule in the PMDF configuration file. This rewrite rule checks each envelope To: address destined for the popstore and MessageStore. The checks consist of the following three steps: