Skip to content

maildirserial.1

Manvendra Bhangui edited this page Feb 25, 2024 · 5 revisions

NAME

maildirserial - send a maildir through a client

SYNOPSIS

maildirserial [ -b ] [ -tlifetime ] dir prefix client [ arg ... ]

DESCRIPTION

maildirserial scans a maildir, dir, for messages whose envelope recipient addresses begin with prefix. It then invokes client (in the dir directory) and feeds client a list of 0-terminated filenames. maildirserial skips messages which have modification time greater than the time (or equal to the time) at which maildirserver was run.

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 client has accepted the message, Z if client has temporarily rejected the message, or D if client has permanently rejected the message.

maildirserial will remove messages accepted by client.

maildirserial may run client repeatedly if client exits without handling all the files. maildirserial will give up if it is not making any progress.

maildirserial uses environment set according to files in $HOME/.defaultqueue directory. If QUEUE_BASE environment variable is not set, it additionally uses environment set according to files in /etc/indimail/control/defaultqueue directory.

OPTIONS

-b
Bounce permanently rejected messages back to the envelope sender, and then remove them.

-tlifetime
Treat temporary rejection as permanent rejection for messages more than lifetime seconds old.

SEE ALSO

maildirsmtp(1), maildirqmtp(1), serialqmtp(1), serialsmtp(1), tcpclient(1), maildir(5), qmail-queue(8),

Clone this wiki locally