File: maildirserial.1

package info (click to toggle)
serialmail 0.72-3
  • links: PTS
  • area: non-free
  • in suites: hamm, potato, slink
  • size: 692 kB
  • ctags: 468
  • sloc: ansic: 3,619; makefile: 542; sh: 295
file content (75 lines) | stat: -rw-r--r-- 1,280 bytes parent folder | download | duplicates (2)
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
.TH maildirserial 1
.SH NAME
maildirserial \- send a maildir through a client
.SH SYNOPSIS
.B maildirserial
[
.B \-b
] [
.B \-t\fIlifetime
]
.I dir
.I prefix
.I client
[
.I arg ...
]
.SH DESCRIPTION
.B maildirserial
scans a maildir,
.IR dir ,
for messages whose envelope recipient addresses begin with
.IR prefix .
It then invokes
.I client
(in the
.I dir
directory)
and feeds
.I client
a list of 0-terminated filenames.

.I client
prints a series of results.
Each result is a 0-terminated filename,
a status byte, and an LF-terminated human-readable status message.
The status byte is K if
.I client
has accepted the message,
Z if
.I client
has temporarily rejected the message,
or D if
.I client
has permanently rejected the message.

.B maildirserial
will remove messages accepted by
.IR client .

.B maildirserial
may run
.I client
repeatedly if
.I client
exits without handling all the files.
.B maildirserial
will give up if it is not making any progress.
.SH OPTIONS
.TP 5
.B \-b
Bounce permanently rejected messages
back to the envelope sender,
and then remove them.
.TP
.B \-t\fIlifetime
Treat temporary rejection as permanent rejection
for messages more than
.I lifetime
seconds old.
.SH "SEE ALSO"
serialqmtp(1),
serialsmtp(1),
tcpclient(1),
maildir(5),
qmail-queue(8)