MAILHELP.HLB  —  SET-SHOW  FORWARD
    Sets a forwarding address for your mail. After you enter the
    SET FORWARD command, the address you specify will receive mail
    messages.

    The default you establish with the SET FORWARD command remains in
    effect until you enter the SET NOFORWARD command.

    The SHOW FORWARD command displays the name of the specified
    forwarding address.

    If you have SYSNAM privilege, you can set and show forwarding
    addresses for other users.

    Format

      SET FORWARD  address

      SET NOFORWARD

      SHOW FORWARD

1  –  Parameter

 address

    Indicates the address (NODE::USERNAME) to which your mail is
    forwarded.

2  –  Qualifiers

2.1    /ALL

    The /ALL qualifier lists forwarding information or displays a
    message if the specified user does not have forwarding enabled.
    You must have SYSNAM privilege to use the /ALL qualifier. The
    /ALL qualifier is valid only when used with the /USER qualifier.

2.2    /USER

       /USER=user-name

    Indicates the name of another user for whom you are setting or
    showing a forwarding address. You can use the /USER qualifier
    only if you have SYSNAM privilege. With the SHOW FORWARD command,
    there are two ways to show a user's forwarding address: you can
    specify the user name or you can use the wildcard characters (*
    or %) to search for names with a particular string in common.

    By default length of the user name is 31 characters long. Set
    Bit 5 of DCL_CTLFLAGS to avail this longer user name length of
    255 characters long.

                                NOTE

    Once this bit is set, user name length is set to maximum of
    255 characters long. Even if this bit is cleared, the behavior
    remains unchanged, that is, supports user name length of
    255 characters long, but there is no way to reset it to
    31 characters long.

3  –  Examples

    1.MAIL> SET FORWARD NEXUS::LARS
      MAIL> SHOW FORWARD
      Your mail is being forwarded to NEXUS::LARS.

      MAIL>

      This example shows how a user named LARS establishes a
      forwarding address on node NEXUS with the SET FORWARD command
      and displays the forwarding address with the SHOW FORWARD
      command.

    2.MAIL> SHOW FORWARD/ALL/USER=C*
      Username                Forwarding address
      CARTON                       VIOLET::CARTON
      COLLINS                      None
      CRUTHERS                     GREEN::CRUTHERS
      CULLIN                       GRAY::CULLIN

      This example shows a wildcard search for all users whose names
      begin with the letter C. Because the /ALL qualifier has been
      specified, all users are listed, even if they have not entered
      a forwarding address. This is the case for user COLLINS.
      Because COLLINS has not specified a forwarding address, None
      appears under the Forwarding address heading.

    3.MAIL> SHOW FORWARD/USER=BENNETT
      BENNETT has not set a forwarding address.

      This example shows how to display the forwarding address of
      user BENNETT. Because BENNETT has not set a forwarding address,
      the message is output.
Close Help