When performing ALL-IN-1 list expansions, you must create a directory to hold the database files. Use the command:
$ CREATE/DIR PMDF_ROOT:[directories]/OWNER=[SYSTEM]A separate database is needed for each pseudo domain. The database names are derived by replacing every period in the domain name with a dollar sign and appending
.dat
". For example, if the
pseudo domain name is x.y, the corresponding database file would be
PMDF_ROOT:[directories]x$y.dat
on an OpenVMS system.
The entries in the directory databases consist of a mailbox name in the pseudo domain and the name of the file containing the ALL-IN-1 list to be equated with that mailbox name. The directory channel looks up the mailbox name in the database, opens the associated list file, reads it and sends copies of the message to all of the addresses on the list. The database file itself should be created with the PMDF CRDB utility.
An example list file is shown in Example 3-4 . Assume that the file
specification for that file is d1:[lists]cats.dis
and that
this list is to be associated with the address cats-list@a1.acme.com.
Then the input test file to PMDF CRDB would appear as shown in
Example 3-5 . To process that input, use the commands:
$ PMDF CRDB a1$acme$com.txt - $_ PMDF_ROOT:[directories]a1$acme$com.dat_tmp $ RENAME PMDF_ROOT:[directories]a1$acme$com.dat_tmp - $_ PMDF_ROOT:[directories]a1$acme$com.datAn intermediate, temporary database is used so as to minimize any window of time during which the database file is in an undefined state as it is being generated or regenerated.
Example 3-4 ALL-IN-1 distribution list
filed1:[lists]cats.dis
Carl Donner ( DONNER-CD-O7814 ) Bob Smith ( SU=Smith@GI=Bob@C=US@A=ATTMAIL@PRI=USDOE@O=HQ@X400@VENUS ) JUDY PUBLIC ( SU=PUBLIC@GI=JUDY@C=US@A=ATTMAIL@PRI=USDOE@O=HQA@X400@VRY ) Remote Address ( smj%sips.state.nc.us@PMDF@VENUS ) Remote Addressee ( NED%INNOSOFT.COM@PMDF@VENUS )
Example 3-5 Text filea1$acme$com.txt
used to create
ALL-IN-1 list expansion database
cats-list d1:[lists]cats.dis