masqmail-0.2

changeset 155:dbe3dadd1afe

Documentation improvements in the INSTALL file and some man pages thanks to Nico R.
author meillo@marmaro.de
date Wed, 14 Jul 2010 12:02:01 +0200
parents 4917e764f108
children 0e7601b8cebf
files INSTALL man/masqmail.8 man/masqmail.conf.5
diffstat 3 files changed, 26 insertions(+), 24 deletions(-) [+]
line diff
     1.1 --- a/INSTALL	Wed Jul 14 11:48:59 2010 +0200
     1.2 +++ b/INSTALL	Wed Jul 14 12:02:01 2010 +0200
     1.3 @@ -1,5 +1,5 @@
     1.4  Additional information may be available in docs/ or on the website.
     1.5 -For installing on GNU/Linux distributions read docs/linux-distris.
     1.6 +For installing on GNU/Linux distributions read docs/INSTALL.linux.
     1.7  
     1.8  
     1.9  Installation instructions
    1.10 @@ -18,7 +18,7 @@
    1.11  use any number you like, but preferably one < 100. It does not have
    1.12  to be the same for the user 'mail' and the group 'trusted'.
    1.13  
    1.14 -Compliling is a matter of the usual procedure. In the source directory,
    1.15 +Compiling is a matter of the usual procedure. In the source directory,
    1.16  after unpacking do:
    1.17  
    1.18  	./configure
    1.19 @@ -54,43 +54,44 @@
    1.20  
    1.21  --enable-auth enables ESMTP AUTH support (disabled by default)
    1.22  
    1.23 ---disable-pop3 disables pop3 support (enabled by default)
    1.24 +--disable-pop3 disables POP3 support (enabled by default)
    1.25  
    1.26  --enable-maildir enables qmail style Maildir support (disabled by default)
    1.27  
    1.28 ---enable-ident enable RFC 1413 support. If you have the libident
    1.29 +--enable-ident enables RFC 1413 support. If you have the libident
    1.30  dynamic library installed, this will be linked, otherwise it will be
    1.31  statically linked using the sources included in the package.
    1.32  
    1.33 ---disable-resolver disable resolver support. Without the resolver functions,
    1.34 +--disable-resolver disables resolver support. Without the resolver functions,
    1.35  masqmail uses only gethostbyname() to resolve DNS names, and you cannot send
    1.36  mail without a smart host. Not recommended. You save 3K at most.
    1.37  
    1.38 ---disable-smtp-server disable SMTP server support. You may want this if you do
    1.39 +--disable-smtp-server disables SMTP server support. You may want this if you do
    1.40  not need masqmail to listen. In this case, you cannot use masqmail as a smart
    1.41  host for other hosts on your LAN, you cannot use mail clients that send SMTP,
    1.42  you cannot even use pine. In short, use of this option is discouraged unless
    1.43  your resources are extremely limited.
    1.44  
    1.45 ---enable-mserver enable online detection by connecting to the mserver
    1.46 +--enable-mserver enables online detection by connecting to the mserver
    1.47  (masqdialer system).
    1.48  
    1.49  --with-libcryto instead of using the md5 and hmac functions within the package,
    1.50 -link dynamically with libcrypto. This applies only if you have pop3 or SMTP
    1.51 -AUTH enabled. Makes only sense if your resources are limited and you have
    1.52 +link dynamically with libcrypto. This applies only if you have POP3 or SMTP
    1.53 +AUTH enabled. Only makes sense if your resources are limited and you have
    1.54  libcrypto installed. Untested.
    1.55  
    1.56 ---with-glib-static link with glib statically. This makes the binary larger
    1.57 +--with-glib-static links with glib statically. This makes the binary larger
    1.58  by around 30K (i386 architecture), but if masqmail is the only binary using
    1.59  glib, you save some space in total, because you do not need the shared glib
    1.60  library installed.
    1.61  
    1.62 ---disable-debug disable debugging, setting it on by command line or configuration
    1.63 -has no effect. Strongly discouraged, since you miss valuable information if something
    1.64 -goes wrong. You save 6K.
    1.65 +--disable-debug disables debugging; enabling it by command line or configuration
    1.66 +option has no effect. Strongly discouraged, since you miss valuable information
    1.67 +if something goes wrong. You save 6K.
    1.68  
    1.69  BTW, to get 3K of space, call
    1.70  strip --remove-section=.comment --remove-section=.note --strip-unneeded src/masqmail
    1.71 +after building.
    1.72  
    1.73  
    1.74  
    1.75 @@ -103,7 +104,7 @@
    1.76  Check that 'make install' worked correctly. The following command:
    1.77  
    1.78  	ls -ld /usr/sbin/masqmail /etc/masqmail /var/log/masqmail/ \
    1.79 -	       /var/run/masqmail /var/spool/masqmail/ /var/spool/masqmail/* 
    1.80 +	       /var/run/masqmail /var/spool/masqmail/ /var/spool/masqmail/*
    1.81  
    1.82  should give output similar to
    1.83  
     2.1 --- a/man/masqmail.8	Wed Jul 14 11:48:59 2010 +0200
     2.2 +++ b/man/masqmail.8	Wed Jul 14 12:02:01 2010 +0200
     2.3 @@ -29,7 +29,8 @@
     2.4  e.g. a home network or a single host at home.
     2.5  It has special support for connections to different ISPs.
     2.6  It replaces sendmail or other MTAs such as qmail or exim.
     2.7 -It can also act as a pop3 client.
     2.8 +It can also act as a POP3 client (if this functionality has not been disabled at
     2.9 +build configuration time).
    2.10  
    2.11  
    2.12  .SH OPTIONS
    2.13 @@ -138,7 +139,7 @@
    2.14  It checks for the online status first.
    2.15  Example: `masqmail \-go 5m' will retrieve mail every five minutes.
    2.16  
    2.17 -If called without \fIname\fR the online status is determined with the configured method
    2.18 +If called without \fIname\fR, the online status is determined with the configured method
    2.19  (see \fBonline_detect\fR in \fBmasqmail.conf(5)\fR).
    2.20  
    2.21  .TP
     3.1 --- a/man/masqmail.conf.5	Wed Jul 14 11:48:59 2010 +0200
     3.2 +++ b/man/masqmail.conf.5	Wed Jul 14 12:02:01 2010 +0200
     3.3 @@ -16,22 +16,22 @@
     3.4  Where \fBval\fR is a variable name and \fIexpression\fR a string,
     3.5  which can be quoted with double quotes `"'.
     3.6  If the expression is on multiple lines or contains characters other than letters,
     3.7 -digits or the characters `.', `-', `_', `/', ';', '@', ':' it must be quoted.
     3.8 +digits or the characters `.', `-', `_', `/', ';', '@', ':', it must be quoted.
     3.9  You can use quotes inside quotes by escaping them with a backslash.
    3.10  
    3.11 -Each val has a type, which can be boolean, numeric, string or list.
    3.12 +Each \fBval\fP has a type, which can be boolean, numeric, string or list.
    3.13  A boolean variable can be set with one of the values `on', `yes', and `true' or `off', `no' and `false'.
    3.14  List items are separated with semicolons `;'.
    3.15 -For some values patterns (like `*',`?') can be used.
    3.16 -The spaces before and after the equal sign `=' are optional.
    3.17 +For some values, patterns (like `*',`?') can be used.
    3.18 +The spaces in front of and after the equal sign `=' are optional.
    3.19  
    3.20  Most lists (exceptions: \fBlocal_hosts\fR, \fBlocal_nets\fR, \fBlisten_addresses\fR,
    3.21   \fBonline_routes\fR, and \fBonline_gets\fR) accept files.
    3.22  These will be recognized by a leading slash `/'.
    3.23  The contents of these files will be included at the position of the file name,
    3.24  there can be items or other files before and after the file entry.
    3.25 -The format of the files is different though, within these files each entry is on another line.
    3.26 -(And not separated by semicolons).
    3.27 +The format of the files is different though, within these files each entry is on another line
    3.28 +and the entries are not separated by semicolons.
    3.29  This makes it easy to include large lists which are common in different configuration files,
    3.30  so they do not have to appear in every configuration file.
    3.31  
    3.32 @@ -65,8 +65,8 @@
    3.33  .TP
    3.34  \fBlog_dir = \fIfile\fR
    3.35  
    3.36 -The directory where log are stored, if syslog is not used.
    3.37 -Debug files are stored in this directory anyways.
    3.38 +The directory where logs are stored, if syslog is not used.
    3.39 +Debug files are always stored in this directory if debugging is enabled.
    3.40  \fI/var/log/masqmail\fR is a common value.
    3.41  \fIfile\fR must be an absolute path.
    3.42