Since the messages from PC to PMDF are put in one or more files by a PC program which has no way of notifying PMDF that there are now messages to be processed, PMDF has to poll to see if there are message files to be processed.
There are three ways to automate the polling process; you can have PMDF pick up messages from the PC in one of the following ways:
pc_post. The preferred way to periodically invoke PMDF to process the PC mail is to use a command procedure (on OpenVMS) or shell script (on UNIX) with the appropriate PMDF commands, and have the procedure run periodically.
PMDF_COM:pc_post.comcommand procedure (OpenVMS) or a
pc_post.comcommand procedure should then be submitted to the MAIL$BATCH queue; e.g., by executing
pc_post.comprocedure resubmits itself in the same queue based on the time_delay interval you specified in it. At system startup time,
pc_post.comis submitted automatically by
pc_postshell script should be scheduled for execution using the
$@PMDF_COM:master cc_local poll !for cc:Mail $@PMDF_COM:master ff_local poll !for Microsoft Mail $@PMDF_COM:master mhs_local poll !for MHS $@PMDF_COM:master wpo_local poll !for WPO
This method is not recommended unless you are familiar with all the mechanisms involved. The description is somewhat brief, and the mechanisms complex.
periodchannel keyword on all channels except the PC channels to prevent those other channels from being polled as frequently as the PC channels. Channels to the Internet in particular should not be run more frequently than every 30 minutes in order to comply with the Internet host requirements. More generally, it is often worse than futile and indeed counterproductive to run channels (other than PC channels) at too high frequencies as it simply clutters network bandwidth to "bang" on nodes which, once they become unavailable for mail delivery due to local or network problems, will probably not become available again for at least several hours if not days.
$ DEFINE/SYSTEM PMDF_POST_INTERVAL "0 00:10:00"
pmdf_site_startup.comfile (but not to
pmdf_startup.comdirectly). Then use the
periodkeyword, as described below.
crontabentry; e.g., assuming you want to poll every 10 minutes:
0,10,20,30,40,50 * * * * /pmdf/bin/post.sh >/pmdf/log/post.log 2>&1
periodkeyword on your non-PC channels, as follows:
defaults period 24
lan.chans, then find the first PC channel in either
lan.chans, and add another defaults channel with period 1 so all channels following this defaults channel will have a period of 1, i.e., 10 minutes. Remember to precede and follow the defaults channel with blank lines here also. Suppose that your PC channel blocks are in a file
lan.chansreferenced at the bottom of your
pmdf.cnffile and that you have a Microsoft Mail channel and a cc:Mail channel. Then your
lan.chansshould look something like:
defaults period 1 ff_local master defragment charset8 ibm437 msmail.example.com cc_local master defragment charset8 ibm850 ccmail.example.com
1 On OpenVMS, the PMDF-LAN
configuration utility is PMDF CONFIGURE LAN; on UNIX, the PMDF-LAN
configuration utility is