Jason Martin <[EMAIL PROTECTED]> writes:

> Would it be possible to be able to configure tmda's
> additional_header feature such that it calls an outside program with
> the to: address, then tacks on the stdout to the headers? I'm
> looking for a way to integrate hashcash
> (http://www.cypherspace.org/~adam/hashcash/), tmda and pine.

Upon further examination, I don't think this will be possible.  The
problem is that your ~/.tmda/config has no way to access the
recipient's e-mail address.  tmda-inject sets an environment variable
called $TMDA_RECIPIENT which contains the recipient e-mail address so
it can be referenced in ~/.tmda/filters/outgoing, but but this is only
_after_ ~/.tmda/config is processed (via import of Defaults.py).

We could also do this if we were able to run shell commands from
within ~/.tmda/filters/outgoing since we have $TMDA_RECIPIENT there,
but at this time the outgoing filter lacks this ability.

Can anyone think of a way to do this that I haven't?
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to