PMDF popstore & MessageStore Manager's Guide


Previous Next Contents Index

7.4 Modifying Accounts

The MODIFY command can be used to change fields associated with an account. For instance, to reset accounting information, change a password, or to increase or decrease an account quota. In the following example, the password for the account jdoe is changed to MORGAN:


popstore> MODIFY JDOE/PASSWORD="MORGAN"

The MODIFY command does not accept wild cards and the username parameter must be specified.

Note that the last connect and disconnect time accounting fields can only be reset to signify a "never connected" state. They can not be changed to an arbitrary time. Also note that when the message count is set to zero, any messages stored for the account are deleted. If the count is reduced but not set to zero then starting with the oldest message, messages are deleted until the desired count is reached. For instance, if the current message count is 5 messages and the count is set to 2 messages, then messages 1, 2, and 3 will be deleted.

7.5 Removing Accounts

Accounts are removed with the DELETE command. By default, any messages stored for the account are deleted silently. Use the /RETURN qualifier to return as undelivered any unread messages.

In the example below, the DELETE command is used to delete the jdoe account.


popstore> SHOW/BRIEF JDOE
                                       Quota  Message  Quota used 
 Username                           (kbytes)    Count    (kbytes) 
 ---------------------------------------------------------------- 
 jdoe                                1000.00        2        6.42 
 ---------------------------------------------------------------- 
*Note: privileged users are flagged with an asterisk 
 
popstore> DELETE/RETURN JDOE
popstore> SHOW/BRIEF JDOE
%POPMGR-E-CANTSHOW, cannot show data 
        popstore error #68: No such user 

To delete more than one account, issue multiple DELETE commands, or use wild cards in the username parameter, or use the /GROUP qualifier. For instance, to delete all accounts in the class97 group, issue the command


popstore> DELETE/GROUP=class97


Previous Next Contents Index