doc: fix obsolete font commands

This commit is contained in:
Peter Simons 2016-09-10 18:18:37 +02:00
parent 511ad01778
commit 184701aa8b

View File

@ -3,17 +3,17 @@
\usepackage{lastpage} \usepackage{lastpage}
\usepackage{fancyhdr} \usepackage{fancyhdr}
\pagestyle{fancy} \pagestyle{fancy}
\lhead{\sl The Petidomo Mailing List Manager} \lhead{\textsl{The Petidomo Mailing List Manager}}
\chead{} \chead{}
\rhead{Page \thepage\ of \pageref{LastPage}} \rhead{Page~\thepage~of~\pageref{LastPage}}
\lfoot{} \lfoot{}
\cfoot{} \cfoot{}
\rfoot{} \rfoot{}
\fancypagestyle{plain}{} \fancypagestyle{plain}{}
\fussy \fussy
\newcommand{\Def}[1]{{\sl #1}} \newcommand{\Def}[1]{{\textsl{#1}}}
\newcommand{\file}[1]{{\sf #1}} \newcommand{\file}[1]{{\textsf{#1}}}
\begin{document} \begin{document}
@ -277,9 +277,9 @@ testlist-request: "|/usr/local/bin/petidomo --mode=listserv testlist"
testlist-owner: petidomo-manager testlist-owner: petidomo-manager
\end{verbatim} \end{verbatim}
\end{quote} \end{quote}
Having done all this, execute the newaliases(1) utility to rebuild Having done all this, execute the \texttt{newaliases(1)} utility to rebuild
sendmail's internal database. Your changes will not have any effect sendmail's internal database. Your changes will not have any effect unless you
unless you do this. do this.
\section{Configuring the File Permissions} \section{Configuring the File Permissions}
@ -482,18 +482,7 @@ It does ...
\end{quote} \end{quote}
If this all worked for you, you have a your Petidomo installation up If this all worked for you, you have a your Petidomo installation up
and running. Men will envy you and women will desire you --- unless, and running. Congratulations!
of course, you \emph{are} a woman, then it is vice versa. You will be
able to stop smoking any time you want, you may eat anything you like
and as much as you like, but you will never gain a single pound. Your
sex life will improve dramatically, your boss will like you, your hard
drives will never crash and your Internet connections will always be
fast. All this, thanks to the wonders of the {\bf Petidomo Mailing
List Manager!}
In case any of the benefits promised above stays away, please consult
paragraphs 11 and 12 of the file \file{COPYING} included in this
distribution.
\chapter{Configuring Petidomo} \chapter{Configuring Petidomo}
@ -1016,7 +1005,7 @@ complete list:
\begin{description} \begin{description}
\item[{-}-mode={\sf mode}] \hfill ``listserv'', ``deliver'', ``approve'', or ``dump'' \item[{-}-mode={\textsf{mode}}] \hfill ``listserv'', ``deliver'', ``approve'', or ``dump''
The mode parameter is the only mandatory parameter and it will The mode parameter is the only mandatory parameter and it will
determine what mode Petidomo runs in. Anyway, if Petidomo is started determine what mode Petidomo runs in. Anyway, if Petidomo is started
@ -1037,7 +1026,7 @@ In ``dump'' mode, Petidomo will expect the name of a mailing list on
the command line --- the ``listname'' option --- and dump the list of the command line --- the ``listname'' option --- and dump the list of
subscribed addresses on that list to standart output. subscribed addresses on that list to standart output.
\item[{-}-listname={\sf list name}] \item[{-}-listname={\textsf{list name}}]
This parameter may contain any valid mailing list name. Depending on This parameter may contain any valid mailing list name. Depending on
the mode, it this list name will be used as follows. In ``listserv'' the mode, it this list name will be used as follows. In ``listserv''
@ -1463,15 +1452,15 @@ an ACL statement is shown in figure~\ref{acl syntax}.
\begin{figure}[bth] \begin{figure}[bth]
\begin{center} \begin{center}
\begin{tabular}{cccccccccc} \begin{tabular}{cccccccccc}
IF & ( & from & match & {\tt "}regexp{\tt "} & ) & THEN & pass & & ; \\ IF & ( & from & match & {\texttt{"}}regexp{\texttt{"}} & ) & THEN & pass & & ; \\
& & subject & matches & & & & drop & & \\ & & subject & matches & & & & drop & & \\
& & envelope & == & {\tt "}string{\tt "} & & & reject & & \\ & & envelope & == & {\texttt{"}}string{\texttt{"}} & & & reject & & \\
& & header & = & & & & rejectwith & {\tt "}file{\tt "} & \\ & & header & = & & & & rejectwith & {\texttt{"}}file{\texttt{"}} & \\
& & body & & & & & redirect & {\tt "}address{\tt "} & \\ & & body & & & & & redirect & {\texttt{"}}address{\texttt{"}} & \\
& & & & & & & forward & {\tt "}address{\tt "} & \\ & & & & & & & forward & {\texttt{"}}address{\texttt{"}} & \\
& & & & & & & filter & {\tt "}script{\tt "} & \\ & & & & & & & filter & {\texttt{"}}script{\texttt{"}} & \\
& & & & & & & approve & & \\ & & & & & & & approve & & \\
IF & ( & & {\tt "}filter{\tt "} & & ) & THEN & & & ; \\ IF & ( & & {\texttt{"}}filter{\texttt{"}} & & ) & THEN & & & ; \\
\end{tabular} \end{tabular}
\caption{Access Control Language syntax} \caption{Access Control Language syntax}
\label{acl syntax} \label{acl syntax}
@ -1565,7 +1554,7 @@ IF (from == "moron@moron.net") OR
\end{quote} \end{quote}
The keyword ``from'' stands for the address, noted in the ``From:'' The keyword ``from'' stands for the address, noted in the ``From:''
header line of the mail and, the ``== {\tt "}address{\tt "}'' means header line of the mail and, the ``== {\texttt{"}}address{\texttt{"}}'' means
that the condition if this address is equal to the one written in that the condition if this address is equal to the one written in
quotes thereafter. (You can also use a single `=' character, if you quotes thereafter. (You can also use a single `=' character, if you
prefer that over two equal-characters.) This is a verbatim match. If prefer that over two equal-characters.) This is a verbatim match. If
@ -1739,9 +1728,8 @@ if (from matches "simons@.*\.de") and
\end{verbatim} \end{verbatim}
\end{quote} \end{quote}
\item Currently you can't match for the double quote character ({\tt \item Currently you can't match for the double quote character ({\texttt{"}}),
"}), we're afraid. The escape sequence {\tt \verb+\+"} is not we're afraid. The escape sequence \verb|\"| is not supported yet.
supported yet.
\end{itemize} \end{itemize}
@ -1899,7 +1887,7 @@ volunteers are welcome, and install it.
\item Log in as user ``petidomo''. \item Log in as user ``petidomo''.
\item Create a directory \file{.pgp} in the home directory of the \item Create a directory \file{.pgp} in the home directory of the
users Petidomo runs under and set the {\tt \$PGPPATH} variable to it. users Petidomo runs under and set the {\texttt{\$PGPPATH}} variable to it.
\item Create a PGP key pair by calling `pgp -kg''. As user-id enter \item Create a PGP key pair by calling `pgp -kg''. As user-id enter
the address of the mailing list itself, for example: ``The secret the address of the mailing list itself, for example: ``The secret
@ -1974,13 +1962,13 @@ who, when being called by \file{pgp-encrypt.sh}.
Finally, make sure that you do this only with the correct versions of Finally, make sure that you do this only with the correct versions of
the software. Petidomo needs to be version 2.1 or later, earlier the software. Petidomo needs to be version 2.1 or later, earlier
versions won't work. The PGP binary needs to understand the {\tt -@} versions won't work. The PGP binary needs to understand the {\texttt{-@}}
operator on the command line, which has been added in PGP 2.6i at some operator on the command line, which has been added in PGP 2.6i at some
time. time.
One last hint: If PGP-encryption or decryption doesn't work, it will One last hint: If PGP-encryption or decryption doesn't work, it will usually
usually help to remove the {\tt \$LOGFILE} parameter from the {\tt help to remove the {\texttt{\$LOGFILE}} parameter from the {\texttt{trap}}
trap} command in the scripts: command in the scripts:
\begin{quote} \begin{quote}
\begin{verbatim} \begin{verbatim}
@ -2065,11 +2053,11 @@ Petidomo's address validation algorithm fails. Once you have an
incorrect address in your list file, sendmail will abort with an incorrect address in your list file, sendmail will abort with an
error, without trying to deliver the mail at all. error, without trying to deliver the mail at all.
To clarify, this does not happen when an address is not reachable, To clarify, this does not happen when an address is not reachable, this happens
this happens only when you subscribe something like {\tt only when you subscribe something like {\texttt{hey@this@is@wrong....}}. Once
hey@this@is@wrong....}. Once you suspect that your address list has you suspect that your address list has been corrupted, there's an easy way to
been corrupted, there's an easy way to find out, which addresses are find out, which addresses are wrong. Simply use sendmail's address verification
wrong. Simply use sendmail's address verification mode like this: mode like this:
\begin{quote} \begin{quote}
\begin{verbatim} \begin{verbatim}