# HG changeset patch # User meillo@marmaro.de # Date 1225960412 -3600 # Node ID 163aa299bedbc45de5aab509d82bf473fa5bf526 # Parent f671821d82224d8cf8f922b6896c511a1e9c17a1 fixed man pages added backslashes to dashes (to satisfy Debian) removed wrong sentence about /etc/aliases. Thanks to Alexis. (Closes Debian bug #480477) fixed typos reported by Reuben Thomas. (Closes Debian bug #427096) diff -r f671821d8222 -r 163aa299bedb docs/masqmail.8 --- a/docs/masqmail.8 Thu Nov 06 09:18:38 2008 +0100 +++ b/docs/masqmail.8 Thu Nov 06 09:33:32 2008 +0100 @@ -2,21 +2,21 @@ .SH NAME masqmail \- An offline Mail Transfer Agent .SH SYNOPSIS -\fB/usr/sbin/masqmail [-C \fIfile\f1\fB] [-odq] [-bd] [-q\fIinterval\f1\fB] +\fB/usr/sbin/masqmail [\-C \fIfile\f1\fB] [\-odq] [\-bd] [\-q\fIinterval\f1\fB] -\fB/usr/sbin/masqmail [-odq] [-bs] +\fB/usr/sbin/masqmail [\-odq] [\-bs] -\fB/usr/sbin/masqmail [-bp] +\fB/usr/sbin/masqmail [\-bp] -\fB/usr/sbin/masqmail [-q] +\fB/usr/sbin/masqmail [\-q] -\fB/usr/sbin/masqmail [-qo [\fIname\f1\fB]] +\fB/usr/sbin/masqmail [\-qo [\fIname\f1\fB]] -\fB/usr/sbin/masqmail [-odq] [-g [\fIname\f1\fB]] +\fB/usr/sbin/masqmail [\-odq] [\-g [\fIname\f1\fB]] -\fB/usr/sbin/masqmail [-odq] [-go [\fIname\f1\fB]] +\fB/usr/sbin/masqmail [\-odq] [\-go [\fIname\f1\fB]] -\fB/usr/sbin/masqmail [-t] [-oi] [-f \fIaddress\f1\fB] [--] \fIaddress...\f1\fB +\fB/usr/sbin/masqmail [\-t] [\-oi] [\-f \fIaddress\f1\fB] [\-\-] \fIaddress...\f1\fB \fB/usr/sbin/mailq @@ -27,130 +27,130 @@ .SH OPTIONS -Since masqmail is intended to replace sendmail, it uses the same command line options, but not all are implemented. There are also two additional options, which are unique to masqmail (-qo \fIconnection\f1 and -g) +Since masqmail is intended to replace sendmail, it uses the same command line options, but not all are implemented. There are also two additional options, which are unique to masqmail (\-qo \fIconnection\f1 and \-g) .TP -\fB--\f1 +\fB\-\-\f1 -Not a 'real' option, it means that all following arguments are to be understood as arguments and not as options even if they begin with a leading dash '-'. Mutt is known to call sendmail with this option. +Not a 'real' option, it means that all following arguments are to be understood as arguments and not as options even if they begin with a leading dash '\-'. Mutt is known to call sendmail with this option. .TP -\fB-bd\f1 +\fB\-bd\f1 -Run as daemon, accepting connections, usually on port 25 if not configured differently. This is usually used in the startup script at system boot and together with the -q option (see below). +Run as daemon, accepting connections, usually on port 25 if not configured differently. This is usually used in the startup script at system boot and together with the \-q option (see below). .TP -\fB-bi\f1 +\fB\-bi\f1 Old sendmail rebuilds its alias database when invoked with this option. Masqmail ignores it. Masqmail reads directly from the file given with alias_file in the config file. .TP -\fB-bp\f1 +\fB\-bp\f1 Show the messages in the queue. Same as calling masqmail as 'mailq'. .TP -\fB-bs\f1 +\fB\-bs\f1 Accept SMTP commands from stdin. Some mailers (eg pine) use this option as an interface. It can also be used to call masqmail from inetd. .TP -\fB-B \fIarg\f1\fB\f1 +\fB\-B \fIarg\f1\fB\f1 \fIarg\f1 is usually 8BITMIME. Some mailers use this to indicate that the message contains characters > 127. Masqmail is 8-bit clean and ignores this, so you do not have to recompile elm, which is very painful ;-). Note though that this violates some conventions: masqmail does not convert 8 bit messages to any MIME format if it encounters a mail server which does not advertise its 8BITMIME capability, masqmail does not advertise this itself. This is the same practice as that of exim (but different to sendmail). .TP -\fB-bV \f1 +\fB\-bV \f1 Show version information. .TP -\fB-C \f1\fIfilename\f1 +\fB\-C \f1\fIfilename\f1 Use another configuration than \fI/etc/masqmail/masqmail.conf\f1. Useful for debugging purposes. If not invoked by a privileged user, masqmail will drop all privileges. .TP -\fB-d \fInumber\f1\fB\f1 +\fB\-d \fInumber\f1\fB\f1 Set the debug level. This takes precedence before the value ofdebug_level in the configuration file. Read the warning in the description of the latter. .TP -\fB-f [\fIaddress\f1\fB]\f1 +\fB\-f [\fIaddress\f1\fB]\f1 -Set the return path address to \fIaddress\f1. Only root, the user mail and anyoune in group trusted is allowed to do that. +Set the return path address to \fIaddress\f1. Only root, the user mail and anyone in group mail is allowed to do that. .TP -\fB-F [\fIstring\f1\fB]\f1 +\fB\-F [\fIstring\f1\fB]\f1 Set the full sender name (in the From: header) to \fIstring\f1. .TP -\fB-g [\fIname\f1\fB]\f1 +\fB\-g [\fIname\f1\fB]\f1 Get mail (using pop3 or apop), using the configurations given with get.\fIname\f1 in the main configuration. Without \fIname\f1, all get configurations will be used. See also \fBmasqmail.get (5)\f1 .TP -\fB-go [\fIinterval\f1\fB] [\fIname\f1\fB]\f1 +\fB\-go [\fIinterval\f1\fB] [\fIname\f1\fB]\f1 Can be followed by a connection name. Use this option in your script which starts as soon as a link to the internet has been set up (usually ip-up). When masqmail is called with this option, the specified get configuration(s) is(are) read and mail will be retrieved from servers on the internet. The \fIname\f1 is defined in the configuration (see \fBonline_gets.\fIname\f1\fB\f1). -If called with an interval option (recognized by a digit as the first characater), masqmail starts as a daemon and tries to get mail in these intervals. It checks for the online status first. Example: masqmail -go 5m will retrieve mail all five minutes. +If called with an interval option (recognized by a digit as the first characater), masqmail starts as a daemon and tries to get mail in these intervals. It checks for the online status first. Example: masqmail \-go 5m will retrieve mail every five minutes. -If called without \fIname\f1 the online status is determined with the configured method (see \fBonline_detect\f1 in config.html). +If called without \fIname\f1 the online status is determined with the configured method (see \fBonline_detect\f1 in \fBmasqmail.conf (5)\f1). .TP -\fB-i\f1 +\fB\-i\f1 -Same as -oi, see below. +Same as \-oi, see below. .TP -\fB-Mrm \fIlist\f1\fB\f1 +\fB\-Mrm \fIlist\f1\fB\f1 Remove given messages from the queue. Only allowed for privileged users. .TP -\fB-oem\f1 +\fB\-oem\f1 -If the -oi ist not also given, always return with a non zero return code. Maybe someone tells me what this is good for... +If the \-oi ist not also given, always return with a non zero return code. Maybe someone tells me what this is good for... .TP -\fB-odb\f1 +\fB\-odb\f1 Deliver in background. Masqmail always does this, which makes this option pretty much useless. .TP -\fB-odq\f1 +\fB\-odq\f1 Do not attempt to deliver immediately. Any messages will be queued until the next queue running process picks them up and delivers them. You get the same effect by setting the do_queue option in /etc/masqmail/masqmail.conf. .TP -\fB-oi\f1 +\fB\-oi\f1 A dot as a single character in a line does not terminate the message. .TP -\fB-q [\fIinterval\f1\fB]\f1 +\fB\-q [\fIinterval\f1\fB]\f1 -If not given with an argument, run a queue process, ie. try to deliver all messages in the queue. Masqmail sends only to those addresses that are on the local net, not to those that are outside. Use -qo for those. +If not given with an argument, run a queue process, ie. try to deliver all messages in the queue. Masqmail sends only to those addresses that are on the local net, not to those that are outside. Use \-qo for those. -If you have configured inetd to start masqmail, you can use this option in a cron job which starts in regular time intervals, to mimic the same effect as starting masqmail with -bd -q30m. +If you have configured inetd to start masqmail, you can use this option in a cron job which starts in regular time intervals, to mimic the same effect as starting masqmail with \-bd \-q30m. -An argument may be a time interval ie. a numerical value followed by one of the letters. s,m,h,d,w which are interpreted as seconds, minutes, hours, days or weeks respectively. Example: -q30m. Masqmail starts as a daemon and a queue runner process will be started automatically once in this time interval. This is usually used together with -bd (see above). +An argument may be a time interval ie. a numerical value followed by one of the letters. s,m,h,d,w which are interpreted as seconds, minutes, hours, days or weeks respectively. Example: \-q30m. Masqmail starts as a daemon and a queue runner process will be started automatically once in this time interval. This is usually used together with \-bd (see above). .TP -\fB-qo [\fIname\f1\fB]\f1 +\fB\-qo [\fIname\f1\fB]\f1 Can be followed by a connection name. Use this option in your script which starts as soon as a link to the internet has been set up (usually ip-up). When masqmail is called with this option, the specified route configuration is read and the queued mail with destinations on the internet will be sent. The \fIname\f1 is defined in the configuration (see \fBonline_routes.\fIname\f1\fB\f1). -If called without \fIname\f1 the online status is determined with the configured method (see \fBonline_detect\f1 in config.html) +If called without \fIname\f1 the online status is determined with the configured method (see \fBonline_detect\f1 in \fBmasqmail.conf (5)\f1) .TP -\fB-t\f1 +\fB\-t\f1 Read recipients from headers. Delete 'Bcc:' headers. If any arguments are given, these are interpreted as recipient addresses and the message will not be sent to these. .TP -\fB-v\f1 +\fB\-v\f1 Log also to stdout. Currently, some log messages are marked as 'write to stdout' and additionally, all messages with priority 'LOG_ALERT' and 'LOG_WARNING' will be written to stdout if this option is given. It is disabled in daemon mode. .SH ENVIRONMENT FOR PIPES AND MDAS @@ -175,8 +175,6 @@ \fI/etc/masqmail/masqmail.conf\f1 is the main configuration for masqmail. Depending on the settings in this file, you will also have other configuration files in \fI/etc/masqmail/\f1. -\fI/etc/aliases\f1 is the alias file, if not set differently in \fI/etc/masqmail/masqmail.conf\f1. - \fI/var/spool/masqmail/\f1 is the spool directory where masqmail stores its spooled messages and the uniq pop ids. \fI/var/spool/mail/\f1 is the directory where locally delivered mail will be put, if not configured differently in \fImasqmail.conf\f1. @@ -197,7 +195,7 @@ masqmail was written by Oliver Kurth -You will find the newest version of masqmail at \fBhttp://masqmail.cx/masqmail/\f1 or search for it in freshmeat (\fBhttp://www.freshmeat.net\f1). There is also a mailing list, you will find information about it at masqmails main site. +You will find the newest version of masqmail at \fBhttp://masqmail.cx/masqmail/\f1 or search for it in freshmeat (\fBhttp://www.freshmeat.net\f1). There is also a mailing list, you will find information about it at masqmail's main site. .SH BUGS diff -r f671821d8222 -r 163aa299bedb docs/masqmail.conf.5 --- a/docs/masqmail.conf.5 Thu Nov 06 09:18:38 2008 +0100 +++ b/docs/masqmail.conf.5 Thu Nov 06 09:33:32 2008 +0100 @@ -86,7 +86,7 @@ A semicolon ';' separated list of fully qualified email-addresses which are considered not local although their domain name part is in the list of \fBlocal_hosts\f1. -This ist the opposite of the previous case. The majority of addresses of a specific domain are local. But some users are not. With this option you can easily exclude these users. +This is the opposite of the previous case. The majority of addresses of a specific domain are local. But some users are not. With this option you can easily exclude these users. Example: @@ -122,18 +122,18 @@ \fBdo_queue = \fIboolean\f1\fB\f1 -If this is set, mail will not be delivered immediately when accepted. Same as calling masqmail with the \fB-odq\f1 option. +If this is set, mail will not be delivered immediately when accepted. Same as calling masqmail with the \fB\-odq\f1 option. .TP \fBonline_routes.\fIname\f1\fB = \fIlist\f1\fB\f1 -Replace \fIname\f1 with a name to identify a connection. Set this to a filename (or a list of filenames) for the special route configuration for that connection. You will use that name to call masqmail with the\fB-qo\f1 option every time a connection to your ISP is set up. +Replace \fIname\f1 with a name to identify a connection. Set this to a filename (or a list of filenames) for the special route configuration for that connection. You will use that name to call masqmail with the \fB\-qo\f1 option every time a connection to your ISP is set up. Example: Your ISP has the name FastNet. Then you write the following line in the main configuration: \fBonline_routes.FastNet\f1 = \fI"/etc/masqmail/fastnet.route"\f1 -\fI/etc/masqmail/fastnet.route\f1 is the route configuration file, see \fBmasqmail.route (5)\f1. As soon as a link to FastNet has been set up, you call masqmail \fB-qo\f1 \fIFastNet\f1. Masqmail will then read the specified file and send the mails. +\fI/etc/masqmail/fastnet.route\f1 is the route configuration file, see \fBmasqmail.route (5)\f1. As soon as a link to FastNet has been set up, you call masqmail \fB\-qo\f1 \fIFastNet\f1. Masqmail will then read the specified file and send the mails. .TP \fBconnect_route.\fIname\f1\fB = \fIlist\f1\fB\f1 @@ -210,7 +210,7 @@ Example: -mda="/usr/bin/procmail -Y -d ${rcpt_local}" +mda="/usr/bin/procmail \-Y \-d ${rcpt_local}" For the mda, as for pipe commands, a few environment variables will be set as well. See \fBmasqmail (8)\f1. To use environment variables for the mda, the '$' sign has to be escaped with a backslash, otherwise they will be tried to be expanded with the internal variables. .TP @@ -235,14 +235,14 @@ When it is set to \fBmserver\f1, MasqMail connects to the masqdialer server using the value of \fBmserver_iface\f1 and asks it whether a connection exists and for the name, which should be the name of the current connection as defined with \fBconnect_route.\fIname\f1\fB\f1. -No matter how MasqMail detects the online status, only messages that are accepted at online time will be delivered using the connection. The spool still has to be emptied with masqmail \fB-qo\f1\fIconnection\f1. +No matter how MasqMail detects the online status, only messages that are accepted at online time will be delivered using the connection. The spool still has to be emptied with masqmail \fB\-qo\f1\fIconnection\f1. .TP \fBonline_file = \fIfile\f1\fB\f1 This is the name of the file checked for when MasqMail determines whether it is online. The file should only exist when there is currently a connection. Create it in your ip-up script with eg. -echo -n > /tmp/connect_route +echo \-n > /tmp/connect_route chmod 0644 /tmp/connect_route @@ -257,7 +257,7 @@ -[ -e /tmp/connect_route ] || exit 1 +[ \-e /tmp/connect_route ] || exit 1 cat /tmp/connect_route @@ -273,12 +273,12 @@ \fBget.\fIname\f1\fB = \fIfile\f1\fB\f1 -Replace \fIname\f1 with a name to identify a get configuration. Set this to a filename for the get configuration. These files will be used to retrieve mail when called with the -g option. +Replace \fIname\f1 with a name to identify a get configuration. Set this to a filename for the get configuration. These files will be used to retrieve mail when called with the \-g option. .TP \fBonline_gets.\fIname\f1\fB = \fIlist\f1\fB\f1 -Replace \fIname\f1 with a name to identify an online configuration. Set this to a filename (or a list of filenames) for the get configuration. These files will be used to retrieve mail when called with the -go option. +Replace \fIname\f1 with a name to identify an online configuration. Set this to a filename (or a list of filenames) for the get configuration. These files will be used to retrieve mail when called with the \-go option. .TP \fBident_trusted_nets = \fIlist\f1\fB\f1 diff -r f671821d8222 -r 163aa299bedb docs/masqmail.get.5 --- a/docs/masqmail.get.5 Thu Nov 06 09:18:38 2008 +0100 +++ b/docs/masqmail.get.5 Thu Nov 06 09:33:32 2008 +0100 @@ -78,7 +78,7 @@ Example for ssl tunneling: -wrapper="/usr/bin/openssl s_client -quiet -connect pop.gmx.net:995 2>/dev/null" +wrapper="/usr/bin/openssl s_client \-quiet \-connect pop.gmx.net:995 2>/dev/null" .SH AUTHOR masqmail was written by Oliver Kurth diff -r f671821d8222 -r 163aa299bedb docs/masqmail.route.5 --- a/docs/masqmail.route.5 Thu Nov 06 09:18:38 2008 +0100 +++ b/docs/masqmail.route.5 Thu Nov 06 09:33:32 2008 +0100 @@ -174,7 +174,7 @@ Example for ssl tunneling: -wrapper="/usr/bin/openssl s_client -quiet -connect pop.gmx.net:995 2>/dev/null" +wrapper="/usr/bin/openssl s_client \-quiet \-connect pop.gmx.net:995 2>/dev/null" .TP \fBpipe\f1 = \fIcommand\f1