maildirserial scans a maildir,
dir, for messages whose envelope recipient addresses begin with
prefix. It then invokes
client (in the
client a list of 0-terminated filenames.
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,
client has temporarily rejected the message,
or D if
client has permanently rejected the message.
maildirserial will remove messages accepted by
maildirserial may run
client repeatedly if
client exits without handling all the files.
maildirserial will give up if it is not making any progress.