masqmail
diff docs/masqmail.8 @ 34:8ea86ac25658
reformating of man page sources
with some typographic improvements
author | meillo@marmaro.de |
---|---|
date | Fri, 07 May 2010 13:50:23 +0200 |
parents | 607221b0dac1 |
children | 8071dc6c6ed1 |
line diff
1.1 --- a/docs/masqmail.8 Thu May 06 13:31:57 2010 +0200 1.2 +++ b/docs/masqmail.8 Fri May 07 13:50:23 2010 +0200 1.3 @@ -1,185 +1,265 @@ 1.4 -.TH masqmail 8 User Manuals 1.5 +.TH masqmail 8 2010-05-07 masqmail-0.2.21 "Maintenance Commands" 1.6 + 1.7 .SH NAME 1.8 masqmail \- An offline Mail Transfer Agent 1.9 + 1.10 .SH SYNOPSIS 1.11 -\fB/usr/sbin/masqmail [\-C \fIfile\f1\fB] [\-odq] [\-bd] [\-q\fIinterval\f1\fB] 1.12 +\fB/usr/sbin/masqmail \fR[\fB\-C \fIfile\fR] [\fB\-odq\fR] [\fB\-bd\fR] [\fB\-q\fIinterval\fR] 1.13 1.14 -\fB/usr/sbin/masqmail [\-odq] [\-bs] 1.15 +\fB/usr/sbin/masqmail \fR[\fB\-odq\fR] [\fB\-bs\fR] 1.16 1.17 -\fB/usr/sbin/masqmail [\-bp] 1.18 +\fB/usr/sbin/masqmail \fR[\fB\-bp\fR] 1.19 1.20 -\fB/usr/sbin/masqmail [\-q] 1.21 +\fB/usr/sbin/masqmail \fR[\fB\-q\fR] 1.22 1.23 -\fB/usr/sbin/masqmail [\-qo [\fIname\f1\fB]] 1.24 +\fB/usr/sbin/masqmail \fR[\fB\-qo \fR[\fIname\fR]] 1.25 1.26 -\fB/usr/sbin/masqmail [\-odq] [\-g [\fIname\f1\fB]] 1.27 +\fB/usr/sbin/masqmail \fR[\fB\-odq\fR] [\fB\-g \fR[\fIname\fR]] 1.28 1.29 -\fB/usr/sbin/masqmail [\-odq] [\-go [\fIname\f1\fB]] 1.30 +\fB/usr/sbin/masqmail \fR[\fB\-odq\fR] [\fB\-go \fR[\fIname\fR]] 1.31 1.32 -\fB/usr/sbin/masqmail [\-t] [\-oi] [\-f \fIaddress\f1\fB] [\-\-] \fIaddress...\f1\fB 1.33 +\fB/usr/sbin/masqmail \fR[\fB\-t\fR] [\fB\-oi\fR] [\fB\-f \fIaddress\fR] [\fB\-\-\fR] \fIaddress... 1.34 1.35 -\fB/usr/sbin/mailq 1.36 +\fB/usr/sbin/mailq\fR 1.37 1.38 -\fB 1.39 + 1.40 .SH DESCRIPTION 1.41 1.42 -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.43 +Masqmail is a mail server designed for hosts that do not have a permanent internet connection 1.44 +e.g. a home network or a single host at home. 1.45 +It has special support for connections to different ISPs. 1.46 +It replaces sendmail or other MTAs such as qmail or exim. 1.47 +It can also act as a pop3 client. 1.48 + 1.49 1.50 .SH OPTIONS 1.51 1.52 -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.53 +Since masqmail is intended to replace sendmail, it uses the same command line options, 1.54 +but not all are implemented. 1.55 +There are also two additional options, which are unique to masqmail 1.56 +(\fB\-qo \fIconnection\fR and \fB\-g\fR) 1.57 + 1.58 .TP 1.59 +\fB\-\-\fR 1.60 1.61 -\fB\-\-\f1 1.62 +Not a `real' option, it means that all following arguments are to be understood 1.63 +as arguments and not as options even if they begin with a leading dash `\-'. 1.64 +Mutt is known to call sendmail with this option. 1.65 1.66 -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.67 .TP 1.68 +\fB\-bd\fR 1.69 1.70 -\fB\-bd\f1 1.71 +Run as daemon, accepting connections, usually on port 25 if not configured differently. 1.72 +This is usually used in the startup script at system boot and together with 1.73 +the \fB\-q\fR option (see below). 1.74 1.75 -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.76 .TP 1.77 +\fB\-bi\fR 1.78 1.79 -\fB\-bi\f1 1.80 +Old sendmail rebuilds its alias database when invoked with this option. 1.81 +Masqmail ignores it. 1.82 +Masqmail reads directly from the file given with `alias_file' in the config file. 1.83 1.84 -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.85 .TP 1.86 +\fB\-bp\fR 1.87 1.88 -\fB\-bp\f1 1.89 +Show the messages in the queue. Same as calling masqmail as `mailq'. 1.90 1.91 -Show the messages in the queue. Same as calling masqmail as 'mailq'. 1.92 .TP 1.93 +\fB\-bs\fR 1.94 1.95 -\fB\-bs\f1 1.96 +Accept SMTP commands from stdin. 1.97 +Some mailers (e.g. pine) use this option as an interface. 1.98 +It can also be used to call masqmail from inetd. 1.99 1.100 -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.101 .TP 1.102 +\fB\-B \fIarg\fR 1.103 1.104 -\fB\-B \fIarg\f1\fB\f1 1.105 +\fIarg\fR is usually 8BITMIME. 1.106 +Some mailers use this to indicate that the message contains characters > 127. 1.107 +Masqmail is 8-bit clean and ignores this, so you do not have to recompile elm, 1.108 +which is very painful ;-). 1.109 +Note though that this violates some conventions: 1.110 +masqmail does not convert 8 bit messages to any MIME format if it encounters 1.111 +a mail server which does not advertise its 8BITMIME capability, 1.112 +masqmail does not advertise this itself. 1.113 +This is the same practice as that of exim (but different to sendmail). 1.114 1.115 -\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.116 .TP 1.117 - 1.118 -\fB\-bV \f1 1.119 +\fB\-bV \fR 1.120 1.121 Show version information. 1.122 + 1.123 .TP 1.124 +\fB\-C \fIfilename\fR 1.125 1.126 -\fB\-C \f1\fIfilename\f1 1.127 +Use another configuration than \fI/etc/masqmail/masqmail.conf\fR. 1.128 +Useful for debugging purposes. 1.129 +If not invoked by a privileged user, masqmail will drop all privileges. 1.130 1.131 -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.132 .TP 1.133 +\fB\-d \fInumber\fR 1.134 1.135 -\fB\-d \fInumber\f1\fB\f1 1.136 +Set the debug level. 1.137 +This takes precedence before the value of `debug_level' in the configuration file. 1.138 +Read the warning in the description of the latter. 1.139 1.140 -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.141 .TP 1.142 +\fB\-f [\fIaddress\fB]\fR 1.143 1.144 -\fB\-f [\fIaddress\f1\fB]\f1 1.145 +Set the return path address to \fIaddress\fR. 1.146 +Only root, the user mail and anyone in group mail is allowed to do that. 1.147 1.148 -Set the return path address to \fIaddress\f1. Only root, the user mail and anyone in group mail is allowed to do that. 1.149 .TP 1.150 +\fB\-F [\fIstring\fB]\fR 1.151 1.152 -\fB\-F [\fIstring\f1\fB]\f1 1.153 +Set the full sender name (in the From: header) to \fIstring\fR. 1.154 1.155 -Set the full sender name (in the From: header) to \fIstring\f1. 1.156 .TP 1.157 +\fB\-g [\fIname\fB]\fR 1.158 1.159 -\fB\-g [\fIname\f1\fB]\f1 1.160 +Get mail (using pop3 or apop), 1.161 +using the configurations given with get.\fIname\fR in the main configuration. 1.162 +Without \fIname\fR, all get configurations will be used. 1.163 +See also \fBmasqmail.get(5)\fR 1.164 1.165 -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.166 .TP 1.167 +\fB\-go [\fIinterval\fB] [\fIname\fB]\fR 1.168 1.169 -\fB\-go [\fIinterval\f1\fB] [\fIname\f1\fB]\f1 1.170 +Can be followed by a connection name. 1.171 +Use this option in your script which starts as soon as a link to the internet 1.172 +has been set up (usually ip-up). 1.173 +When masqmail is called with this option, the specified get configuration(s) 1.174 +is(are) read and mail will be retrieved from servers on the internet. 1.175 +The \fIname\fR is defined in the configuration (see \fBonline_gets.\fIname\fR). 1.176 1.177 -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.178 +If called with an interval option (recognized by a digit as the first characater), 1.179 +masqmail starts as a daemon and tries to get mail in these intervals. 1.180 +It checks for the online status first. 1.181 +Example: `masqmail \-go 5m' will retrieve mail every five minutes. 1.182 1.183 -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. 1.184 +If called without \fIname\fR the online status is determined with the configured method 1.185 +(see \fBonline_detect\fR in \fBmasqmail.conf(5)\fR). 1.186 1.187 -If called without \fIname\f1 the online status is determined with the configured method (see \fBonline_detect\f1 in \fBmasqmail.conf (5)\f1). 1.188 .TP 1.189 +\fB\-i\fR 1.190 1.191 -\fB\-i\f1 1.192 +Same as \fB\-oi\fR, see below. 1.193 1.194 -Same as \-oi, see below. 1.195 .TP 1.196 +\fB\-Mrm \fIlist\fR 1.197 1.198 -\fB\-Mrm \fIlist\f1\fB\f1 1.199 +Remove given messages from the queue. 1.200 +Only allowed for privileged users. 1.201 1.202 -Remove given messages from the queue. Only allowed for privileged users. 1.203 .TP 1.204 +\fB\-oem\fR 1.205 1.206 -\fB\-oem\f1 1.207 +If the \fB\-oi\fR ist not also given, always return with a non zero return code. 1.208 +Maybe someone tells me what this is good for... 1.209 1.210 -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.211 .TP 1.212 +\fB\-odb\fR 1.213 1.214 -\fB\-odb\f1 1.215 +Deliver in background. 1.216 +Masqmail always does this, which makes this option pretty much useless. 1.217 1.218 -Deliver in background. Masqmail always does this, which makes this option pretty much useless. 1.219 .TP 1.220 +\fB\-odq\fR 1.221 1.222 -\fB\-odq\f1 1.223 +Do not attempt to deliver immediately. 1.224 +Any messages will be queued until the next queue running process picks them up and delivers them. 1.225 +You get the same effect by setting the do_queue option in /etc/masqmail/masqmail.conf. 1.226 1.227 -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.228 .TP 1.229 - 1.230 -\fB\-oi\f1 1.231 +\fB\-oi\fR 1.232 1.233 A dot as a single character in a line does not terminate the message. 1.234 + 1.235 .TP 1.236 +\fB\-q [\fIinterval\fB]\fR 1.237 1.238 -\fB\-q [\fIinterval\f1\fB]\f1 1.239 +If not given with an argument, run a queue process, i.e. try to deliver all messages in the queue. 1.240 +Masqmail sends only to those addresses that are on the local net, not to those that are outside. 1.241 +Use \fB\-qo\fR for those. 1.242 1.243 -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.244 +If you have configured inetd to start masqmail, 1.245 +you can use this option in a cron job which starts in regular time intervals, 1.246 +to mimic the same effect as starting masqmail with \fB\-bd \-q30m\fR. 1.247 1.248 -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.249 +An argument may be a time interval i.e. a numerical value followed by one of the letters. 1.250 +s,m,h,d,w which are interpreted as seconds, minutes, hours, days or weeks respectively. 1.251 +Example: \fB\-q30m\fR. 1.252 +Masqmail starts as a daemon and a queue runner process will be started automatically 1.253 +once in this time interval. 1.254 +This is usually used together with \fB\-bd\fR (see above). 1.255 1.256 -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.257 .TP 1.258 +\fB\-qo [\fIname\fB]\fR 1.259 1.260 -\fB\-qo [\fIname\f1\fB]\f1 1.261 +Can be followed by a connection name. 1.262 +Use this option in your script which starts as soon as a link to the internet 1.263 +has been set up (usually ip-up). 1.264 +When masqmail is called with this option, the specified route configuration 1.265 +is read and the queued mail with destinations on the internet will be sent. 1.266 +The \fIname\fR is defined in the configuration (see \fBonline_routes.\fIname\fR). 1.267 1.268 -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.269 +If called without \fIname\fR the online status is determined with the configured 1.270 +method (see \fBonline_detect\fR in \fBmasqmail.conf(5)\fR) 1.271 1.272 -If called without \fIname\f1 the online status is determined with the configured method (see \fBonline_detect\f1 in \fBmasqmail.conf (5)\f1) 1.273 .TP 1.274 +\fB\-t\fR 1.275 1.276 -\fB\-t\f1 1.277 +Read recipients from headers. 1.278 +Delete `Bcc:' headers. 1.279 +If any arguments are given, these are interpreted as recipient addresses 1.280 +and the message will not be sent to these. 1.281 1.282 -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.283 .TP 1.284 +\fB\-v\fR 1.285 1.286 -\fB\-v\f1 1.287 +Log also to stdout. 1.288 +Currently, some log messages are marked as `write to stdout' and additionally, 1.289 +all messages with priority `LOG_ALERT' and `LOG_WARNING' will be written to stdout 1.290 +if this option is given. It is disabled in daemon mode. 1.291 1.292 -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.293 + 1.294 .SH ENVIRONMENT FOR PIPES AND MDAS 1.295 1.296 -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.297 +For security reasons, before any pipe command from an alias expansion or an mda is called, 1.298 +the environment variables will be completely discarded and newly set up. These are: 1.299 1.300 -SENDER, RETURN_PATH - the return path. 1.301 +SENDER, RETURN_PATH \(en the return path. 1.302 1.303 -SENDER_DOMAIN - the domain part of the return path. 1.304 +SENDER_DOMAIN \(en the domain part of the return path. 1.305 1.306 -SENDER_LOCAL - the local part of the return path. 1.307 +SENDER_LOCAL \(en the local part of the return path. 1.308 1.309 -RECEIVED_HOST - the host the message was received from (unless local). 1.310 +RECEIVED_HOST \(en the host the message was received from (unless local). 1.311 1.312 -LOCAL_PART, USER, LOGNAME - the local part of the (original) recipient. 1.313 +LOCAL_PART, USER, LOGNAME \(en the local part of the (original) recipient. 1.314 1.315 -MESSAGE_ID - the unique message id. This is not necessarily identical with the Message ID as given in the Message ID: header. 1.316 +MESSAGE_ID \(en the unique message id. 1.317 +This is not necessarily identical with the Message ID as given in the Message ID: header. 1.318 1.319 -QUALIFY_DOMAIN - the domain which will be appended to unqualified addresses. 1.320 +QUALIFY_DOMAIN \(en the domain which will be appended to unqualified addresses. 1.321 + 1.322 1.323 .SH FILES 1.324 1.325 -\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.326 +\fI/etc/masqmail/masqmail.conf\fR is the main configuration for masqmail. 1.327 +Depending on the settings in this file, you will also have other configuration 1.328 +files in \fI/etc/masqmail/\fR. 1.329 1.330 -\fI/var/spool/masqmail/\f1 is the spool directory where masqmail stores its spooled messages and the uniq pop ids. 1.331 +\fI/var/spool/masqmail/\fR is the spool directory where masqmail stores 1.332 +its spooled messages and the uniq pop ids. 1.333 1.334 -\fI/var/spool/mail/\f1 is the directory where locally delivered mail will be put, if not configured differently in \fImasqmail.conf\f1. 1.335 +\fI/var/spool/mail/\fR is the directory where locally delivered mail will be put, 1.336 +if not configured differently in \fImasqmail.conf\fR. 1.337 1.338 -\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.339 +\fI/var/log/masqmail/\fR is the directory where masqmail stores its log mesages. 1.340 +This can also be somewhere else if configured differently by your sysadmin or the package mantainer. 1.341 + 1.342 1.343 .SH CONFORMING TO 1.344 1.345 @@ -191,22 +271,21 @@ 1.346 1.347 RFC 2195 (CRAM-MD5) 1.348 1.349 + 1.350 .SH AUTHOR 1.351 1.352 -masqmail was written by Oliver Kurth. It is now maintained by Markus Schnalke <meillo@marmaro.de>. 1.353 +Masqmail was written by Oliver Kurth. 1.354 +It is now maintained by Markus Schnalke <meillo@marmaro.de>. 1.355 1.356 -You will find the newest version of masqmail at \fBhttp://prog.marmaro.de/masqmail/\f1. 1.357 +You will find the newest version of masqmail at \fBhttp://prog.marmaro.de/masqmail/\fR. 1.358 There is also a mailing list, you will find information about it at masqmail's main site. 1.359 1.360 + 1.361 .SH BUGS 1.362 1.363 -You should report them to the mailing list. 1.364 +Please report them to the mailing list. 1.365 + 1.366 1.367 .SH SEE ALSO 1.368 1.369 -\fBmasqmail.conf (5)\f1, \fBmasqmail.route (5)\f1, \fBmasqmail.get (5)\f1, \fBmasqmail.aliases (5)\f1 1.370 - 1.371 -.SH COMMENTS 1.372 - 1.373 -This man page was written using \fBxml2man (1)\f1 by the same author. 1.374 - 1.375 +\fBmasqmail.conf(5)\fR, \fBmasqmail.route(5)\fR, \fBmasqmail.get(5)\fR, \fBmasqmail.aliases(5)\fR