Skip to content

maildirdeliver.1

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

NAME

maildirdeliver - deliver a mail message to a maildir

SYNOPSIS

maildirdeliver dir

DESCRIPTION

maildirdeliver reads a mail message from the standard input, and stores it in a maildir, dir.

maildirdeliver exits 0 on a successful delivery. On a temporary failure, it exits 111. On a permanent failure, it exits 100.

Unlike a maildir line in .qmail files, maildirdeliver does not prepend a Return-Path line nor a Delivered-To line to the incoming message. Instead, maildirdeliver will use RPLINE, DTLINE if set, to prepend a Return-Path, Delivered-To lines to the incoming message. If RPLINE or DTLINE are not defined and if you use maildirdeliver in a program line in a script, you may want to invoke it under preline. For example:

     |preline -f maildirdeliver Maildir

maildirdeliver is heavily based on qmail-local.c from D. J. Bernstein's qmail package.

SEE ALSO

dot-qmail(5), maildir(5), preline(1),

Clone this wiki locally