Nevermind, the answer is below...

<input type="hidden" name="filter" value="
# LITE      level
from-file -autocdb %(DataDir)slists/blacklist reject
to-file -autocdb %(DataDir)slists/revoked confirm   
from-file -autocdb %(DataDir)slists/whitelist ok    
from-file -autocdb %(DataDir)slists/confirmed ok 
headers 'X-Spam-Status: Yes' confirm
headers 'Received-SPF: pass' ok
headers 'Received-SPF: *' confirm
from * ok
">

Sam
 


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Samuel Hill
Sent: Thursday, June 10, 2004 10:52 AM
To: [EMAIL PROTECTED]
Subject: TMDA-CGI Template Variables


I am working on a way to give different levels of TMDA protections.

For example, the incoming.html gives a way to modify the filter template
directly. Bad for a typical user so what I am trying to do is give
options instead. For example, one would challenge only if it met a
certain spam level, one would challenge all except if in whitelist or
confirmed, etc.

I can give options by re-writing the template but need to know how to
get the users homw directory in a template. For example, in the
incoming.html template there is a %(FilePath)s variable which is defined
in EditFilter.py. On the tmda-cgi page there is also mention of some
embedded variables.

So, my question is how can I call the home directory using a variable in
the template?

Sam

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

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

Reply via email to