ZMAIL PASSWORD–Set or change the password for an account

Use this command to set or change the password for an account in a z/TPF Internet mail server database.

Requirements and restrictions

You can enter this command only when the z/TPF system is in CRAS state or higher.

Format

Read syntax diagramSkip visual syntax diagram
>>-+-ZMAIL PASSWORD-+-- --account-- --password-----------------><
   '-ZMAIL PW-------'                            

Note: You can use ZMAIL PW as a short form of the ZMAIL PASSWORD command.
account
is the name of the account for which you want to set or change the password.

You can specify as many as 30 characters for an account name. The name of an account can consist of any alphanumeric character, underscore (_), hyphen (-), comma (,), semicolon (;), left parenthesis ( ( ), or right parenthesis ( ) ).

password
is a 1- to 8-character password for the account. The password can consist of any character allowed by the computer room agent set (CRAS) terminal.

Additional information

  • Online help information is available for this command. To display the help information, enter one of the following:
    • ZMAIL HELP
    • ZMAIL ?
  • All data entered with the ZMAIL commands is changed to lowercase.
  • If there are multiple mail domains defined, you can enter the ZMAIL ADMIN command or the ZFILE export command to set the MAILDOMAIN environment variable followed by regular ZMAIL commands.
  • In addition to the ZMAIL PASSWORD command, you can use the passwd command in an e-mail as another way to change passwords. See z/TPF Transmission Control Protocol/Internet Protocol for more information about the passwd command.

Examples

The following example shows that a new account named teddybear is created and the password is set to cuddles.
User:   zmail cm teddybear

System: MAIL0003I 15.00.31 cm COMPLETED SUCCESSFULLY. NO OUTPUT TO DISPLAY

User:   zmail password teddybear cuddles

System: MAIL0003I 15.00.31 password COMPLETED SUCCESSFULLY. NO OUTPUT TO DISPLAY

Related information