Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rcvstore(1mh) [ultrix man page]

rcvstore(1mh)															     rcvstore(1mh)

Name
       rcvstore - incorporate new mail asynchronously

Syntax
       rcvstore [ +folder ] [ -[no]create ] [ -help ] [ -sequence name ] [ -[no]public ] [ -[no]zero ]

Description
       The  command  incorporates  a  message from the standard input into an MH folder.  If a +folder argument is not given the file is placed in
       your folder.  The new message being incorporated is assigned the next highest number in the folder.

       If the specified (or default) folder does not exist, it is created if the -create option is specified; otherwise exits.

       If your file contains a Msg-Protect: entry, it is used as the protection on the newly created messages; otherwise the MH default of 0600 is
       used.  During all operations on messages, this initially assigned protection is preserved for each message.  You can use to change the pro-
       tection on an individual message, and the new protection is preserved thereafter.

       The command incorporates anything except zero length messages into your MH folder.

       If the profile entry Unseen-Sequence: is present and non-empty, then adds the newly incorporated message to each sequence named by the pro-
       file entry.  Note that does not zero each sequence prior to adding messages.

Options
       -create
       -nocreate Creates  the  specified  folder.  If you attempt to incorporate mail into a folder that does not exist, creates the folder if you
		 supply the -create option.  If you supply the -nocreate option, the folder is not created and exits.  The default is -create.

       -help	 Prints a list of the valid options to this command.

       -public
       -nopublic Sets the read permissions of sequences.  Normally, when you create a sequence with the -sequence  option,  the  sequence  is  not
		 accessible  to  other	MH  users.  The -public option makes the sequence accessible to other MH users.  You can use the -nopublic
		 option to ensure that the sequence that you create is only accessible to yourself.

       -sequence name
		 Specifies a sequence in which places the messages which it incorporates.  For more information on sequences, see The name of  the
		 sequence must begin with a letter, and must consist entirely of alphabetic or numeric characters; no punctuation is allowed.

       -zero
       -nozero	 Specifies whether to zero existing sequences before adding new messages.  Normally, removes all existing messages from a sequence
		 before adding messages to it.	If you specify the -nozero option, adds the messages it finds to  the  existing  contents  of  the
		 sequence.  This option only works with the -sequence option.

       The defaults for this command are:

	      +folder defaults to
	      -create
	      -nopublic if the folder is read-only, otherwise -public
	      -nozero

Profile Components
       Path:		  To determine your Mail directory
       Folder-Protect:	  To set protections when creating a new folder
       Msg-Protect:	  To set protections when creating a new message
       Unseen-Sequence:   To name sequences denoting unseen messages

Files
       The user profile.

See Also
       chmod(1), inc(1mh), mark(1mh), pick(1mh), mh-mail(5mh), mh_profile(5mh)

																     rcvstore(1mh)

Check Out this Related Man Page

RCVSTORE(1)							     [nmh-1.5]							       RCVSTORE(1)

NAME
rcvstore - asynchronously incorporate mail into a folder SYNOPSIS
/usr/lib/mh/rcvstore [+folder] [-create | -nocreate] [-unseen | -nounseen] [-zero | -nozero] [-sequence name ...] [-public | -nopublic] [-version] [-help] DESCRIPTION
Rcvstore incorporates a message from the standard input into an nmh folder. This command is typically used in conjunction with mail fil- tering programs such as slocal and procmail, to filter your mail into different folders. You may specify which folder to use with +folder. If no folder is specified, rcvstore will use the folder given by a non-empty "Inbox:" entry in the user's profile, else it will use the folder named "inbox". If the switch -create is given (it is the default) and if the specified (or default) folder does not exist, then it will be created. You may disable this with the -nocreate option. In this case rcvstore will exit if the specified folder does not exist. When the new message is incorporated into the folder, it is assigned the next highest number for that folder. Rcvstore will incorporate anything except zero length messages into the user's nmh folder. It will not change the message in any way. If the user's profile contains a "Msg-Protect: nnn" entry, it will be used as the protection on the newly created message, otherwise the nmh default of 0644 will be used. For all subsequent operations on this message, this initially assigned protection will be preserved. If the switch -unseen is given (it is on by default), and if the profile entry "Unseen-Sequence" is present and non-empty, then rcvstore will add the newly incorporated message to each sequence named by this profile entry. You may use the switch -nounseen to disable this. These sequences will not be zero'ed by rcvstore prior to adding the new message. Furthermore, the incoming message may be added to additional sequences as they arrive by the use of the -sequence switch. As with the com- mands pick and mark, you may also use the switches -zero and -nozero to specify whether to zero old sequences or not. Similarly, use of the -public and -nopublic switches may be used to force these sequences to be public or private sequences. FILES
$HOME/.mh_profile The user profile PROFILE COMPONENTS
Path: To determine the user's nmh directory Folder-Protect: To set mode when creating a new folder Inbox: To find the default inbox Msg-Protect: To set mode when creating a new message Unseen-Sequence: To name sequences denoting unseen messages SEE ALSO
rcvdist(1), rcvpack(1), rcvtty(1), mh-sequence(5) DEFAULTS
`+folder' defaults to "Inbox" profile entry `-create' `-unseen' `-nozero' CONTEXT
No context changes will be attempted, with the exception of sequence manipulation. BUGS
If you use the "Unseen-Sequence" profile entry, rcvstore could try to update the context while another nmh process is also trying to do so. This can cause the context to become corrupted. To avoid this, do not use rcvstore if you use the "Unseen-Sequence" profile entry. MH.6.8 11 June 2012 RCVSTORE(1)
Man Page