rcvstore(1mh)
Name
rcvstore − incorporate new mail asynchronously
Syntax
rcvstore [+folder] [−create] [−nocreate] [−sequence name] [−public] [−nopublic] [−zero] [−nozero] [−help]
Description
The command rcvstore incorporates a message from the standard input into an MH folder. If +folder is not specified, the folder named inbox in your MH directory will be used instead. The new message being incorporated is assigned the next highest number in the folder.
If the specified (or default) folder does not exist, then it will be created if the −create option is specified; otherwise rcvstore will exit.
If your profile contains a Msg-Protect:nnn entry, it will be used as the protection on the newly created messages; otherwise the MH default of 0600 will be used. During all operations on messages, this initially assigned protection will be preserved for each message, so chmod may be used to set a protection on an individual message, and its protection will be preserved thereafter.
The rcvstore command will incorporate anything except zero length messages into your MH folder.
If the profile entry Unseen−Sequence is present and non−empty, then rcvstore will add the newly incorporated message to each sequence named by the profile entry. This is similar to the Previous−Sequence profile entry supported by all MH commands which take msgs or msg arguments. Note that rcvstore will not zero each sequence prior to adding messages.
Furthermore, the incoming messages may be added to user-defined sequences as they arrive by appropriate use of the −sequence option. As with pick, the −zero and −nozero switches can also be used to zero old sequences. Similarly, the −public and −nopublic switches may be used to force additions to public and private sequences.
The defaults for this command are:
+folder defaults to inbox
−create
−nopublic if the folder is read−only, −public otherwise
−nozero
Files
| $HOME/.mh_profile | The user profile |
Profile Components
| Path: | To determine your MH directory |
| Folder-Protect: | To set mode when creating a new folder |
| Msg-Protect: | To set mode when creating a new message |
| Unseen-Sequence: | To name sequences denoting unseen messages |