Hey Jason!

env doesn't accept stdin if I recall - the pipe buffer just overruns...

to "| SENDER=$SENDER /usr/local/tmda/bin/tmda-filter"

tried without "env" and got a syntax error...

and tried 

to "| SENDER='$SENDER' /usr/local/tmda/bin/tmda-filter"

I've asked on the courier list about this dropping of empty vars...

Is this a recent thing?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Jason R. Mastaler
Sent: Tuesday, January 13, 2004 9:40 AM
To: [EMAIL PROTECTED]
Subject: Re: Newbie with difficult config and partial success...


"Mitch (WebCob)" <[EMAIL PROTECTED]> writes:

> My problem seems to be a missmissinging sender, but it seems to be
> missing during the re-injection - do I need to set additional
> environment variables during the intial processing to record the
> original sender?

Courier has a bug where it removes the $SENDER variable from the
environment if its value is empty, as in the case of a null envelope
sender address which most bounces have.

>     to "| /usr/local/tmda/bin/tmda-filter"

Untested, but try the following instead for this last line:

to "| env SENDER=$SENDER /usr/local/tmda/bin/tmda-filter"
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

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

Reply via email to