In this section, a cook book approach is used to demonstrate how to set up a cc:Mail configuration.
\CCADMIN
,
\CCMAIL
, and \CCDATA
on F:
.
Also, there is the directory \PMDF
which is mapped to the
directory diska:[ccmail.pmdf]
on the system running PMDF.
This is the directory which PMDF will use to communicate with cc:Mail.
PMDF
as the name, and enter P
for post office
for its location. This creates the PMDF post office.
lan.rules
of such rules, suitable for
inclusion into the PMDF configuration file;if you have run it, you need
merely uncomment the reference to lan.rules
, Otherwise,
edit the PMDF configuration file, PMDF_TABLE:pmdf.cnf
(OpenVMS) or /pmdf/table/pmdf.cnf
(UNIX), to include the
rewrite rules:
ccmail $u%ccmail.acme.com ccmail.acme $u%ccmail.acme.com ccmail.acme.com $u@ccmail.acme.comAdd these rules towards the top of the file. They must appear before the first blank line in the file. Also, be sure to not introduce any blank lines to the file at this stage.
lan.chans
defining such a
channel, suitable for inclusion into the PMDF configuration file;if you
have run it, you need merely uncomment the reference to
lan.chans
. Otherwise, add the following channel definition
to the pmdf.cnf
file. To the very end of the file, add a
blank line followed by these two lines:
cc_local master defragment charset8 ibm437 ccmail.acme.comWhen you have finished adding these lines, save the configuration file. If you are using a compiled configuration, then be sure to recompile and reinstall your configuration.
cc_local_option
; if you have
run it, you need do nothing at this step. Otherwise, create the world
readable file cc_local_option
in the PMDF table
directory,5 containing lines such as shown here for OpenVMS
! An OpenVMS cc_local_option file CC_GATEWAY_NAME=PMDF CC_OUTPUT_FILE_NAME=DISKA:[CCMAIL.PMDF]CCMAIL.IMP CC_INPUT_FILE_NAME=DISKA:[CCMAIL.PMDF]CCMAIL.EXP CC_UNDEL_FILE_NAME=DISKA:[CCMAIL.PMDF]CCMAIL.UNDor such as shown here for UNIX
! A UNIX cc_local_option file CC_GATEWAY_NAME=PMDF CC_OUTPUT_FILE_NAME=/diska/ccmail/pmdf/ccmail.imp CC_INPUT_FILE_NAME=/diska/ccmail/pmdf/ccmail.exp CC_UNDEL_FILE_NAME=/diska/ccmail/pmdf/ccmail.und
"Smith, John"@CCMAIL.ACME.COMor from VMS MAIL using the address:
IN%"'Smith, John'@CCMAIL.ACME.COM"If the PMDF system is a UNIX system, you can send mail to the same cc:Mail user using the address
'"Smith, John"@CCMAIL.ACME.COM'or from Pine using the address
"Smith, John"@CCMAIL.ACME.COM
cc_local_option
file of Step 5. Import this file into
cc:Mail using the DOS commands:
CD \PMDF \CCADMIN\IMPORT FILES/HEX ACME passwordwhere
password
is the administrative password for
the cc:Mail postoffice. At this point the test message should appear in
the cc:Mail user's mailbox.
jsmith@acme.com AT PMDF
CD \PMDF \CCADMIN\EXPORT FILES/HEX FORMAT/FAN PMDF password
ccmail.exp
which should appear in the shared
directory where PMDF may access it. On OpenVMS use the command
$ @PMDF_COM:master cc_local pollor on UNIX use the command
# pmdf run cc_local pollto get PMDF to pickup and process this file now.
PMDF_COM:pc_post.com
(OpenVMS) or shell script
/pmdf/bin/pc_post
suitable for automating the PMDF side of
this process; or see Section 38.2.2 for several ways to automate the
polling process on the PMDF side. On the PC side, you should create a
file such as the following XFER.BAT
file, and run the
.BAT
file on your PC.
F: CD \PMDF :LOOP \CCADMIN\IMPORT FILES/HEX ACME password \CCADMIN\EXPORT FILES/HEX FORMAT/FAN PMDF password \PMDF\DELAY 10min GOTO LOOP
PMDF_TABLE:cc_local_option.
on OpenVMS or
/pmdf/table/cc_local_option
on UNIX.