gtpo1m8kOperations

ZMAIL CREATEMAILBOX-Create a Mailbox

Use this command to create a new mailbox in a TPF Internet mail server database.

Requirements and Restrictions

Format




Note:
You can use ZMAIL CM as a short form of the ZMAIL CREATEMAILBOX command.

mailbox
is the name of the mailbox that you want to create. If this is the first mailbox for a user, specify the account name for that user. If this is a mailbox for an existing user account (referred to as a submailbox), specify the mailbox name in the form account.inbox.submailbox.

For example, to create the first mailbox for user1, enter:

zmail cm user1

To create a submailbox for user1, enter:

zmail cm user1.inbox.another

You can specify as many as 30 characters for an account name. The total length of a mailbox string (including all submailboxes) can be as many as 256 characters. The name of an account or mailbox can consist of any alphanumeric character, underscore (_), hyphen (-), comma (,), semicolon (;), left parenthesis ( ( ), or right parenthesis ( ) ).

Additional Information

Examples

In the following example, a new mailbox for an account named kate is created. A ZMAIL LISTMAILBOX command (ZMAIL LM) is entered to verify that the mailbox was created.

+--------------------------------------------------------------------------------+
|User:   zmail cm kate                                                           |
|                                                                                |
|System: MAIL0003I 15:00:31 cm COMPLETED SUCCESSFULLY. NO OUTPUT TO DISPLAY      |
|                                                                                |
|User:   zmail lm kate                                                           |
|                                                                                |
|System: MAIL0001I 15:01:35 START OF RESPONSE FROM ZMAIL lm                      |
|        kate.inbox                                                              |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

In the following example, submailboxes are created for the account named kate. A ZMAIL LISTMAILBOX command (ZMAIL LM) is entered to verify that the submailboxes were created.

+--------------------------------------------------------------------------------+
|User:   zmail cm kate.inbox.work                                                |
|                                                                                |
|System: MAIL0003I 15:00:31 cm COMPLETED SUCCESSFULLY. NO OUTPUT TO DISPLAY      |
|                                                                                |
|User:   zmail cm kate.inbox.work.project1                                       |
|                                                                                |
|System: MAIL0003I 15:01:00 cm COMPLETED SUCCESSFULLY. NO OUTPUT TO DISPLAY      |
|                                                                                |
|User:   zmail cm kate.inbox.play                                                |
|                                                                                |
|System: MAIL0003I 15:01:30 cm COMPLETED SUCCESSFULLY. NO OUTPUT TO DISPLAY      |
|                                                                                |
|User:   zmail lm kate                                                           |
|                                                                                |
|System: MAIL0001I 15:01:55 START OF RESPONSE FROM ZMAIL lm                      |
|        kate.inbox                                                              |
|        kate.inbox.work                                                         |
|        kate.inbox.work.project1                                                |
|        kate.inbox.play                                                         |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

Related Information