summaryrefslogtreecommitdiff
path: root/sqmail-4.3.07/man/qmail-log.5
blob: a7584e1e8c3856b026d30d274fe6379c35d19a11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
.TH s/qmail: qmail-log 5
.SH NAME
qmail-log \- s/qmail activity record
.SH DESCRIPTION
.B qmail-send
prints a series of lines describing its activities.
Each possible line is described below.
.SH "STATUS"
.TP
.B status: local \fIl\fR/\fIL\fR remote \fIr\fR/\fIR\fR ...
.B qmail-send
is waiting for
.I l
local deliveries
and
.I r
remote deliveries.
The concurrency limits are
.I L
and
.IR R .
.TP
.B status: exiting
.B qmail-send
is done.
.SH "FATAL PROBLEMS"
.TP
.B alert: cannot start: ...
.B qmail-send
is unable to prepare itself for delivering messages;
it is giving up.
This normally indicates a serious configuration error,
but it can be caused by a temporary lack of resources.
.TP
.B alert: oh no! lost ...
One of the other daemons has died.
.B qmail-send
will exit as soon as possible.
.SH "SERIOUS PROBLEMS"
.TP
.B alert: unable to append to bounce message...
.B qmail-send
is unable to record a permanent failure,
usually because the disk is full.
This is a very serious problem;
.B qmail-send
cannot proceed without recording the results.
It will try again in ten seconds.
.TP
.B alert: out of memory...
.B qmail-send
tried to allocate more memory and failed.
It will try again in ten seconds.
.TP
.B alert: unable to opendir...
.B qmail-send
is having trouble reading a file list from disk,
usually because the system's file descriptor table is full,
but possibly because permissions are set incorrectly.
It will try again in ten seconds.
.TP
.B alert: unable to switch back...
.B qmail-send
was sent SIGHUP,
and it is unable to reenter the queue directory.
This is a very serious problem;
.B qmail-send
cannot proceed outside the queue directory.
It will try again in ten seconds.
.TP
.B alert: unable to reread...
.B qmail-send
was sent SIGHUP,
but it is unable to read the new controls.
It will continue operating with the original controls.
.SH "MESSAGES"
.TP
.B new msg \fIm\fR
.B qmail-send
is going to preprocess a queued message.
The message number,
.IR m ,
is its disk inode number.
After a message is removed from the queue,
its number can be reused immediately.
.TP
.B info msg \fIm\fR: bytes \fIb\fR from <\fIs\fR> qp \fIq\fR uid \fIu\fR
Message
.I m
contains
.I b
bytes;
its envelope sender is
.IR s ;
it was queued by a user with user ID
.IR u .
.I q
is a long-term queue identifier,
the process ID of the
.B qmail-queue
that queued the message.
.TP
.B bounce msg \fIm\fR qp \fIq\fR
Message
.I m
had some delivery failures.
The long-term queue identifier of the bounce (or double-bounce) message
is
.IR q .
.TP
.B double bounce: discarding ...
Message
.I m
was discarded due to an \'empty\' recipient in 
.
.IR doublebounceto .
.TP
.B triple bounce: discarding ...
Message
.I m
had some delivery failures,
but it is already a double-bounce message,
so it must be thrown away.
Triple-bounce messages do not exist.
.TP
.B end msg \fIm\fR
.B qmail-send
is about to remove
message
.I m
from the queue.
.SH "DELIVERIES"
.TP
.B starting delivery \fId\fR: msg \fIm\fR to ...
.B qmail-send
is telling
.B qmail-lspawn
or
.B qmail-rspawn
to deliver message
.I m
to one recipient.
The delivery number,
.IR d ,
starts at 1 and increases by 1 for each new delivery.
.TP
.B delivery \fId\fR: success: ...
Delivery
.I d
was successful.
.TP
.B delivery \fId\fR: failure: ...
Delivery
.I d
failed permanently.
The message will bounce.
.TP
.B delivery \fId\fR: deferral: ...
Delivery
.I d
failed temporarily.
This recipient will be retried later.
.TP
.B delivery \fId\fR: report mangled, will defer
There is a serious bug in
.B qmail-lspawn
or
.BR qmail-rspawn .
This recipient will be retried later.
.SH "WARNINGS"
.TP
.B internal error: delivery report out of range
.B qmail-lspawn
or
.B qmail-rspawn
has supplied a report on a nonexistent delivery.
This is a serious bug.
.TP
.B qmail-clean unable to clean up ...
For some reason
.B qmail-clean
is unable to remove the indicated file.
It will try again later.
.TP
.B trouble fsyncing ...
.B qmail-send
was unable to write to disk the results of preprocessing a queued message.
It will try again later.
.TP
.B trouble in select
There is an operating system bug.
.TP
.B trouble injecting bounce message...
.B qmail-send
was unable to queue a bounce message,
usually because the disk is full.
It will try again later.
.TP
.B trouble marking ...
.B qmail-send
was unable to record the result of a successful or permanently
unsuccessful delivery.
This means that the delivery will be tried again later.
.TP
.B trouble opening ...
.B qmail-send
was unable to open the list of local or remote recipients
for a message.
It will try again later.
.TP
.B trouble reading ...
Either
.B qmail-send
is unable to read a recipient list,
or it is unable to read the envelope of a queued
message, or it is out of memory.
Whatever it was doing, it will try again later.
.TP
.B trouble writing to ...
.B qmail-send
was unable to preprocess a queued message,
usually because the disk is full.
It will try again later.
.TP
.B unable to create ...
.B qmail-send
was unable to preprocess a queued message,
usually because the disk is out of inodes.
It will try again later.
.TP unable to create .... [info,delivery]
.B qmail-send 
could not setup a valid file descriptor.
This is a fatal error.
.TP
.B unable to open ...
.B qmail-send
is unable to read the envelope of a queued message
for preprocessing.
It will try again later.
.TP
.B unable to start qmail-queue...
.B qmail-send
is unable to queue a bounce message,
usually because the machine is almost out of memory.
It will try again later.
This can also be caused by incorrect settings of
.B $QMAILQUEUE
or errors in a program or script which
.B $QMAILQUEUE
+points to.
.TP
.B unable to stat ...
.B qmail-send
is unable to obtain information about a file that should exist.
It will try again later.
.TP
.B unable to unlink ...
.B qmail-send
is unable to remove a file.
It will try again later.
.TP
.B unable to utime ...
.B qmail-send
is about to exit,
and it is unable to record on disk
the next scheduled delivery time for a message.
The message will be retried as soon as
.B qmail-send
is restarted.
.TP
.B unknown record type in ...
There is a serious bug in either
.B qmail-queue
or
.BR qmail-send .

.SH "UNIFIED SMTPD/POP3D LOGGING"
.B qmail-smtpd
and
.B qmail-popup
log additional information in a unified extensible format
\fIAction::Type::Condition\fR \fIInformation\fR.

.B Action 
is either
.IR Reject , 
.IR Accept ,
or additionally
.IR Info .

The
.B Type
belongs to the following information:
.TP
.I SNDR 
the client's hostname, 
.TP
.I SPF 
indicating SPF validation, 
.TP
.I TLS 
labeling TLS connections, 
.TP
.I AUTH
for Authenticated sessions. Further
.TP
.I ORIG
relates to the return path \fIF:<Return-Path>\fR, and 
.TP
.I RCTP 
to the forwarding path \fIT:<Forwarding-Path>\fR, and finally
.TP
.I DATA  
to the message.

.TP 0
The following \fBConditions\fR are provided:
.TP 4
.I Bad_Helo
the client's HELO/EHLO greeting string was found in 
.IR badhelo
or rejected because of one of the following conditions indicated
in the information section: '!' (HELO/EHLO not provided/empty)
, '\.'/'*' (HELO/EHLO rejected due to a direct/wildmat match with entries in
.IR badhelo ).
.TP
.I Bad_Loader
the content of a base64 encoded MIME part matched an
entry in 
.IR badloadertypes.cdb .
.TP
.I Bad_MIME
a base64 encoded MIME part matched an entry n
.IR badmimetypes.cdb . 
.TP
.I Bad_Mailfrom 
the provided <Return-Path> matched an entry in
.I badmailfrom 
additionally with the rejection conditions: '@' (address), '*'
(wildmat), '-' (badmailfromunknown), and '+' (spoofing). 
.TP
.I Bad_Rcptto
the provided <Forwarding-Path> matched an entry in
.IR badrcptto .
.TP 
.I DNS_Helo 
the client's HELO/EHLO greeting did not match it's
FQDN or no DNS A/MX RR was found as indicated with the 
following symbols: '=' (HELO/EHLO does not match 
.BR TCPREMOTEHOST )
, 'A' (DNS A-Name lookup failed for HELO/EHLO)
, 'M' (DNS MX lookup failed for HELO/EHLO).
.TP
.I DNS_MF 
no DNS MX RR was found for the <Return-Path>.
.TP 
.I Failed_Rcptto
the <Forwarding-Path> did not match entry in the provdided
cdbs as per
.IR recipients .
.TP
.I Invalid_Relay 
the none-RELAYCLIENT provided a <Forwarding-Path> not
allowed as per
.I rcpthosts 
or 
.IR morercpthosts.cdb .
.TP
.I Invalid_Sender
the <Return-Path> of a RELAYCLIENT did not match the 
provided value of LOCALMFCHECK or did not match against
.I mailfromrules.cdb
or was not found in 
.I rcpthosts
or 
.IR morercpthosts.cdb . 
.TP
.I Invalid_Size 
the message size exceeded the maximum as provided by
DATEBYTES or 
.IR databytes .
.TP
.I Toomany_Rcptto 
the number of Recipients ('RCPT TO:') exaggerated the
value provided as MAXRECPIENTS.
.TP
.I Cipher
TLS session used this cipher.
.TP 
.I Missing
depending on the context, either the required
Start-TLS or AUTH s/qmail: is not granted.
.TP
.I Pam
SMTP authentication was granted by pam. 
.TP
.I Recipients_Rcptto
the <Forwarding-Path> matched an entry in the cdbs available per 
.IR reccients .
.TP
.I Recipients_Verp
the Forwarding-Path was recogized as VERP and matched an entry
in the cdbs available per
.IR recipients .
.TP 
.I Recipients_Domain
the Forwarding-Path matched a wildcard domain entry in the cdbs
available per
.IR recipients .
.TP 
.I Rcpthosts_Rcptto
the domain part of the <Forwarding-Path> matched an entry in
.I rcpthosts
or
.IR morercpthosts.cdb .

.TP 0
The displayed \fBInformation\fR:

.TP 4
.I P:protocol
the effective SMTP or POP3 protocol in use.
.TP
.I S:IP:FQDN
the sender's IP and FQDN address available via
TCPREMOTEIP(6) and TCPREMOTEHOST.
.TP
.I H:string
the client's HELO/EHLO greeting string.
.TP
.I F:Return-Path
the provided 'MAIL FROM:' address (if any).
.TP
.I T:Forwarding-Path
the given 'RCPT TO:' address.
.TP
.I ?~ 'userid' 
in case of authentication the provided userid.
.TP
.I != 'DN'
in case of a TLS session, the presented client's
\'Subject\' Distinguished Name (DN) - if available
(otherwise \'unknown\').

.SH "SEE ALSO"
qmail-send(8),
qmail-smtpd(8),
qmail-control(9)