PMDF User's Guide
OpenVMS Edition


Previous Contents Index

1.1.7 Forwarding Mail

You can have all of your mail on a particular node or cluster automatically forwarded to a different mail address. This is done with VMS MAIL's SET FORWARD command. For versions of OpenVMS prior to 7.1, use:


MAIL> SET FORWARD "IN%""address"""
On OpenVMS 7.1 or later, use:


MAIL> SET FORWARD IN%"address"
Here, address is the address to which your mail should be forwarded; that is, your forwarding address.

Note that if using OpenVMS 7.0 or earlier, the existing quotes in the usual IN%"address" have each been repeated, and an extra pair of quotes surrounding the entire construct added. This is mandatory. If you forget to do this, VMS MAIL will not warn you. Worse yet, you will end up with a nonfunctional forwarding address. So, after changing your forwarding address, be sure to test for correct behavior by sending a test message to yourself.

Here are some sample SET FORWARD commands for systems running OpenVMS Version 7.0 or earlier:


MAIL> SET FORWARD "in%""mrocheck@puppy.farm.org"""
MAIL> SHOW FORWARD
Your mail is being forwarded to IN%"mrocheck@puppy.farm.org". 
MAIL> SET FORWARD "in%""Mro the dog <mrocheck@puppy.farm.org>"""
MAIL> SHOW FORWARD
Your mail is being forwarded to IN%"Mro the dog <mrocheck@puppy.farm.org>". 
MAIL> 

Note that you can also use the DELIVER facility or subaddresses or both to selectively forward mail which you receive. See Section 2.3.


Previous Next Contents Index