[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

MAIL transport settings?

» close window

The Question is:

 
How do I view and ultimately modify a users mail transport?


The Answer is :

 
  You can view and modify your own mail transport using the SET TRANSPORT
  and SHOW TRANSPORT commands under the MAIL utility. There is no supported
  mechanism for (directly) viewing another user's MAIL transport settings.
 
  Using a supported and documented approach, viewing and changing another
  user's transport can be accomplished indirectly.  With adequate OpenVMS
  privileges enabled (minimum CMKRNL), use a technique similar to the
  following:
 
    o First create a command procedure SET_TRANSPORT_SMTP.COM conntaining
      the following lines:
 
      $ MAIL
      SET TRANSPORT SMTP%
      $ EXIT
 
      or:
 
      $ MAIL
      SHOW ALL
      $ EXIT
 
    o Then from your privileged account, issue the DCL command:
 
      $ SUBMIT/USER=target/LOG=logname/NOPRINT/KEEP SET_TRANSPORT_SMTP
 
  Using an unsupported and undocumented approach and with adequate OpenVMS
  privileges, this information can also be gleaned directly from the system
  MAIL profile database SYS$SYSTEM:VMSMAIL_PROFILE.DATA.  The SEARCH command
  or DCL file access can be used to search for the record associated with a
  particular user, and the transport read from the record -- look for a
  string ending with "%" near the end of the record.  For example:
 
$ SEARCH/FORM=DUMP SYS$SYSTEM:VMSMAIL_PROFILE.DATA GILLINGS
GILLINGS                       [.MAIL]TPUTS
C$LN03.Quidvis recte factum quamvis humile praeclarumSMTP%
 
  This user's transport is set to SMTP%.
 

answer written or last revised on ( 15-DEC-1999 )

» close window