Paul Farber <[EMAIL PROTECTED]> wrote:
>
> Is there a way to insert a shim (or shell wrapper) before qmail-local
> delivers a local message?
Simple; write a wrapper called ``qmail-local'', which in the end
exec's the original qmail-local (which you should rename, of
course). The interface is remarkably simple. From qmail-local(8):
SYNOPSIS
qmail-local [ -nN ] user homedir local dash ext domain
sender defaultdelivery
DESCRIPTION
...
The standard input for qmail-local must be a seekable
file, so that qmail-local can read it more than once.
See? It's a snap. (If you don't know how, I'll do it for a small fee.)
> It would seem administratively easier to apply these type of filters for a
> large group of users that way rather than ~/.qmail-default 'ing all the
> home dirs.
In fact this latter ``solution'' doesn't work anyway--unless the users
cannot create .qmail files. Extensions for which more specific
.qmail-ext files exist are delivered according to those instructions,
bypassing .qmail-default entirely.
Len.
--
Frugal Tip #19:
Discover the secret to happiness, then sell the franchise rights.