Gre7g Luterman <[EMAIL PROTECTED]> writes:

> On 30 Nov 2002 23:12:30 -0600, Tim Legant
> <[EMAIL PROTECTED]> wrote:
> 
> > This is correct Gre7g (how do you pronounce that....?). 
> 
> The seven is silent.

<grin>

> Yeah, I couldn't figure out a way to generalize all this.  To explain,
> under one configuration of tmda-cgi the users would to use
> /var/tmda/<user>/ instead of ~<user>/.tmda
> 
> I don't think qmail's defaultdelivery or .qmail files will expand a
> $USER.

Sure it will.  Whatever is on a pipe line in a .qmail file (and the
default delivery is just a .qmail file) is run through /bin/sh as the
user, like this:

/bin/sh -c "line from .qmail file with the leading pipe removed"

and /bin/sh will expand any environment variables on the command line.

> Any ideas?

For qmail, the above will work.  Some of the other MTAs have ways to
set environment variables just prior to delivery.


Tim
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to