Very sorry I was combining filter file syntax with config file syntax. Try
this instead of the include statement:
EXTRA_CONFIG = '/path/to/output-file'
if os.path.exists(EXTRA_CONFIG):
execfile(EXTRA_CONFIG)
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mark Horn
> Sent: Thursday, October 21, 2004 11:06 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Using TMDA to protect my son's email?
>
> On Thu, Oct 21, 2004 at 10:45:43AM -0700, David Grimberg wrote:
> > include -optional /path/to/output-file
>
> What version of TMDA supports the "include" option? I'm getting
> errors:
>
> Uncaught Python 2.3.4 Exception (Thu Oct 21 13:59:56 2004):
> -----------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/bin/tmda-filter", line 53, in ?
> execfile(os.path.join(execdir, 'tmda-rfilter'))
> File "/usr/bin/tmda-rfilter", line 175, in ?
> from TMDA import Defaults
> File "/usr/lib/python2.3/site-packages/TMDA/Defaults.py",
> line 89, in ?
> execfile(TMDARC)
> File "/home/XXXXXXX/.tmda/config", line 63, in ?
> include -optional /path/to/output-file
> NameError: name 'include' is not defined
>
> _____________________________________________
> 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