.TH getmap "" "" "Command"
.PC "De-archive Usenet map articles"
.fi
\fB/usr/lib/mail/getmap [\-b \fIbatchfile\^\fB] [\-m \fImapdir\^\fB] [\-n \fInewsgroup\^\fB] [\-u \fIusername\^\fB] [\-w \fIworkdir\^\fB]\fR
.PP
.HS
.SH Options
.IC "\fB\-b \fIbatch\fR"
De-archive \fIbatch\fR (default, \fB/usr/spool/uumaps/work/batch\fR)
.IC "\fB\-m \fImapdir\fR"
Copy articles into \fImapdir\fR (default, \fB/usr/spool/uumaps\fR)
.IC "\fB\-n \fInewsgroups\fR"
Read articles from \fInewsgroup\fR
.IC "\fB\-u \fIuser\fR"
Mail errors to \fIuser\fR (default, \fBpostmaster\fR)
.IC "\fB\-w \fIworkdir\fR"
Keep logs and batch files in \fIworkdir\fR (default,
\fB/usr/spool/uumaps/work\fR)
.HE
The script
.B getmap
de-archives Usenet map articles.
.II "shar file"
The articles must be in the form of a shell archive (or ``shar'' file).
De-archived articles are copied into directory
.BR /usr/spool/uumaps .
.PP
.B getmap
recognizes the following command-line arguments:
.IP "\fB\-b \fIbatch\fR"
De-archive
.IR batch ,
which is a shell archive of file names.
If
.I batch
is `-',
.B getmap
reads the standard input.
By default,
.B getmap
reads file
.BR /usr/spool/uumaps/work/batch .
.IP "\fB\-m \fImapdir\fR"
Copy articles into
.IR mapdir ,
instead of the default directory
.BR /usr/spool/uumaps .
.IP "\fB\-n \fInewsgroups\fR"
Read articles from
.IR newsgroup .
.IP "\fB\-u \fIuser\fR"
Mail errors to
.IR user .
If
.I user
is `-', write errors to the standard output.
By default,
.B getmap
mails errors to user \fBpostmaster\fR.
.IP "\fB\-w \fIworkdir\fR"
Keep logs and batch files in
.IR workdir .
By default, logs and batch files are kept in directory
.BR /usr/spool/uumaps/work .
.SH "See Also"
.Xr "commands," commands
.Xr "mail [overview]" mail.o
