INC(1MH) COMMAND REFERENCE INC(1MH)
NAME
inc - incorporate new mail
SYNOPSIS
inc [ +folder ] [ -audit audit-file ] [ -ms ms-folder ] [
-help ] [ -changecur ] [ -nochangecur ] [ -time ] [ -notime
] [ -numdate ] [ -nonumdate ]
DESCRIPTION
Inc incorporates mail from the user's incoming mail drop
(/usr/spool/mail/$USER) into an MH folder. If '+folder'
isn't specified, the folder named inbox in the user's MH
directory will be used. The new messages being incorporated
are assigned numbers starting with the next highest number
in the folder. If the specified (or default) folder doesn't
exist, the user will be queried prior to its creation. As
the messages are processed, a scan listing of the new mail
is produced.
If the user's profile contains a 'Msg-Protect: nnn' entry,
it will be used as the protection on the newly created
messages, otherwise the MH default of 664 will be used.
During all operations on messages, this initially assigned
protection will be preserved for each message, so chmod(1)
may be used to set a protection on an individual message,
and its protection will be preserved thereafter.
If the switch -audit audit-file is specified (usually as a
default switch in the profile), then inc will append a
header line and a line per message to the end of the
specified audit-file with the format:
<<inc>> date
<scan line for first message>
<scan line for second message>
<etc.>
This is useful for keeping track of volume and source of
incoming mail. Eventually, repl, forw, and comp may also
produce audits to this (or another) file, perhaps with
'Message-Id:' information to keep an exact correspondence
history. 'Audit-file' will be in the user's MH directory
unless a full path is specified.
Inc will incorporate even illegally formatted messages into
the user's MH folder, inserting a blank line prior to the
offending component and printing a comment identifying the
bad message.
In all cases, the /usr/spool/mail/$USER file will be zeroed.
Printed 10/17/86 1
INC(1MH) COMMAND REFERENCE INC(1MH)
Your .mh_profile can contain the following entries:
Path: To determine the user's MH directory
Folder-Protect: For protection on new folders
Msg-Protect: For protection on new messages
inc has the following defaults:
+folder defaults to inbox
The folder into which the message is being incorporated will
become the current folder, and the first message
incorporated will be the current message. This leaves the
context ready for a show of the first new message unless
-nochangecur is set.
OPTIONS
Options with an astrisk following indicates default
condition.
-audit audit-file
inc will append a header line and a line per message to
the end of the specified audit-file with the format:
<<inc>> date
<scan line for first message>
<scan line for second message>
<etc.>
-help
Displays a synopsis of the inc command.
+folder
folder becomes the current folder.
-ms ms-file
inc will read from ms-file as though it were the mail
drop, instead of the default mail drop
/usr/spool/mail/$USER.
-changecur*
will cause the current message to be changed to the
first message incorporated.
-nochangecur
will cause the current message not to be changed to the
first message incorporated.
-time
will cause the time the message was sent (in 24 hour
format) to be printed on the scan line during
incorporation.
Printed 10/17/86 2
INC(1MH) COMMAND REFERENCE INC(1MH)
-notime*
will not cause the time the message was sent (in 24 hour
format) to be printed on the scan line during
incorporation.
-numdate
will cause the date in the scan line during incoporation
to be printed in YYMMDD format (useful for sorting scan
lines by dates).
-nonumdate*
will not cause the date in the scan line during
incoporation to be printed in YYMMDD format (useful for
sorting scan lines by dates).
FILES
$HOME/.mh_profile The user profile
/usr/spool/mail/$USER The user's mail drop
<mh-dir>/audit-file Audit trace file (optional)
SEE ALSO
comp(1mh), folder(1mh), forw(1mh), inc(1mh), mail(1mh),
next(1mh), pick(1mh), prev(1mh), prompter(1mh), refile(1mh),
repl(1mh), rmf(1mh), rmm(1mh), scan(1mh), send(1mh),
show(1mh).
Printed 10/17/86 3
%%index%%
na:72,62;
sy:134,711;
de:845,2310;3299,706;
op:4005,1545;5694,709;
fi:6403,285;
se:6688,511;
%%index%%000000000126