|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T u
Length: 2205 (0x89d)
Types: TextFile
Names: »utility.tex«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z«
└─⟦e5a54fb17⟧
└─⟦this⟧ »pp-5.0/doc/manual/volume3/utility.tex«
% -*- LaTeX -*-
\chapter{Miscellaneous Utilities}
There are a number of small utility programs provided with PP that may
be of interest to end users. These are described here.
\section{A /bin/mail replacement}
PP comes with a very simple user interface for submitting messages. It
has approximately the functionality normally assumed by
\pgm{/bin/mail}. That is, it takes a list of addresses on the command
line, and reads the body of the message on the standard input. By
default all the addresses are marked as \verb|To:| recipients. The
command has a few options, each option stays in force until overriden.
\begin{describe}
\item[\verb|-t|:] The following arguments, up to the next flag, are
\verb|To:| addresses.
\item[\verb|-c|:] The following arguments are \verb|Cc:| addresses.
\item[\verb|-s|:] The following arguments are text for the
\verb|Subject:| line.
\end{describe}
This program is most useful in scripts and programs as a simple way of
sending a message.
\section{Message status checkup}
% -a messages from and to ow just from
% -h connect to this mta rather than local
PP provides a tool, \pgm{checkmail}, that connects to an mta and finds
out about messages related to the user.
There are two flags to alter \pgm{checkmail}'s behaviour.
\begin{description}
\item [-a] This flag prompts \pgm{checkmail} to find out about
messages to and from the user. By default, \pgm{checkmail} only finds
out about messages from the user.
\item [-h mtaname] This flag prompts \pgm{checkmail} to connect to the
named mta. By default, \pgm{checkmail} attempts to connect to an mta
running on the local machine.
\end{description}
Here are two example displays from the \pgm{checkmail} tool.
\begin{quote}\small\begin{verbatim}
john% xcheckmail -h sheriff
Please wait while attempt to connect to sheriff....connected
The messages from pac on sheriff are as follows:
msg.aa03130 is pending delivery to p.pat@cs.nott.ac.uk
john% xcheckmail -h sheriff -a
Please wait while attempt to connect to sheriff....connected
The messages to or from pac on sheriff are as follows:
msg.aa03130 is pending delivery to p.pat@cs.nott.ac.uk
msg.aa03140 is from P.Pat@cs.nott.ac.uk
\end{verbatim}\end{quote}