PMDF popstore & MessageStore Manager's Guide


Previous Next Contents Index

6.10 Blocking access, blocking new mail, and locking passwords

There are three account flags which can be set to influence account access:

dismail

The dismail flag is used to prevent an account from receiving new mail messages. When this flag is set for an account, new messages are rejected and returned to their sender. The account owner can, however, read any existing messages they might have unless the account is also flagged with the disuser flag.

disuser

The disuser flag is used to deny access to an account. The account can, however, continue to receive new messages unless it is either over quota or also flagged with the dismail flag.

lockpwd

The lockpwd flag prevents users from changing the account's password. The password can only be changed by a user with the management privilege or operating system privileges.

These flags are set on an account with the modify -flags command. A flag can be negated by prefixing the name with no; for example, nodismail. In the following example, the jdoe account is marked dismail and disuser:


popstore> modify jdoe -flags=(dismail,disuser)
To undo those settings, issue the command:


popstore> modify jdoe -flags=(nodismail,nodisuser)

6.11 Forwarding mail

Mail to the popstore can automatically be forwarded to other addresses. The addresses can be within the popstore or outside of it; the forwarding can be for actual popstore accounts or for non-existent accounts.

For example, suppose the host name associated with the popstore is naples.example.com. Suppose further that the popstore user jdoe would like her mail forwarded to the address jane.doe@naples.example.com. This forwarding would be accomplished with the forward command:


popstore> forward jdoe jane.doe@naples.example.com
popstore> show -forwardings
Username                    Forwarding address 
----------------------------------------------------------------------- 
jdoe                        jane.doe@naples.example.com 
To forward mail for jdoe to herself and her assistant aclarke@naples.example.com, you would use the command


popstore> forward jdoe "jdoe,aclarke@naples.example.com"
popstore> show -forwardings
Username                    Forwarding address 
----------------------------------------------------------------------- 
jdoe                        jdoe@naples.example.com, aclarke@naples.example.com 

Use the noforward command to remove a forwarding address:


popstore> noforward jdoe

As mentioned earlier, forwarding can be established for non-existent accounts. For instance, suppose that the address list@naples.example.com is to be forwarded to a PMDF mailing list list@example.com. This is accomplished with the forward command:


popstore> forward list list@example.com

Note that currently stored messages are not affected by a forwarding address. Only new messages are affected: new incoming messages will be routed to the forwarding address and not stored. Note also that the presence of a forwarding address does not prevent a user from reading any stored messages which they might have.


Previous Next Contents Index