annotate man/masqmail.8 @ 168:f96bc098affe

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