Monique Herman <[EMAIL PROTECTED]> writes:

> Still, is there a way to extract the values of certain headers as
> variables?

Not currently, no.  Only envelope information is available in the form
of environment variables right now.  Of course, if you are using a
filtering LDA like procmail or maildrop before TMDA, you could use it
to extract the header values and set corresponding environment
variables.  These environment variables should then be available to
TMDA in both ~/.tmda/config and ~/.tmda/filters/incoming.

> It would be nice to be able to, for example, grab the "To" field of
> an offending email, search for it in my whitelists, and, if it
> appears, email myself "Hey, an email from Joe Smith was deleted ..."

TMDA has 'headers' and 'headers-file' where you can use regular
expressions on the headers of incoming messages just as 'body' and
'body-file' are used on the message body.  See
http://tmda.net/filter-sources.html

In general though, what is the problem you are trying to solve here?
I'm not quite clear on what it is given your example above.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to