masqmail

diff docs/man/masqmail.8 @ 0:08114f7dcc23

this is masqmail-0.2.21 from oliver kurth
author meillo@marmaro.de
date Fri, 26 Sep 2008 17:05:23 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/docs/man/masqmail.8	Fri Sep 26 17:05:23 2008 +0200
     1.3 @@ -0,0 +1,213 @@
     1.4 +.TH masqmail 8 User Manuals
     1.5 +.SH NAME
     1.6 +masqmail \- An offline Mail Transfer Agent
     1.7 +.SH SYNOPSIS
     1.8 +\fB/usr/sbin/masqmail [-C \fIfile\f1\fB] [-odq] [-bd] [-q\fIinterval\f1\fB]
     1.9 +
    1.10 +\fB/usr/sbin/masqmail [-odq] [-bs]
    1.11 +
    1.12 +\fB/usr/sbin/masqmail [-bp]
    1.13 +
    1.14 +\fB/usr/sbin/masqmail [-q]
    1.15 +
    1.16 +\fB/usr/sbin/masqmail [-qo [\fIname\f1\fB]]
    1.17 +
    1.18 +\fB/usr/sbin/masqmail [-odq] [-g [\fIname\f1\fB]]
    1.19 +
    1.20 +\fB/usr/sbin/masqmail [-odq] [-go [\fIname\f1\fB]]
    1.21 +
    1.22 +\fB/usr/sbin/masqmail [-t] [-oi] [-f \fIaddress\f1\fB] [--] \fIaddress...\f1\fB
    1.23 +
    1.24 +\fB/usr/sbin/mailq
    1.25 +
    1.26 +\fB
    1.27 +.SH DESCRIPTION
    1.28 +
    1.29 +MasqMail is a mail server designed for hosts that do not have a permanent internet connection eg. a home network or a single host at home. It has special support for connections to different ISPs. It replaces sendmail or other MTAs such as qmail or exim. It can also act as a pop3 client.
    1.30 +
    1.31 +.SH OPTIONS
    1.32 +
    1.33 +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)
    1.34 +.TP
    1.35 +
    1.36 +\fB--\f1
    1.37 +
    1.38 +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.
    1.39 +.TP
    1.40 +
    1.41 +\fB-bd\f1
    1.42 +
    1.43 +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).
    1.44 +.TP
    1.45 +
    1.46 +\fB-bi\f1
    1.47 +
    1.48 +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.
    1.49 +.TP
    1.50 +
    1.51 +\fB-bp\f1
    1.52 +
    1.53 +Show the messages in the queue. Same as calling masqmail as 'mailq'.
    1.54 +.TP
    1.55 +
    1.56 +\fB-bs\f1
    1.57 +
    1.58 +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.
    1.59 +.TP
    1.60 +
    1.61 +\fB-B \fIarg\f1\fB\f1
    1.62 +
    1.63 +\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).
    1.64 +.TP
    1.65 +
    1.66 +\fB-bV \f1
    1.67 +
    1.68 +Show version information.
    1.69 +.TP
    1.70 +
    1.71 +\fB-C \f1\fIfilename\f1
    1.72 +
    1.73 +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.
    1.74 +.TP
    1.75 +
    1.76 +\fB-d \fInumber\f1\fB\f1
    1.77 +
    1.78 +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.
    1.79 +.TP
    1.80 +
    1.81 +\fB-f [\fIaddress\f1\fB]\f1
    1.82 +
    1.83 +Set the return path address to \fIaddress\f1. Only root, the user mail and anyoune in group trusted is allowed to do that.
    1.84 +.TP
    1.85 +
    1.86 +\fB-F [\fIstring\f1\fB]\f1
    1.87 +
    1.88 +Set the full sender name (in the From: header) to \fIstring\f1.
    1.89 +.TP
    1.90 +
    1.91 +\fB-g [\fIname\f1\fB]\f1
    1.92 +
    1.93 +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
    1.94 +.TP
    1.95 +
    1.96 +\fB-go [\fIinterval\f1\fB] [\fIname\f1\fB]\f1
    1.97 +
    1.98 +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).
    1.99 +
   1.100 +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.
   1.101 +
   1.102 +If called without \fIname\f1 the online status is determined with the configured method (see \fBonline_detect\f1 in config.html).
   1.103 +.TP
   1.104 +
   1.105 +\fB-i\f1
   1.106 +
   1.107 +Same as -oi, see below.
   1.108 +.TP
   1.109 +
   1.110 +\fB-Mrm \fIlist\f1\fB\f1
   1.111 +
   1.112 +Remove given messages from the queue. Only allowed for privileged users.
   1.113 +.TP
   1.114 +
   1.115 +\fB-oem\f1
   1.116 +
   1.117 +If the -oi ist not also given, always return with a non zero return code. Maybe someone tells me what this is good for...
   1.118 +.TP
   1.119 +
   1.120 +\fB-odb\f1
   1.121 +
   1.122 +Deliver in background. Masqmail always does this, which makes this option pretty much useless.
   1.123 +.TP
   1.124 +
   1.125 +\fB-odq\f1
   1.126 +
   1.127 +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.
   1.128 +.TP
   1.129 +
   1.130 +\fB-oi\f1
   1.131 +
   1.132 +A dot as a single character in a line does not terminate the message.
   1.133 +.TP
   1.134 +
   1.135 +\fB-q [\fIinterval\f1\fB]\f1
   1.136 +
   1.137 +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.
   1.138 +
   1.139 +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.
   1.140 +
   1.141 +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).
   1.142 +.TP
   1.143 +
   1.144 +\fB-qo [\fIname\f1\fB]\f1
   1.145 +
   1.146 +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).
   1.147 +
   1.148 +If called without \fIname\f1 the online status is determined with the configured method (see \fBonline_detect\f1 in config.html)
   1.149 +.TP
   1.150 +
   1.151 +\fB-t\f1
   1.152 +
   1.153 +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.
   1.154 +.TP
   1.155 +
   1.156 +\fB-v\f1
   1.157 +
   1.158 +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.
   1.159 +.SH ENVIRONMENT FOR PIPES AND MDAS
   1.160 +
   1.161 +For security reasons, before any pipe command from an alias expansion or an mda is called, the environment variables will be completely discarded and newly set up. These are:
   1.162 +
   1.163 +SENDER, RETURN_PATH - the return path.
   1.164 +
   1.165 +SENDER_DOMAIN - the domain part of the return path.
   1.166 +
   1.167 +SENDER_LOCAL - the local part of the return path.
   1.168 +
   1.169 +RECEIVED_HOST - the host the message was received from (unless local).
   1.170 +
   1.171 +LOCAL_PART, USER, LOGNAME - the local part of the (original) recipient.
   1.172 +
   1.173 +MESSAGE_ID - the unique message id. This is not necessarily identical with the Message ID as given in the Message ID: header.
   1.174 +
   1.175 +QUALIFY_DOMAIN - the domain which will be appended to unqualified addresses.
   1.176 +
   1.177 +.SH FILES
   1.178 +
   1.179 +\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.
   1.180 +
   1.181 +\fI/etc/aliases\f1 is the alias file, if not set differently in \fI/etc/masqmail/masqmail.conf\f1.
   1.182 +
   1.183 +\fI/var/spool/masqmail/\f1 is the spool directory where masqmail stores its spooled messages and the uniq pop ids.
   1.184 +
   1.185 +\fI/var/spool/mail/\f1 is the directory where locally delivered mail will be put, if not configured differently in \fImasqmail.conf\f1.
   1.186 +
   1.187 +\fI/var/log/masqmail/\f1 is the directory where masqmail stores its log mesages. This can also be somewhere else if configured differently by your sysadmin or the package mantainer.
   1.188 +
   1.189 +.SH CONFORMING TO
   1.190 +
   1.191 +RFC 821, 822, 1869, 1870, 2197, 2554 (SMTP)
   1.192 +
   1.193 +RFC 1725, 1939 (POP3)
   1.194 +
   1.195 +RFC 1321 (MD5)
   1.196 +
   1.197 +RFC 2195 (CRAM-MD5)
   1.198 +
   1.199 +.SH AUTHOR
   1.200 +
   1.201 +masqmail was written by Oliver Kurth <oku@masqmail.cx>
   1.202 +
   1.203 +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.
   1.204 +
   1.205 +.SH BUGS
   1.206 +
   1.207 +You should report them to the mailing list.
   1.208 +
   1.209 +.SH SEE ALSO
   1.210 +
   1.211 +\fBmasqmail.conf (5)\f1, \fBmasqmail.route (5)\f1, \fBmasqmail.get (5)\f1, \fBmasqmail.aliases (5)\f1
   1.212 +
   1.213 +.SH COMMENTS
   1.214 +
   1.215 +This man page was written using \fBxml2man (1)\f1 by the same author.
   1.216 +