Russ Allbery writes:
> A request for qmail 2.0: A little program in /var/qmail/bin that, given a
> mail message on stdin and the path to a maildir on the command line,
> delivers that mail message to the maildir using the same semantics and
> checks as qmail-local.
I've put up such a program, called maildirdeliver. Most of
the code is essentially just stolen from qmail-local.c.
I've been using it for months for private use only. While
I've not tested it thoroughly, it seems to work for me.
But it might not be what you want, for it doesn't prepend
Return-Path/Delivered-To and it also doesn't perform loop
detection with Delivered-To.
See http://pobox.com/~tu/maildirdeliver.html if you're
interested.
--
Tetsu Ushijima