In order to use DELIVER, you must first take two steps:
"IN%""~username"""
(OpenVMS 7.0 or earlier) or to
IN%"~username"
(OpenVMS 7.1 or later) where
username
is your username. See Section 1.1.7 for
further information on using the SET FORWARD command.² This step
is required to cause DELIVER to process mail you receive in your VMS
MAIL mailbox by means other than PMDF.
Once these two steps have been taken, DELIVER will be invoked automatically to handle all mail as it is delivered to you. For example, suppose the user BOB on an OpenVMS 7.0 system wants to have DELIVER process his incoming messages. BOB should create a MAIL.DELIVERY file in his login directory and then set his forwarding address,
$ MAIL MAIL> SET FORWARD "IN%"" BOB""" MAIL> EXIT $