Hi Roland - thanks - but if you read the followups I got it to work - the
problem is that courier DELETES empty env's which have to be forced before
calling programs that depend on their existance - not the value they
contain.

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

does work... regardless of whether sender has a value (3 out of 4 calls) or
not.

m/

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Roland
Sent: Tuesday, January 13, 2004 12:21 PM
To: [EMAIL PROTECTED]
Subject: Re: [courier-users] Does courier / maildrop unset SENDER if
it's empty?


--On Dienstag, 13. Januar 2004 09:55 -0800 "Mitch \\(WebCob\\)"
<[EMAIL PROTECTED]> wrote:

> I'm trying to call TMDA, and I get an error that SENDER is not set during
> one of it's processes... it IS set during the others... the difference in
> the messages (from the logs) is that in this case from is showing as <>
>
> Someone on the TMDA list says it is maildrop unsetting the RMPTY env
vars...
>
> I tried changing my code to reset it, but it isn't working (syntax error)
>
> to "| SENDER='$SENDER' /usr/local/tmda/bin/tmda-filter"

This wont ever work, and there is also absolutely no point
to pipe mails with empty sender into tmda.

use |env to see what variables are available, and import
those you need in maildrop.

Roland



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to