Mercurial > masqmail
annotate man/masqmail.8 @ 203:45acc5727493
removed --with-glib-static configure option
linking glib statically is interesting if no other program uses it
on today's systems glib is widely used
if one cares on linking statically, he can link everything statically
the special case for glib will not get special care anymore
author | meillo@marmaro.de |
---|---|
date | Fri, 16 Jul 2010 14:48:17 +0200 |
parents | 89f951be358f |
children | 9397d10fd771 |
rev | line source |
---|---|
142 | 1 .TH masqmail 8 2010-07-06 masqmail-0.2.25 "Maintenance Commands" |
34 | 2 |
0 | 3 .SH NAME |
4 masqmail \- An offline Mail Transfer Agent | |
34 | 5 |
0 | 6 .SH SYNOPSIS |
34 | 7 \fB/usr/sbin/masqmail \fR[\fB\-C \fIfile\fR] [\fB\-odq\fR] [\fB\-bd\fR] [\fB\-q\fIinterval\fR] |
0 | 8 |
34 | 9 \fB/usr/sbin/masqmail \fR[\fB\-odq\fR] [\fB\-bs\fR] |
0 | 10 |
34 | 11 \fB/usr/sbin/masqmail \fR[\fB\-bp\fR] |
0 | 12 |
34 | 13 \fB/usr/sbin/masqmail \fR[\fB\-q\fR] |
0 | 14 |
34 | 15 \fB/usr/sbin/masqmail \fR[\fB\-qo \fR[\fIname\fR]] |
0 | 16 |
34 | 17 \fB/usr/sbin/masqmail \fR[\fB\-t\fR] [\fB\-oi\fR] [\fB\-f \fIaddress\fR] [\fB\-\-\fR] \fIaddress... |
0 | 18 |
34 | 19 \fB/usr/sbin/mailq\fR |
0 | 20 |
34 | 21 |
0 | 22 .SH DESCRIPTION |
23 | |
34 | 24 Masqmail is a mail server designed for hosts that do not have a permanent internet connection |
25 e.g. a home network or a single host at home. | |
26 It has special support for connections to different ISPs. | |
27 It replaces sendmail or other MTAs such as qmail or exim. | |
28 | |
0 | 29 |
30 .SH OPTIONS | |
31 | |
34 | 32 Since masqmail is intended to replace sendmail, it uses the same command line options, |
33 but not all are implemented. | |
34 There are also two additional options, which are unique to masqmail | |
35 (\fB\-qo \fIconnection\fR and \fB\-g\fR) | |
0 | 36 |
34 | 37 .TP |
38 \fB\-\-\fR | |
0 | 39 |
34 | 40 Not a `real' option, it means that all following arguments are to be understood |
41 as arguments and not as options even if they begin with a leading dash `\-'. | |
42 Mutt is known to call sendmail with this option. | |
0 | 43 |
44 .TP | |
34 | 45 \fB\-bd\fR |
0 | 46 |
34 | 47 Run as daemon, accepting connections, usually on port 25 if not configured differently. |
48 This is usually used in the startup script at system boot and together with | |
49 the \fB\-q\fR option (see below). | |
0 | 50 |
34 | 51 .TP |
52 \fB\-bi\fR | |
53 | |
54 Old sendmail rebuilds its alias database when invoked with this option. | |
55 Masqmail ignores it. | |
56 Masqmail reads directly from the file given with `alias_file' in the config file. | |
57 | |
0 | 58 .TP |
34 | 59 \fB\-bp\fR |
0 | 60 |
34 | 61 Show the messages in the queue. Same as calling masqmail as `mailq'. |
0 | 62 |
63 .TP | |
34 | 64 \fB\-bs\fR |
0 | 65 |
34 | 66 Accept SMTP commands from stdin. |
67 Some mailers (e.g. pine) use this option as an interface. | |
68 It can also be used to call masqmail from inetd. | |
0 | 69 |
70 .TP | |
34 | 71 \fB\-B \fIarg\fR |
0 | 72 |
34 | 73 \fIarg\fR is usually 8BITMIME. |
74 Some mailers use this to indicate that the message contains characters > 127. | |
75 Masqmail is 8-bit clean and ignores this, so you do not have to recompile elm, | |
76 which is very painful ;-). | |
77 Note though that this violates some conventions: | |
78 masqmail does not convert 8 bit messages to any MIME format if it encounters | |
79 a mail server which does not advertise its 8BITMIME capability, | |
80 masqmail does not advertise this itself. | |
81 This is the same practice as that of exim (but different to sendmail). | |
82 | |
0 | 83 .TP |
34 | 84 \fB\-bV \fR |
0 | 85 |
86 Show version information. | |
34 | 87 |
0 | 88 .TP |
34 | 89 \fB\-C \fIfilename\fR |
0 | 90 |
34 | 91 Use another configuration than \fI/etc/masqmail/masqmail.conf\fR. |
92 Useful for debugging purposes. | |
93 If not invoked by a privileged user, masqmail will drop all privileges. | |
0 | 94 |
34 | 95 .TP |
96 \fB\-d \fInumber\fR | |
0 | 97 |
34 | 98 Set the debug level. |
99 This takes precedence before the value of `debug_level' in the configuration file. | |
100 Read the warning in the description of the latter. | |
101 | |
0 | 102 .TP |
34 | 103 \fB\-f [\fIaddress\fB]\fR |
0 | 104 |
34 | 105 Set the return path address to \fIaddress\fR. |
106 Only root, the user mail and anyone in group mail is allowed to do that. | |
0 | 107 |
34 | 108 .TP |
109 \fB\-F [\fIstring\fB]\fR | |
0 | 110 |
34 | 111 Set the full sender name (in the From: header) to \fIstring\fR. |
0 | 112 |
113 .TP | |
34 | 114 \fB\-i\fR |
0 | 115 |
34 | 116 Same as \fB\-oi\fR, see below. |
117 | |
0 | 118 .TP |
34 | 119 \fB\-Mrm \fIlist\fR |
0 | 120 |
34 | 121 Remove given messages from the queue. |
122 Only allowed for privileged users. | |
45
f0334dc87e1d
clarified what identifier is expected by mailrm
meillo@marmaro.de
parents:
42
diff
changeset
|
123 The identifiers of messages are listed in the output of |
99 | 124 \fImasqmail \-bp\fP (\fImailq\fR). |
34 | 125 |
126 .TP | |
127 \fB\-oem\fR | |
0 | 128 |
34 | 129 If the \fB\-oi\fR ist not also given, always return with a non zero return code. |
130 Maybe someone tells me what this is good for... | |
131 | |
0 | 132 .TP |
34 | 133 \fB\-odb\fR |
0 | 134 |
34 | 135 Deliver in background. |
136 Masqmail always does this, which makes this option pretty much useless. | |
137 | |
0 | 138 .TP |
34 | 139 \fB\-odq\fR |
0 | 140 |
34 | 141 Do not attempt to deliver immediately. |
142 Any messages will be queued until the next queue running process picks them up and delivers them. | |
143 You get the same effect by setting the do_queue option in /etc/masqmail/masqmail.conf. | |
144 | |
0 | 145 .TP |
34 | 146 \fB\-oi\fR |
0 | 147 |
148 A dot as a single character in a line does not terminate the message. | |
34 | 149 |
0 | 150 .TP |
34 | 151 \fB\-q [\fIinterval\fB]\fR |
0 | 152 |
34 | 153 If not given with an argument, run a queue process, i.e. try to deliver all messages in the queue. |
154 Masqmail sends only to those addresses that are on the local net, not to those that are outside. | |
155 Use \fB\-qo\fR for those. | |
0 | 156 |
34 | 157 If you have configured inetd to start masqmail, |
158 you can use this option in a cron job which starts in regular time intervals, | |
159 to mimic the same effect as starting masqmail with \fB\-bd \-q30m\fR. | |
0 | 160 |
34 | 161 An argument may be a time interval i.e. a numerical value followed by one of the letters. |
162 s,m,h,d,w which are interpreted as seconds, minutes, hours, days or weeks respectively. | |
163 Example: \fB\-q30m\fR. | |
164 Masqmail starts as a daemon and a queue runner process will be started automatically | |
165 once in this time interval. | |
166 This is usually used together with \fB\-bd\fR (see above). | |
167 | |
0 | 168 .TP |
34 | 169 \fB\-qo [\fIname\fB]\fR |
0 | 170 |
34 | 171 Can be followed by a connection name. |
172 Use this option in your script which starts as soon as a link to the internet | |
173 has been set up (usually ip-up). | |
174 When masqmail is called with this option, the specified route configuration | |
175 is read and the queued mail with destinations on the internet will be sent. | |
176 The \fIname\fR is defined in the configuration (see \fBonline_routes.\fIname\fR). | |
0 | 177 |
34 | 178 If called without \fIname\fR the online status is determined with the configured |
179 method (see \fBonline_detect\fR in \fBmasqmail.conf(5)\fR) | |
180 | |
0 | 181 .TP |
34 | 182 \fB\-t\fR |
0 | 183 |
34 | 184 Read recipients from headers. |
185 Delete `Bcc:' headers. | |
106
1f0d63713a1c
masqmail now *always* removes Bcc: headers
meillo@marmaro.de
parents:
103
diff
changeset
|
186 (Since 0.2.25, masqmail deletes Bcc: headers in all cases.) |
34 | 187 If any arguments are given, these are interpreted as recipient addresses |
103
c85fbf7014b1
improved man page in respect to the -t option
meillo@marmaro.de
parents:
99
diff
changeset
|
188 and the message will not be sent to these, |
c85fbf7014b1
improved man page in respect to the -t option
meillo@marmaro.de
parents:
99
diff
changeset
|
189 although they might appear in To:, Cc:, or Bcc: headers. |
c85fbf7014b1
improved man page in respect to the -t option
meillo@marmaro.de
parents:
99
diff
changeset
|
190 I.e. the set of argument recipients is ``substracted'' from the set of header recipients. |
c85fbf7014b1
improved man page in respect to the -t option
meillo@marmaro.de
parents:
99
diff
changeset
|
191 |
c85fbf7014b1
improved man page in respect to the -t option
meillo@marmaro.de
parents:
99
diff
changeset
|
192 This behavior is similar to exim's and smail's. |
c85fbf7014b1
improved man page in respect to the -t option
meillo@marmaro.de
parents:
99
diff
changeset
|
193 Postfix, in contrast, adds the arguments to the set of header recipients. |
c85fbf7014b1
improved man page in respect to the -t option
meillo@marmaro.de
parents:
99
diff
changeset
|
194 Sendmail seems to behave differently, depending on the version. |
c85fbf7014b1
improved man page in respect to the -t option
meillo@marmaro.de
parents:
99
diff
changeset
|
195 See exim(8) for further information. |
0 | 196 |
34 | 197 .TP |
198 \fB\-v\fR | |
0 | 199 |
34 | 200 Log also to stdout. |
201 Currently, some log messages are marked as `write to stdout' and additionally, | |
202 all messages with priority `LOG_ALERT' and `LOG_WARNING' will be written to stdout | |
203 if this option is given. It is disabled in daemon mode. | |
204 | |
205 | |
0 | 206 .SH ENVIRONMENT FOR PIPES AND MDAS |
207 | |
34 | 208 For security reasons, before any pipe command from an alias expansion or an mda is called, |
209 the environment variables will be completely discarded and newly set up. These are: | |
0 | 210 |
34 | 211 SENDER, RETURN_PATH \(en the return path. |
0 | 212 |
34 | 213 SENDER_DOMAIN \(en the domain part of the return path. |
214 | |
215 SENDER_LOCAL \(en the local part of the return path. | |
0 | 216 |
34 | 217 RECEIVED_HOST \(en the host the message was received from (unless local). |
0 | 218 |
34 | 219 LOCAL_PART, USER, LOGNAME \(en the local part of the (original) recipient. |
0 | 220 |
34 | 221 MESSAGE_ID \(en the unique message id. |
222 This is not necessarily identical with the Message ID as given in the Message ID: header. | |
0 | 223 |
34 | 224 QUALIFY_DOMAIN \(en the domain which will be appended to unqualified addresses. |
225 | |
0 | 226 |
227 .SH FILES | |
228 | |
34 | 229 \fI/etc/masqmail/masqmail.conf\fR is the main configuration for masqmail. |
230 Depending on the settings in this file, you will also have other configuration | |
231 files in \fI/etc/masqmail/\fR. | |
0 | 232 |
34 | 233 \fI/var/spool/masqmail/\fR is the spool directory where masqmail stores |
192 | 234 its spooled messages. |
0 | 235 |
34 | 236 \fI/var/spool/mail/\fR is the directory where locally delivered mail will be put, |
237 if not configured differently in \fImasqmail.conf\fR. | |
0 | 238 |
34 | 239 \fI/var/log/masqmail/\fR is the directory where masqmail stores its log mesages. |
240 This can also be somewhere else if configured differently by your sysadmin or the package mantainer. | |
241 | |
0 | 242 |
243 .SH CONFORMING TO | |
244 | |
245 RFC 821, 822, 1869, 1870, 2197, 2554 (SMTP) | |
246 | |
247 RFC 1321 (MD5) | |
248 | |
249 RFC 2195 (CRAM-MD5) | |
250 | |
34 | 251 |
0 | 252 .SH AUTHOR |
253 | |
34 | 254 Masqmail was written by Oliver Kurth. |
255 It is now maintained by Markus Schnalke <meillo@marmaro.de>. | |
0 | 256 |
95
e01fed4846e4
masqmail's homepage moved prog.marmaro.de/masqmail -> marmaro.de/prog/masqmail
meillo@marmaro.de
parents:
57
diff
changeset
|
257 You will find the newest version of masqmail at \fBhttp://marmaro.de/prog/masqmail/\fR. |
26
607221b0dac1
added myself as maintainer; updated URL of the website
meillo@marmaro.de
parents:
16
diff
changeset
|
258 There is also a mailing list, you will find information about it at masqmail's main site. |
0 | 259 |
34 | 260 |
0 | 261 .SH BUGS |
262 | |
34 | 263 Please report them to the mailing list. |
264 | |
0 | 265 |
266 .SH SEE ALSO | |
267 | |
192 | 268 \fBmasqmail.conf(5)\fR, \fBmasqmail.route(5)\fR, \fBmasqmail.aliases(5)\fR |