"vdelivermail" in the vchkpw package does the thing you are asking.  I believe
it looks in a passwd-like file to determine what directory, etc. to deliver
to..  Check it out..  The vdelivermail binary is about 11k.

--Adam
-----Original Message-----
From: Russ Allbery <[EMAIL PROTECTED]>
To: Qmail <[EMAIL PROTECTED]>
Date: Monday, December 28, 1998 12:05 AM
Subject: Re: qmail 2.0 request: Delivery to maildir


:Russell Nelson <[EMAIL PROTECTED]> writes:
:
:> Here's your program (call it deliver-to-.qmail):
:
:> #!/bin/sh
:> exec qmail-local "$USER" "$HOME" "$LOCAL" "" "nodeliver" "$HOST"
:> "$SENDER" "$1"
:
:That requires a user and a home directory, and doesn't work if a
:.qmail-default file exists with other delivery instructions.  I'm thinking
:of something that just delivers to a maildir.  No other lookups, nothing
:fancy, never looks at qmail-users or .qmail files, doesn't need to know
:anything about users or their home directories.
:
:--
:Russ Allbery ([EMAIL PROTECTED])         <URL:http://www.eyrie.org/~eagle/>
:

Reply via email to