| Previous | Next | Contents | Index |
Recall that when a new account is created with the ADD
command, the default account is used as a source of
defaults for the new account. Thus, by changing the settings for the
default account with the MODIFY command, you
change the defaults which will be applied to subsequently created
accounts. For instance, to change the default account quota to 100
kbytes with an overdraft quota of 10 kbytes, you would modify the
default account accordingly:
popstore> MODIFY DEFAULT/QUOTA=100/OVERDRAFT=10 |
Note that the settings for the default account only
applies to new accounts created with the ADD command. The
default account settings do not apply to all existing accounts.
7.7 Bulk Loading Accounts
To create many accounts at once, use the @ command to execute commands
from a command file. Before using that command, first create a file
containing commands with one command per line. For instance,
$ TYPE A.COM ADD BJAMES/OWNER="Bob James"/PASSWORD=837271 ADD CSMITH/OWNER="Cathy Smith"/PASSWORD=382374 ADD RBROWN/OWNER="Randy Brown"/PASSWORD=383838 ... $ |
@ command to execute the commands from the
file:
$ PMDF POPSTORE popstore> @A.COM popstore> ADD BJAMES/OWNER="Bob James"/PASSWORD=837271 popstore> ADD CSMITH/OWNER="Cathy Smith"/PASSWORD=382374 popstore> ADD RBROWN/OWNER="Randy Brown"/PASSWORD=383838 popstore> ... popstore> QUIT $ |
@@ command to suppress the command
echo,
$ PMDF POPSTORE popstore> @A.COM popstore> QUIT $ |
Any command recognized by this utility can be used in the command file,
including @ and @@ commands.
7.8 Returning or Deleting Messages
A user's stored messages can be deleted with the
DELETE/MESSAGES command. When the /RETURN
qualifier is also specified, any unread messages are returned as unread
to their sender. For instance, to delete the messages for the account
jdoe, returning any unread messages, use the command
popstore> DELETE/MESSAGES/RETURN JDOE |
Note that the /RETURN qualifier can also be used with the
DELETE command as described in Section 7.5.
| Previous | Next | Contents | Index |