diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-11-04 17:44:39 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-11-04 17:44:39 +0200 |
commit | 8bce3b2feef4a14de10b3c4cb0f24582c59433c0 (patch) | |
tree | 9185d760bf0b9e7b88553c692a7384a5ac052d62 | |
parent | 4274008d26a3cc0cee44e410655cf31f17eb75f6 (diff) | |
download | mailfromd-8bce3b2feef4a14de10b3c4cb0f24582c59433c0.tar.gz mailfromd-8bce3b2feef4a14de10b3c4cb0f24582c59433c0.tar.bz2 |
Spell check the docs.
-rw-r--r-- | doc/deprecate.texi | 2 | ||||
-rw-r--r-- | doc/mailfromd.texi | 52 | ||||
-rw-r--r-- | doc/pmult.texi | 16 | ||||
-rw-r--r-- | doc/smap.texi | 2 | ||||
-rw-r--r-- | doc/upgrade.texi | 4 |
5 files changed, 38 insertions, 38 deletions
diff --git a/doc/deprecate.texi b/doc/deprecate.texi index 87f6af4f..427e2280 100644 --- a/doc/deprecate.texi +++ b/doc/deprecate.texi @@ -57,7 +57,7 @@ a @samp{.} (dot) operator between the variables @end smallexample - @dfn{Operationa syntax} consists in calling a function of one + @dfn{Operational syntax} consists in calling a function of one argument without parentheses around the actual parameter, e.g.: @smallexample diff --git a/doc/mailfromd.texi b/doc/mailfromd.texi index efa1b985..4a481162 100644 --- a/doc/mailfromd.texi +++ b/doc/mailfromd.texi @@ -382,7 +382,7 @@ Upgrading @unnumbered Preface Simple Mail Transfer Protocol (@acronym{SMTP}) which is the standard -for e-mail transmissions across the internet was designed in the +for e-mail transmissions across the Internet was designed in the good old days when nobody could even think of the possibility of e-mail being abused to send tons of unsolicited messages of dubious contents. Therefore it lacks mechanisms that @@ -1945,7 +1945,7 @@ done @cindex RSET @cindex milter abort In previous section we have used a global variable to hold certain -information and share it between hanlders. In the majority of cases, +information and share it between handlers. In the majority of cases, such information is session specific, and becomes invalid if the remote party issues the SMTP @code{RSET} command. Therefore, @command{mailfromd} clears all global variables when it receives a @@ -2980,7 +2980,7 @@ done This function prints all its arguments (@xref{variadic functions}, for a detailed description of functions with variable -number of aruments). Now running: +number of arguments). Now running: @smallexample $ mailfromd --run script.mf 1 file dest @@ -3107,7 +3107,7 @@ Short option @option{-f}, taking a mandatory argument. Short option @option{-f}, taking an optional argument. @end table -If the verical bar is present and is followed by any characters, these +If the vertical bar is present and is followed by any characters, these characters specify the name of a long option, synonymous to the short one, specified by the first part. Any mandatory or optional arguments to the short option remain mandatory or optional for the corresponding @@ -3190,7 +3190,7 @@ other @var{argv}-elements in any order and that care about the ordering of the two. Any other value of the controlling argument is handled as an option -definiton. +definition. @end deftypefn @anchor{vaptr} @@ -3654,7 +3654,7 @@ debugging, or in your @code{catch} statements. @node Notes @section Notes and Cautions - This section discussess some potential culprits in the + This section discusses some potential culprits in the @acronym{MFL}. It is important to execute special caution when writing format @@ -5219,7 +5219,7 @@ done @end deffn The text collected this way can then be used in the @code{eom} handler -(see below) to parse and analize it. +(see below) to parse and analyze it. If you wish to analyze both the headers and mail body, the following code fragment will do that for you: @@ -5994,7 +5994,7 @@ Checks for an alphabetic character: @end deftypefn @deftypefn {Built-in Function} number isascii (string @var{str}) -Checks whether all characters in @var{str} are 7-bit ones, thatt fit into +Checks whether all characters in @var{str} are 7-bit ones, that fit into the @acronym{ASCII} character set. @smallexample @@ -6375,7 +6375,7 @@ Close a mailbox previously opened by @code{mailbox_open}. @deftypefn {Built-in Function} void mailbox_append_message (number @var{nmbx}, @ number @var{nmsg}) Append message @var{nmsg} to mailbox @var{nmbx}. The message -descriptior @var{nsmg} must be obtained from a previous call to +descriptor @var{nsmg} must be obtained from a previous call to @code{mailbox_get_message} or @code{current_message} (@pxref{current_message}). @end deftypefn @@ -6396,7 +6396,7 @@ that if @var{nmsg} refers to current message (@pxref{current_message}), the returned value is less than the size seen by the @acronym{MTA}, because @command{mailfromd} recodes @acronym{CR-LF} sequences to @acronym{LF}, i.e. removes carriage -returns (@acronym{ASCII} 13) ocurring before line feeds +returns (@acronym{ASCII} 13) occurring before line feeds (@acronym{ASCII} 10. To obtain actual message length as seen by the @acronym{MTA}, add the number of lines in the message: @@ -6449,7 +6449,7 @@ parameter @var{idx} may be used to select one of them. Headers are numbered from @samp{1}. If no matching header is not found, the @code{not_found} exception is -raised. If another error occures, the @code{failure} exception is +raised. If another error occurs, the @code{failure} exception is raised. The returned string is a verbatim copy of the message contents (except @@ -7066,7 +7066,7 @@ available only if the @samp{GeoIP} library is installed and @command{mailfromd} is compiled with the @samp{GeoIP} support. The @file{GeoIP} is a geolocational package distributed by @samp{MaxMind} under the terms of the GNU Lesser General Public -Licence. The library is available from +License. The library is available from @uref{http://www.maxmind.com/app/c}. @deftypefn {Built-in Function} string geoip_country_code_by_addr (@ @@ -7465,7 +7465,7 @@ exception if an @acronym{I/O} error occurs. @item e_eof End of file encountered. @item e_io -An @acronym{I/O} error occured. +An @acronym{I/O} error occurred. @end table @end deftypefn @@ -7483,7 +7483,7 @@ value. @item e_eof End of file encountered. @item e_io -An @acronym{I/O} error occured. +An @acronym{I/O} error occurred. @end table @end deftypefn @@ -7507,7 +7507,7 @@ removed from the return value. @item e_eof End of file encountered. @item e_io -An @acronym{I/O} error occured. +An @acronym{I/O} error occurred. @end table @end deftypefn @@ -7802,7 +7802,7 @@ done A set of functions is defined for interfacing with other filters via @acronym{TCP}. Currently implemented are interfaces with @command{SpamAssassin} @command{spamd} daemon and with -@command{ClamAV} antivirus. +@command{ClamAV} anti-virus. These functions can be used only in @code{eom} handler. @@ -8020,7 +8020,7 @@ statistics. The default is 2. Optional @var{threshold} controls rate database updates. If the observed rate (per @var{sample-interval} seconds) is higher than the @var{threshold}, the hit counters for that key are not incremented and the database is not -updated. Althouth the @var{threshold} argument is +updated. Although the @var{threshold} argument is optional@footnote{It is made optional in order to provide backward compatibility with the releases of mailfromd prior to 5.0.93.}, its use is strongly encouraged. Normally, the value of @var{threshold} equals @@ -8818,7 +8818,7 @@ listens on a socket for queries. The client connects to the server and sends it a query, consisting of a @dfn{map name} and a @dfn{key} separated by a single space. Both map name and key are sequences of non-whitespace characters. The map name serves to -identify the type of the query. The server resplies with a +identify the type of the query. The server replies with a response consisting of a @dfn{status indicator} and @dfn{result}, separated by a single space. The result part is optional. Valid status indicator and corresponding results are described in the @@ -8832,19 +8832,19 @@ The key was found, result contains the looked up value. The key was not found, the result is empty. @item NOMORE -Same as @samp{NOTFOUND}. This inicator instructs the client to +Same as @samp{NOTFOUND}. This indicator instructs the client to discontinue further searches using derivatives of the key. @item TEMP -A temporary failure occured. The result, if present, contains a +A temporary failure occurred. The result, if present, contains a textual description of the failure. @item TIMEOUT -A timeout occured on the server side. The result, if present, +A timeout occurred on the server side. The result, if present, contains a textual description of the failure. @item PERM -A permanent failure occured. The result, if present, +A permanent failure occurred. The result, if present, contains a textual description of the failure. @end table @@ -9322,7 +9322,7 @@ passed before dereferencing it. A function can also take variable number of arguments (such functions are called @dfn{variadic}). This is indicated by the use of ellipsis as the last abstract argument. The -statement below defines a funtion @code{foo} taking one mandatory, one +statement below defines a function @code{foo} taking one mandatory, one optional and any number of additional arguments: @smallexample @@ -9341,7 +9341,7 @@ $(@var{expr}) where @var{expr} is any valid @acronym{MFL} expression, evaluating to a number @var{n}. This construct refers to the value of @var{n}th actual parameter from the variable argument list. Parameters are -numbered from @samp{1}, so the first variable parametr is @code{$(1)}, +numbered from @samp{1}, so the first variable parameter is @code{$(1)}, and the last one is @code{$($# - @var{Nm} - @var{No})}, where @var{Nm} and @var{No} are numbers of mandatory and optional arguments to the function. @@ -9411,7 +9411,7 @@ done @anchor{function alias} @cindex aliases @kwindex alias - A function may have several names. An alernative name (or + A function may have several names. An alternative name (or @dfn{alias}) can be assigned to a function by using @code{alias} keyword, placed after @var{param-decl} part, for example: @@ -12410,7 +12410,7 @@ scripts. @xref{tracing runtime errors}, for a detailed description. @deffn {Mailfromd Conf} trace-actions bool Enable action tracing. If @var{bool} is @samp{true}, @command{mailfromd} will log all executed actions. @xref{Logging and -Debugging}, for a detailed desctription of action tracing. +Debugging}, for a detailed description of action tracing. @end deffn @deffn {Mailfromd Conf} trace-program modlist diff --git a/doc/pmult.texi b/doc/pmult.texi index e7f7b182..364ac2ca 100644 --- a/doc/pmult.texi +++ b/doc/pmult.texi @@ -40,7 +40,7 @@ are sent back to the server. we recommend to use @command{pies} daemon. @samp{Pies} is a powerful utility that allows you to launch several foreground-designed programs in the background and control their execution. @xref{Top, Pies Manual, -Pies, pies, Pies Manual}, for a detaied description of the program. +Pies, pies, Pies Manual}, for a detailed description of the program. For a practical advice on how to use it with @command{pmult}, see @ref{Simple Pies, Using Pies to Run Pmult,, pies, Pies Manual}. For a description on how to start both @command{pmult} and MeTA1 from @@ -82,7 +82,7 @@ mailutils, GNU Mailutils Manual}. @subsection Multiplexer Configuration. @cindex debugging, pmult @cindex pmult debugging - @command{Pmult} listens for pmilter requests on a socket, configured + @command{Pmult} listens for Pmilter requests on a socket, configured using @code{listen} statement: @deffn {Pmult Conf} listen @var{url} @@ -124,7 +124,7 @@ to open simultaneously. Default is 10. @cindex meta1 macros MeTA1's notion of macros differs considerably from that of Sendmail. Macros in MeTA1 are identified by integer numbers and only a limited -number of macros can be provided for each @dfn{pmilter stage}. +number of macros can be provided for each @dfn{Pmilter stage}. Pmilter stages mostly correspond to Milter states (@pxref{handler names}), except that there are no distinct header and body stages, instead these two are combined into a single @samp{data} stage. This @@ -280,7 +280,7 @@ command. @item The number of MeTA1 macros per stage is limited by @code{PM_MAX_MACROS} define in @file{include/sm/pmfdef.h}. In MeTA1 versions up to and including 1.0.PreAlpha28.0, this number is 8. If -you need more macros, inrease this number and recompile MeTA1. +you need more macros, increase this number and recompile MeTA1. @end enumerate @end deffn @@ -415,16 +415,16 @@ Prints the following information: @itemize @bullet @item opening and closing incoming connections; -@item entering particular pmilter stage handlers; +@item entering particular Pmilter stage handlers; @item received requests with unknown command code; @item header modification requests that does not match any headers. @end itemize @item trace2 -Information about milter to pmilter request translation. +Information about milter to Pmilter request translation. @item trace7 -Detailed dump of message body chunks received during pmilter +Detailed dump of message body chunks received during Pmilter @samp{DATA} stage. @item error @@ -437,7 +437,7 @@ Mailutils Configuration File,, mailutils, GNU Mailutils Manual}). @end deffn @deffn {Pmult Conf} pmilter-debug @var{level} -Set debug verbosity level for the pmilter library. Argument is a +Set debug verbosity level for the Pmilter library. Argument is a positive integer between zero (no debugging, the default), and 100 (maximum debugging). diff --git a/doc/smap.texi b/doc/smap.texi index 5971f1c7..4f945ba7 100644 --- a/doc/smap.texi +++ b/doc/smap.texi @@ -120,7 +120,7 @@ The @samp{quota} field from the retrieved record. @deffn {Pmult Conf} negative-reply @var{string} If the item is found, reply with the @var{string}. Before replying, -any ocurrence of @samp{$@{key@}} in @var{string} is replaced with the +any occurrence of @samp{$@{key@}} in @var{string} is replaced with the actual lookup key. @end deffn diff --git a/doc/upgrade.texi b/doc/upgrade.texi index f90a4c62..0d4637e7 100644 --- a/doc/upgrade.texi +++ b/doc/upgrade.texi @@ -7,7 +7,7 @@ The following sections describe procedures for upgrading -between the consequtive Mailfromd releases. +between the consecutive Mailfromd releases. @menu * 5x0-600:: Upgrading from 5.x to 6.0 @@ -46,7 +46,7 @@ These pragmas became deprecated in version 4.0 (@pxref{31x-400}). @samp{.rc} suffix, which usually marks a configuration file, not the source. In version 6.0 the script file is renamed to @file{mailfromd.mf}. In the absence of this file, the legacy file -@file{mailfromd.rc} is recognised and parsed. This ensures backward +@file{mailfromd.rc} is recognized and parsed. This ensures backward compatibility. This release also fixes various inconsistencies and dubious features |