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

> I know nothing about Python, but as this file is supposed to be
> executable (the options file) can't I somehow set a value based on
> an env var?

Yes.  For example, in /etc/tmdarc or ~/.tmda/config:

whitelist = os.environ.get("WHITELIST")

to grab the $WHITELIST variable from the environment.

You can also query the environment directly from
~/.tmda/filters/incoming and outgoing as well.  e.g,

from-file -autodbm ${WHITELIST} ok

See http://tmda.net/config-filter.html#addlfeatures for more on
variable interpolation.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to