New accounts may be added in one of two ways: by creating a new account
or copying an existing account. The former is done with the
add command while the latter with the copy
command. Regardless of the method chosen, when a new account is added a
name and password to associate with the account should be chosen. This
is the name and password which the owner of the account must use in
order to access messages stored for the account. Specify
-flags=pwd_elsewhere to create the account with an
externally stored password (e.g., an /etc/passwd
password). Optionally, account quotas and an ownership field
identifying the owner of the account may also be specified. Quotas not
specified will be copied from the default account.
See Section 1.3.1 for a discussion of the name space allowed for account usernames.
For instance, suppose that Jane Doe is to be given the account
jdoe with the password SecRet. The command to add the
account would then be
popstore> add jdoe -password=SecRet -owner="Jane Doe" popstore> show jdoe Username: jdoe Owner: Jane Doe Group: Usage flags: Last connect: No time recorded Last disconnect: No time recorded Total connect time: 0 00:00:00 Total connections: 0 Past block days: 0 Last billing: Wed Jan 1 12:02:22 1997 Message count: 0 (0 total messages received) Quota used: 0.00 Kbytes Quota: 2048.00 Kbytes Overdraft: 20.00 KbytesNote that POP passwords are case sensitive.
It is important to note that when the popstore was configured, default
account settings were specified. These settings are kept in the form of
a default account named default. Whenever an account is
added with the add command, the popstore actually copies
the default account to the new account thereby using the
default account's settings as the basis for the new
account.
Copying an existing account with the copy command also
creates a new account. In the example below, the new account
bernoulli is created by copying the account
fibonacci:
popstore> show fibonacci Username: fibonacci Owner: Leonardo Fibonacci Group: Usage flags: Last connect: Fri Oct 25 16:09:38 1996 Last disconnect: Fri Oct 25 16:09:39 1996 Total connect time: 0 00:10:03 Total connections: 145 Past block days: 123953 Last billing: Wed Dec 11 09:12:23 1996 Message count: 0 (189 total messages received) Quota used: 0.00 Kbytes Quota: 102400.00 Kbytes Overdraft: 10.00 Kbytes popstore> copy fibonacci bernoulli -password=secret -owner="Daniel Bernoulli" popstore> show bernoulli Username: bernoulli Owner: Daniel Bernoulli Group: Usage flags: Last connect: No time recorded Last disconnect: No time recorded Total connect time: 0 00:00:00 Total connections: 0 Past block days: 0 Last billing: Wed Jan 1 13:23:18 1997 Message count: 0 (0 total messages received) Quota used: 0.00 Kbytes Quota: 102400.00 Kbytes Overdraft: 10.00 KbytesNote that when an account is copied to make a new account, the new account does not inherit the messages or accounting information of the original account.
Note:
Your PMDF-POPSTORE license controls the number of popstore user accounts which you may have at any one time. When you reach this limit, you will not be allowed to create additional accounts without first deleting some accounts or obtaining a new license with an increased limit. Sites without a PMDF-POPSTORE license are allowed to use the popstore and create up to ten user accounts. This limit does not include thedefaultaccount. Use theshow -count_userscommand to display the number of currently defined accounts as well as the limit allowed by your license.
6.3 Listing accounts
Verbose and brief listings of accounts may be generated with the
show command. When no username parameter is supplied, all
accounts are listed:
popstore> show -brief
Quota Message Quota used
Username (kbytes) Count (kbytes)
----------------------------------------------------------------
crw 33333.00 0 0.00
david 102400.00 0 0.00
*dan 33333.00 0 0.00
default 1024.00 0 0.00
kevin 40960.00 0 0.00
kristin 10240.00 0 0.00
pekie 40960.00 0 0.00
----------------------------------------------------------------
*Note: privileged users are flagged with an asterisk
In the above output, an asterisk is displayed by each account which has
the management privilege. The -brief switch, causes a
brief listing to be generated. Omitting that switch generates a much
more detailed listing.
When a username parameter is specified, wild cards may be
used:
popstore> show -brief d*
Quota Message Quota used
Username (kbytes) Count (kbytes)
----------------------------------------------------------------
david 102400.00 0 0.00
*dan 33333.00 0 0.00
default 1024.00 0 0.00
----------------------------------------------------------------
*Note: privileged users are flagged with an asterisk
As discussed in Section 6.15.2 , the -format switch of the
show command may be used to generate custom listings.
Section 6.11 describes how to use the -forwardings switch
to display mail forwardings.