In my /etc/tmdarc, I have:

RECIPIENT_HEADER = "X-Original-To"

I want to pass the value from this to a script or program in DELIVERY.

So, what should I use for delivery if I want to do:

DELIVERY = "/some/agent <RECIPIENT> <SENDER>"
?

I thought it should be:

DELIVERY = "/some/agent %s %s" %os.environ["RECIPIENT"],
    %os.environ["SENDER"]
(all on one line).

But that results in errors and does not pass the substitution through.

I believe the problem is twofold: 1) bad python syntax? and 2.) wrong
variables?

Any help would be most appreciated.

Mark.


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

Reply via email to