Set a forwarding address.
Requires SYSPRV or SYSNAM privilege to set or show information for users other than yourself.
SET FORWARD forwarding-address
Qualifiers Defaults /ALL /NOALL /LOG /NOLOG /UIC="[g,m]" None /USER=username None
forwarding-addressRequired parameter specifying the address to forward your mail to.
SET FORWARDcommand sets or changes a forwarding address for your mail. After you enter this command, any new mail messages will be sent to the forwarding address until such time that you either change it with a subsequent
SET FORWARDcommand, or remove it entirely with the
After setting or changing your forwarding address, be sure to show the new setting with the
SHOW FORWARDcommand. Make sure that you did not make a typing mistake. If there is an error in the address, then mail sent to you may be returned to the sender as undeliverable or, worse yet, disappear entirely. Note, however, that when
SET FORWARDsets the forwarding address, it "wraps" the address in an IN%" " wrapper. Do not be alarmed by this; it is correct. It is important that this be done as it allows the forwarding to work properly with VMS MAIL.
EMAIL> SET FORWARD email@example.com EMAIL> SHOW FORWARD Your mail is being forwarded to IN%"firstname.lastname@example.org". EMAIL>
In this example, the forwarding address is set to be IN%"email@example.com".
EMAIL> SET FORWARD/USER=CATS-LIST firstname.lastname@example.org EMAIL> SHOW FORWARD/USER=CATS-LIST CATS-LIST has mail forwarded to IN%"email@example.com" EMAIL>
In this example, forwarding is set up for the fictitious user CATS-LIST. This allows mail to be sent to CATS-LIST and have it automatically forwarded to firstname.lastname@example.org.